# Makefile generated by imake - do not edit!
# $XConsortium: imake.c,v 1.65 91/07/25 17:50:17 rws Exp $
#
# The cpp used on this machine replaces all newlines and multiple tabs and
# spaces in a macro expansion with a single space.  Imake tries to compensate
# for this, but is not always successful.
#

# $Id: imake.tmpl,v 1.56 1992/04/05 23:25:42 gk5g Exp $
#==================================================
# Copyright IBM Corporation 1988,1991 - All Rights Reserved
# For full copyright information see:'andrew/config/COPYRITE'
#==================================================

###################################################
# This Makefile is automatically generated by
# imake... do not modify or you may lose your
# changes when imake generates makefiles again.
# Ignore this message if you are not using imake.
###################################################

###################################################
# The following comes from the platform.tmpl
###################################################

#
# The following comes from the macro file
#

        SYSTEM_H_FILE = system.h

        SYS_IDENT = sun4_40
        SYS_OS_ARCH = sun_sparc

#
# The following is from the allsys.mcr file, and may be over-ridden
# by the platform-specific system.mcr file or the
# site-specific site.mcr file.
#

        XBASEDIR =

        XSRCDIR =

        KRBLIB =

        BASEDIR = /vol/andrew5.1
        DESTDIR = ${BASEDIR}

        XBINDIR = /usr/bin/X11

        XUTILDIR = /usr/bin/X11

        CDEBUGFLAGS = -O

        MAKEDODEBUG =

        SHELL = /bin/sh
        CSHELL = /bin/csh
        CC = cc

        MALLOCALIGNMENT = 4

        RESOLVLIB =

        NETLIBS =

        SUPLIBS =

        ADDALIASES = $(BASEDIR)/etc/addalias
        CLASS = ${BASEDIR}/bin/class
        MAKEDO = ${BASEDIR}/bin/makedo
        MAKEDOFLAGS = ${MAKEDODEBUG} -d ${BASEDIR}/lib -b ${BASEDIR}/bin
        DOINDEX = $(BASEDIR)/bin/doindex
        XINCDIR = $(XBASEDIR)/usr/include

        INCLUDES =  -I${BASEDIR}/include/atk -I${BASEDIR}/include -I${XINCDIR}

        CLASSINCLUDES = $(LOCALINCLUDES) $(INCLUDES)
        DEPENDSCRIPT = $(TOP)/config/depend.csh
        XMAKEDEPEND = $(XUTILDIR)/makedepend
        IMAKE = $(XUTILDIR)/imake
        XLIBDIR = $(XBASEDIR)/usr/lib
        OLDXLIB = $(XLIBDIR)/liboldX.a
        IRULESRC = $(TOP)/config
        FDBWM = $(BASEDIR)/bin/fdbwm
        FDBBDF = $(BASEDIR)/bin/fdbbdf

        XFC = $(XBASEDIR)/$(XBINDIR)/bdftosnf

        XMKFONTDIR = $(XBASEDIR)/$(XBINDIR)/mkfontdir
        MACH = and

        TOP = .././../../../../../../../../../../vol/andrew5.1
        AS = as
        CPP = /lib/cpp
        LD = ld
        LINT = lint

        INSTALL = $(BASEDIR)/etc/install

        TAGS = ctags
        RM = rm -f
        MV = mv
        CP = cp
        LN = ln -s
        RANLIB = ranlib
        AR = ar clq
        ARDEL = ar d
        CHMODW = chmod +w
        LS = ls
        AWK = awk
        SORT = sort
        TR = tr
        NM = nm
        MAKE = make
        SED = sed
        LEX = lex
        YACC = yacc
        SCRIBE = scribe
        LINTOPTS = -axz
        LINTLIBFLAG = -C
        STD_DEFINES =

# This MATHLIB macro is a workaround for a bug in HPUX8.0 ld.
# That loader has problems linking normal archive libraries
# into a shared library.  [console/cmd, ness/objects]
# This macro is made empty in the appropriate hp system.mcr
# files.
        MATHLIB = -lm

#
# End of what comes from the allsys.mcr file.
#

        MALLOCALIGNMENT = 8

XBINDIR=/vol/x11/bin
XUTILDIR=/vol/x11/bin
XINCDIR=/vol/x11/include
XLIBDIR=/vol/x11/lib

#
# Back from the macro file
#

###################################################
# Back from platform.tmpl
###################################################

MACROFILE = system.mcr

.SUFFIXES: .PS .do .o .ih .eh .fwm .snf .rtx .c .s .spp .y .l .ch .mss .fdb .bdf .fb .pcf

        ALL_INCLUDES = -I. $(LOCALINCLUDES) $(INCLUDES)
        ALL_DEFINES = $(STD_DEFINES) $(DEFINES)
        CFLAGS = $(COMPILERFLAGS) $(CDEBUGFLAGS) $(ALL_INCLUDES) $(ALL_DEFINES)
        TESTING_CFLAGS = -DTESTINGONLYTESTING $(CFLAGS)
        CLASSFLAGS = $(CLASSINCLUDES)
        LDFLAGS = $(SYS_LIBRARIES) \
	$(SYSAUX_LIBRARIES) \
	$(SHARED_LIB_PATH) \
	$(DYN_LINK_LIB)

INSTMODEFLAGS = -c -m

        INSTUIDFLAGS = $(INSTMODEFLAGS) 4755

        INSTLIBFLAGS = $(INSTMODEFLAGS) 0664
        INSTDOFLAGS = $(INSTMODEFLAGS) 0444

        INSTINCFLAGS = $(INSTMODEFLAGS) 0444
        INSTMANFLAGS = $(INSTMODEFLAGS) 0444
        INSTAPPFLAGS = $(INSTMODEFLAGS) 0444
        INSTPROGFLAGS = $(INSTMODEFLAGS) 0555
        INSTPROGRWFLAGS = $(INSTMODEFLAGS) 0755
        INSTCLASSPROGFLAGS = $(INSTPROGFLAGS)

        AFSUTILS = $(BASEDIR)/lib/libafs.a

        UTILLIB = $(BASEDIR)/lib/libutil.a $(BASEDIR)/lib/libafs.a
        PRSLIB =

        MALLOCLIB = $(BASEDIR)/lib/libmalloc.a

        IMAKE_CMD = $(IMAKE) -Timake.tmpl -I. -I$(IRULESRC) -s Makefile
        DOTDOTIMAKE_CMD = $(IMAKE) -Timake.tmpl -I. -I../$(IRULESRC) -s Makefile

###################################################
# The following comes from andrew.rls
###################################################

SHARED =

MKDOFLGS = $(MAKEDOFLAGS)

ALIASDESTDIR = $(DESTDIR)/help

ASMPP_CC = $(CC) -E
AS_FLAGS =

FONTEXT = snf

FONTEXT = bdf

###################################################
# Back from andrew.rls
###################################################

All:: all
Doc:: doc
doc:: install.doc
Aliases:: aliases
aliases:: install.alias
Install:: install
install:: all install.time doc
system: Install
World:: world
world:: depend install aliases
Tidy:: tidy
Clean:: clean
clean:: tidy

dependInstall:: depend
	make DESTDIR=$(DESTDIR) install

dependAll:: depend
	make DESTDIR=$(DESTDIR) all

depend::
all::

dependInstallClean:: depend install clean

tidy::
	$(RM) \#* ,* *~ *.CKP *.BAK *.bas errs core
	$(RM) *.ln *.o *.dog tags TAGS make.log
clean::
	$(RM) *.do *.eh *.ih *.a *.fwm *.snf *.pcf *.rtx *.fb
	$(RM) install.time install.doc

Makefile:: Imakefile \
	$(IRULESRC)/andyenv.h \
	$(IRULESRC)/imake.tmpl \
	$(IRULESRC)/andrew.rls \
	$(IRULESRC)/allsys.h \
	$(IRULESRC)/allsys.mcr \
	$(IRULESRC)/site.rls \
	$(IRULESRC)/site.h \
	$(IRULESRC)/site.mcr \
	$(IRULESRC)/$(MACROFILE) \
	$(IRULESRC)/$(SYSTEM_H_FILE)
	$(IMAKE_CMD) -DTOPDIR=$(TOP); \
	touch .depends; \
	cat .depends >>Makefile

tags::
	$(TAGS) -w *.[ch]
	$(TAGS) -xw *.[ch] > TAGS

###################################################
# The following comes from the local Imakefile
###################################################

install.alias:: doc do.alias
	@sh -c 'if [ -f ,help.alias ]; then  \
		$(ADDALIASES) ,help.alias \
		$(ALIASDESTDIR)/help.aliases;\
		fi; \
	exit 0'

do.alias::
	@$(RM) ,help.alias

install.time:: htmlview.help
	@(case '$(MFLAGS)' in *[i]*) set +e;; esac; \
	for i in $?; do \
	(set -x; $(INSTALL)  $(INSTINCFLAGS) $$i  $(DESTDIR)/help/$$i) done)

do.alias::
	@(case '$(MFLAGS)' in *[i]*) set +e;; esac; \
	PWD=`pwd`; for i in html; do \
	(set -x; echo "$$i	htmlview	!$$PWD" >> ,help.alias) done)

###################################################
# Back from the local Imakefile
###################################################

Makefiles:: Makefile

install.time::
	touch install.time

install.doc::
	touch install.doc

install.alias::

listdirs:
	@echo ${SUBDIRS}

##### DEPENDENCY LINE - DO NOT DELETE #####

