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

DIFFS=Makefile.install Makefile.parlog Makefile.prolog Makefile.sed \
	Makefile.subdir inst-services.perl icp.sed mbx_server.sed icp-services
TARGET=icp.sed mbx_server.sed mkdirhier icp-services inst-services.perl

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

makefiles::

depend::

clean::
	rm -f Makefile Makefile Makefile.incl

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