#   IC-Prolog ][
#
#   Makefile for building IC-Prolog ][ executable
#
#   Created by Yannis Cosmadopoulos
#   20 November, 1992









# ---------------------- start of global definitions -------------------------

####################################################################
# Do not edit this section.  To make changes, go to TOPDIR/install #
# and edit the Makefile.sed in that directory.  Then do            #
#        make makefiles                                            #
####################################################################


CC      	= gcc
CFLAGS  	= -O2
LDFLAGS 	= -static

PARLOG_CPP1	= 

HEAPSIZE	= 0xc000L
STACKSIZE	= 0x4000L

RM		= /usr/bin/rm -f
RM_CMD		= /usr/bin/rm -f core .make* .nse_depinfo
M4		= /usr/bin/m4
SED		= /usr/bin/sed
CUT		= /usr/bin/cut
CHMOD		= /usr/bin/chmod
INSTALL		= /usr/bin/install
INSTBINFLAGS	= -m 0775
INSTLIBFLAGS	= -m 0664
LN		= /usr/bin/ln
TAR		= /usr/bin/tar
AR_CMD		= /usr/bin/ar ruv
RANLIB		= /usr/bin/ranlib
MAKEDEPEND	= /usr/bin/X11/makedepend

TEX		= tex
LATEX		= latex
TEXINDEX	= texindex
MAKEINFO	= makeinfo

# The following definitions are used for building the system.
# You may ignore these if you are installing only.
CURRENT_DIR	= .
TOPDIR		= /a/laotzu/home/laotzu/visitor/imagine/ic-prolog/ICP-0.95
RUNTIME		= /a/laotzu/home/laotzu/visitor/imagine/ic-prolog/ICP-0.95/runtime

COMPDIR		= /a/laotzu/home/laotzu/visitor/imagine/ic-prolog/ICP-0.95

PROLOG		= /a/laotzu/home/laotzu/visitor/imagine/ic-prolog/ICP-0.95/sun3/icp
MKDIRH		= /a/laotzu/home/laotzu/visitor/imagine/ic-prolog/ICP-0.95/install/mkdirhier

# ----------------------- end of global definitions --------------------------


OBJECTS	= tcp_parlog.o
CPPFLAGS= -I../prolog -I../parlog -I../fd_events -DFULL_REPORT_ERROR -DHERMES
DIFFS	= *.[ch]

all:: $(OBJECTS)
	@$(MKDIRH) $(RUNTIME)/prolog/sun3 ; for i in $(OBJECTS) ; do (set -x; $(RM) $(RUNTIME)/prolog/sun3/$$i ; $(LN) $$i $(RUNTIME)/prolog/sun3/$$i;) done

makefiles::

depend::
	$(MAKEDEPEND) -- $(CFLAGS) $(CPPFLAGS) -- *.c

diffs::
	-@echo "---------------------------src/tcp"; for i in Makefile.m4 $(DIFFS); do echo $$i; diff $$i $(COMPDIR)/src/tcp; done

clean::
	$(RM_CMD) $(OBJECTS)

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

tcp_parlog.o: ../parlog/objs.h ../parlog/ret.h ../parlog/instr.h
tcp_parlog.o: ../parlog/macros.h ../prolog/tcp.h /usr/include/arpa/inet.h
tcp_parlog.o: /usr/include/sys/types.h /usr/include/sys/stdtypes.h
tcp_parlog.o: /usr/include/sys/sysmacros.h /usr/include/sys/times.h
tcp_parlog.o: /usr/include/sys/time.h /usr/include/sys/time.h
tcp_parlog.o: /usr/include/sys/socket.h /usr/include/sys/ioctl.h
tcp_parlog.o: /usr/local/lib/gcc-include/sys/ttychars.h
tcp_parlog.o: /usr/include/sys/ttydev.h
tcp_parlog.o: /usr/local/lib/gcc-include/sys/ttold.h
tcp_parlog.o: /usr/local/lib/gcc-include/sys/ioccom.h
tcp_parlog.o: /usr/local/lib/gcc-include/sys/ttycom.h
tcp_parlog.o: /usr/local/lib/gcc-include/sys/filio.h
tcp_parlog.o: /usr/local/lib/gcc-include/sys/sockio.h
tcp_parlog.o: /usr/include/netinet/in.h /usr/include/net/if.h
tcp_parlog.o: /usr/include/unistd.h /usr/include/stdio.h /usr/include/fcntl.h
tcp_parlog.o: /usr/include/sys/fcntlcom.h /usr/include/sys/stat.h
tcp_parlog.o: /usr/include/errno.h /usr/include/sys/errno.h
tcp_parlog.o: /usr/include/netdb.h /usr/include/setjmp.h
