#   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		= fd_events.o prolog_iface.o parlog_iface.o
CPPFLAGS	= -I../prolog -I../parlog -DHERMES
TARGET		= libfd_events.a
DIFFS		= *.[ch]

all:: $(TARGET)

makefiles::

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

clean::
	$(RM_CMD) $(TARGET) $(OBJECTS)

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

$(TARGET) : $(OBJECTS)
	$(AR_CMD) $(TARGET) $?
	$(RANLIB) $(TARGET)

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

fd_events.o: /usr/include/stdio.h /usr/include/fcntl.h
fd_events.o: /usr/include/sys/fcntlcom.h /usr/include/sys/stdtypes.h
fd_events.o: /usr/include/sys/stat.h /usr/include/sys/types.h
fd_events.o: /usr/include/sys/sysmacros.h /usr/include/signal.h
fd_events.o: /usr/include/sys/signal.h /usr/include/vm/faultcode.h
fd_events.o: /usr/local/lib/gcc-include/limits.h /usr/include/sys/socket.h
fd_events.o: /usr/local/lib/gcc-include/sys/sockio.h
fd_events.o: /usr/local/lib/gcc-include/sys/ioccom.h /usr/include/sys/times.h
fd_events.o: /usr/include/sys/time.h /usr/include/sys/time.h
fd_events.o: /usr/include/sys/resource.h fd_events.h
parlog_iface.o: ../parlog/ret.h ../parlog/objs.h ../parlog/macros.h
parlog_iface.o: ../parlog/instr.h ../parlog/proc.h fd_events.h
parlog_iface.o: /usr/local/lib/gcc-include/limits.h
prolog_iface.o: /usr/local/lib/gcc-include/limits.h ../prolog/primitives.h
prolog_iface.o: ../prolog/icp.h /usr/include/stdio.h /usr/include/signal.h
prolog_iface.o: /usr/include/sys/signal.h /usr/include/vm/faultcode.h
prolog_iface.o: /usr/include/setjmp.h /usr/include/string.h
prolog_iface.o: /usr/include/sys/stdtypes.h /usr/include/math.h
prolog_iface.o: /usr/include/floatingpoint.h /usr/include/sys/ieeefp.h
prolog_iface.o: ../prolog/io.h fd_events.h
