RM = rm -f
CC = cc

XUTILDIR = /import/X11R4/bin
XMAKEDEPEND = $(XUTILDIR)/makedepend

CDEBUGFLAGS = -g

CFLAGS = $(CDEBUGFLAGS) $(LOCALINCLUDES) $(INCLUDES) $(STD←DEFINES) $(DEFINES)
LDFLAGS = $(LIBPATH)



C←DEPEND←OBJS =   rpc←clntout.o rpc←cout.o rpc←hout.o rpc←main.o rpc←parse.o rpc←scan.o rpc←svcout.o StringHashTable.o rpc←util.o

all: sun4/cedarrpcgen

sun4/cedarrpcgen: cedarrpcgen

cedarrpcgen:   $(C←DEPEND←OBJS)
	$(RM) $@
	$(CC) $(CFLAGS) $(LDFLAGS) -o $@   $(C←DEPEND←OBJS)

install: all
	rm sun4/cedarrpcgen
	cp cedarrpcgen sun4

tidy:
	$(RM) \#* ,* *~ *.CKP *.BAK *.bak *.bas errs core *.o

clean: tidy
	$(RM) cedarrpcgen

C←DEPEND←SOURCES = ${C←DEPEND←OBJS:.o=.c}
depend:: $(C←DEPEND←SOURCES)
	${XMAKEDEPEND} $(LOCALINCLUDES) $(INCLUDES) $(C←DEPEND←SOURCES)

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

# DO NOT DELETE THIS LINE -- make depend depends on it.

rpc←clntout.o: /usr/include/stdio.h /usr/include/strings.h rpc←parse.h
rpc←clntout.o: rpc←util.h StringHashTable.h
rpc←cout.o: /usr/include/stdio.h /usr/include/strings.h rpc←util.h
rpc←cout.o: StringHashTable.h rpc←parse.h
rpc←hout.o: /usr/include/stdio.h /usr/include/ctype.h /usr/include/string.h
rpc←hout.o: /usr/include/sys/stdtypes.h rpc←util.h StringHashTable.h
rpc←hout.o: rpc←parse.h
rpc←main.o: /usr/include/stdio.h /usr/include/strings.h /usr/include/string.h
rpc←main.o: /usr/include/sys/stdtypes.h /usr/include/sys/file.h
rpc←main.o: /usr/include/sys/types.h /usr/include/sys/sysmacros.h
rpc←main.o: /usr/include/sys/fcntlcom.h /usr/include/sys/stat.h rpc←util.h
rpc←main.o: StringHashTable.h rpc←parse.h rpc←scan.h
rpc←parse.o: /usr/include/stdio.h rpc←util.h StringHashTable.h rpc←scan.h
rpc←parse.o: rpc←parse.h
rpc←scan.o: /usr/include/stdio.h /usr/include/ctype.h /usr/include/strings.h
rpc←scan.o: /usr/include/string.h /usr/include/sys/stdtypes.h rpc←scan.h
rpc←scan.o: rpc←util.h StringHashTable.h
rpc←svcout.o: /usr/include/stdio.h /usr/include/strings.h rpc←parse.h
rpc←svcout.o: rpc←util.h StringHashTable.h
StringHashTable.o: StringHashTable.h
rpc←util.o: /usr/include/stdio.h /usr/include/string.h
rpc←util.o: /usr/include/sys/stdtypes.h rpc←scan.h rpc←parse.h rpc←util.h
rpc←util.o: StringHashTable.h