# Makefile for www gateway utility
# Europagate, 1995
#
-# $Id: Makefile,v 1.38 1996/04/25 10:22:20 adam Exp $
+# $Id: Makefile,v 1.41 1996/06/06 11:10:10 adam Exp $
#
SHELL=/bin/sh
IRTCLINC=-I$(IRTCLDIR)
#MOSILIB=../../xtimosi/src/libmosi.a ../../yaz/lib/librfc.a
-#NETLIB=-lnsl -lsocket
+#ELIB=-lnsl -lsocket
OLIB=../lib/util.a ../lib/libres+log.a
TCLLIB=/usr/local/lib/libtcl7.5.a
TCLINC=
-WSCRIPTS=egwscript targets.egw query.egw search.egw showfull.egw z39util.tcl \
- mtargets.egw mquery.egw msearch.egw history.egw tform.egw tdefine.egw \
- sameas.egw nwi.egw nwiutil.tcl
HSCRIPTS=egwindex.html
CONFFILES=egw.res ztargets.conf
TPROG1=egwcgi
$(TPROG2): $(P2) $(OLIB)
$(CC) $(CFLAGS) -o $(TPROG2) $(P2) $(OLIB) $(IRTCLLIB) \
- $(ZLIB) $(MOSILIB) $(NETLIB) $(TCLLIB) -lm
+ $(ZLIB) $(MOSILIB) $(TCLLIB) $(ELIB)
$(TPROG3): $(P3) $(OLIB)
- $(CC) $(CFLAGS) -o $(TPROG3) $(P3) $(OLIB)
+ $(CC) $(CFLAGS) -o $(TPROG3) $(P3) $(OLIB) $(ELIB)
WAISDIR=../../freeWAIS-sf-2.0
$(TPROG4): $(P4) $(OLIB)
$(CC) $(CFLAGS) -o $(TPROG4) $(P4) \
$(OLIB) $(IRTCLLIB) \
- $(WAISLIB) $(ZLIB) $(MOSILIB) $(NETLIB) $(TCLLIB) -lm
+ $(WAISLIB) $(ZLIB) $(MOSILIB) $(TCLLIB) $(ELIB)
install: install.prog install.script install.gif
echo "Making directory $(HTDOCS)"; \
mkdir $(HTDOCS); \
fi
- @for x in $(WSCRIPTS); do \
+ @for x in *.egw *.tcl; do \
echo Installing $$x; \
cp $$x $(EGWDIR)/$$x; \
done