# Makefile generated by imake - do not edit!
# $XConsortium: imake.c,v 1.51 89/12/12 12:37:30 jim 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.50 1991/10/02 20:36:52 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←41
        SYS←OS←ARCH = sun←sparc←41

#
# 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 = /import/andrew-r5
        DESTDIR = ${BASEDIR}

        XUTILDIR = /usr/local/bin

        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/X11

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

        CLASSINCLUDES = ${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)/usr/bin/X11/bdftosnf

        XMKFONTDIR = $(XBASEDIR)/usr/bin/X11/mkfontdir
        MACH = and

        TOP = /import/andrew-r5
        AS = as
        CPP = /lib/cpp
        LD = ld
        LINT = lint

        INSTALL = 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 =

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

        MALLOCALIGNMENT = 8

        PICFLAG = -pic

        SHLIBLDFLAGS = -assert pure-text

#
# 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 = /import/X11R4
        XUTILDIR = /import/X11R4/bin

        BASEDIR = /import/andrew-r5

        CDEBUGFLAGS = -g

        MAKEDODEBUG = -g

        MALLOCALIGNMENT = 8

        RESOLVLIB = /usr/lib/libresolv.a

        INSTALL = /import/misc/bin/safe-install

#
# 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)
        INSTUIDFLAGS = -c -m 4755

        INSTLIBFLAGS = -c -m 0664
        INSTDOFLAGS = -c -m 0444

        INSTINCFLAGS = -c -m 0444
        INSTMANFLAGS = -c -m 0444
        INSTAPPFLAGS = -c -m 0444
        INSTPROGFLAGS = -c -m 0555
        INSTPROGRWFLAGS = -c -m 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 = sharedir

MKDOFLGS = $(MAKEDOFLAGS) -s

ALIASDESTDIR = $(DESTDIR)/help

ASMPP←CC = $(CC) -E
AS←FLAGS =

CC←LINK = -ldl

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
###################################################

DOBJS = tiogatxt.do
IHFILES = tiogatxt.ih

DIRS = $(DESTDIR)/doc \
	$(DESTDIR)/doc/atk \
	$(DESTDIR)/doc/atk/examples

OTHEROBJS=tioga.o tread.o

tread.o: tread.h tioga.h
tioga.o: tread.h tioga.h

all:: $(SHARED)
.c.o:
	$(RM) $@
	$(CC) $(PICFLAG) -c $(CFLAGS) $*.c
	$(MV) $*.o shared/$*.o
	$(CC) -c $(CFLAGS) $*.c

all:: $(SHARED) $(IHFILES) $(DOBJS)

.ch.ih: ; $(CLASS) -s $(CLASSFLAGS) $*.ch
.ch.eh: ; $(CLASS) -s $(CLASSFLAGS) $*.ch
.o.do:
	$(MAKEDO) $(MKDOFLGS) -o $*.do $*.o
	$(DOINDEX) $*.do
.c.do:
	$(RM) $*.do
	$(CC) -c $(CFLAGS) $*.c
	$(MAKEDO) $(MKDOFLGS) -o $*.do $*.o
	$(DOINDEX) $*.do

all:: tiogatxt.do
tiogatxt.do: tiogatxt.o $(OTHEROBJS)
	$(MAKEDO) $(MKDOFLGS) -o tiogatxt.do tiogatxt.o $(OTHEROBJS)
	$(DOINDEX) tiogatxt.do

depend::
	$(DEPENDSCRIPT) $(XMAKEDEPEND) $(CLASS) \
	"$(ALL←INCLUDES)" "$(ALL←DEFINES)"

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

sharedir::
	@if [ ! -d shared ]; then \
	mkdir shared ; \
	else \
	exit 0 ; \
	fi
tidy::
	@if [ -d shared ]; then \
	$(RM) shared/?*.o; \
	else \
	exit 0; \
	fi

Makefiles:: Makefile

install.time::
	touch install.time

install.doc::
	touch install.doc

install.alias::

##### DEPENDENCY LINE - DO NOT DELETE #####
tiogatxt.ih tiogatxt.eh: /import/andrew-r5/include/atk/text.ch 
tiogatxt.ih tiogatxt.eh: /import/andrew-r5/include/atk/smpltext.ch 
tiogatxt.ih tiogatxt.eh: /import/andrew-r5/include/atk/dataobj.ch 
tiogatxt.ih tiogatxt.eh: /import/andrew-r5/include/atk/observe.ch 
tiogatxt.ih tiogatxt.eh: /import/andrew-r5/include/class.h 
tiogatxt.ih tiogatxt.eh: tiogatxt.ch 


tioga.o: /usr/include/stdio.h
tioga.o: /usr/include/sys/types.h
tioga.o: /usr/include/sys/stdtypes.h
tioga.o: /usr/include/sys/sysmacros.h
tioga.o: /usr/include/sys/stat.h
tioga.o: tioga.h
tioga.o: tread.h
tiogatxt.o: /usr/include/stdio.h
tiogatxt.o: /import/andrew-r5/include/class.h
tiogatxt.o: /import/andrew-r5/include/atk/style.ih
tiogatxt.o: /import/andrew-r5/include/atk/envrment.ih
tiogatxt.o: /import/andrew-r5/include/atk/nstdmark.ih
tiogatxt.o: /import/andrew-r5/include/atk/stylesht.ih
tiogatxt.o: /import/andrew-r5/include/atk/observe.ih
tiogatxt.o: tiogatxt.eh
tiogatxt.o: /import/andrew-r5/include/atk/text.ih
tiogatxt.o: /import/andrew-r5/include/atk/smpltext.ih
tiogatxt.o: /import/andrew-r5/include/atk/mark.ih
tiogatxt.o: /import/andrew-r5/include/atk/dataobj.ih
tiogatxt.o: /import/andrew-r5/include/atk/atom.ih
tiogatxt.o: /import/andrew-r5/include/atk/namespc.ih
tiogatxt.o: tioga.h
tiogatxt.o: tread.h
tread.o: /usr/include/stdio.h
tread.o: /usr/include/ctype.h
tread.o: tioga.h
tread.o: tread.h