#   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		= /home/laotzu/visitor/imagine/ic-prolog/ICP-0.97
RUNTIME		= /home/laotzu/visitor/imagine/ic-prolog/ICP-0.97/runtime

COMPDIR		= /home/laotzu/visitor/imagine/ic-prolog/ICP-0.97

PROLOG		= /home/laotzu/visitor/imagine/ic-prolog/ICP-0.97/sun4/icp
MKDIRH		= /home/laotzu/visitor/imagine/ic-prolog/ICP-0.97/install/mkdirhier

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


CPPFLAGS	= -I../prolog

OBJECTS		= pl-pce.o pl-itf.o genalloca.o

DIFFS		= *.[ch]

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

makefiles::

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

clean::
	$(RM_CMD) $(OBJECTS)

diffs::
	-@echo "---------------------------src/xpce"; for i in Makefile.m4 $(DIFFS); do echo $$i; diff $$i $(COMPDIR)/src/xpce; done
# DO NOT DELETE THIS LINE -- make depend depends on it.

pl-itf.o: /usr/include/varargs.h ../prolog/primitives.h ../prolog/icp.h
pl-itf.o: /usr/include/stdio.h /usr/include/signal.h
pl-itf.o: /usr/include/sys/signal.h /usr/include/vm/faultcode.h
pl-itf.o: /usr/include/setjmp.h /usr/include/string.h
pl-itf.o: /usr/include/sys/stdtypes.h /usr/include/math.h
pl-itf.o: /usr/include/floatingpoint.h /usr/include/sys/ieeefp.h
pl-itf.o: ../prolog/io.h pl-itf.h /usr/include/sys/ioctl.h
pl-itf.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
pl-itf.o: /usr/include/sys/ttold.h /usr/include/sys/ioccom.h
pl-itf.o: /usr/include/sys/ttycom.h /usr/include/sys/filio.h
pl-itf.o: /usr/include/sys/sockio.h
pl-pce.o: /usr/include/stdio.h /usr/include/assert.h /usr/include/varargs.h
pl-pce.o: ../prolog/ICprolog.h ../prolog/primitives.h ../prolog/icp.h
pl-pce.o: /usr/include/signal.h /usr/include/sys/signal.h
pl-pce.o: /usr/include/vm/faultcode.h /usr/include/setjmp.h
pl-pce.o: /usr/include/string.h /usr/include/sys/stdtypes.h
pl-pce.o: /usr/include/math.h /usr/include/floatingpoint.h
pl-pce.o: /usr/include/sys/ieeefp.h ../prolog/io.h pl-itf.h itf-interface.h
pl-pce.o: /usr/include/sys/types.h /usr/include/sys/sysmacros.h
