# Makefile for www gateway utility
# Europagate, 1995
#
-# $Id: Makefile,v 1.23 1996/01/09 17:14:34 adam Exp $
+# $Id: Makefile,v 1.27 1996/01/26 15:50:06 adam Exp $
#
SHELL=/bin/sh
#
TCLINC=-I/usr/local/include
#
WSCRIPTS=egwscript targets.egw query.egw search.egw showfull.egw z39util.tcl \
- mtargets.egw mquery.egw msearch.egw history.egw
+ mtargets.egw mquery.egw msearch.egw history.egw tform.egw tdefine.egw
HSCRIPTS=egwindex.html
CONFFILES=ztargets.conf
TPROG1=egwcgi
all: $(TPROG1) $(TPROG2)
-$(TPROG1): $(P1)
- $(CC) $(CFLAGS) -o $(TPROG1) $(P1) $(OLIB)
+$(TPROG1): $(P1) $(OLIB)
+ $(CC) $(CFLAGS) -o $(TPROG1) $(P1) $(OLIB) $(ZLIB)
-$(TPROG2): $(P2)
+$(TPROG2): $(P2) $(OLIB)
$(CC) $(CFLAGS) -o $(TPROG2) $(P2) $(OLIB) $(LIBIRTCL) \
$(NETLIB) $(TCLLIB) -lm
-$(TPROG3): $(P3)
- $(CC) $(CFLAGS) -o $(TPROG3) $(P3) $(OLIB)
+$(TPROG3): $(P3) $(OLIB)
+ $(CC) $(CFLAGS) -o $(TPROG3) $(P3) $(OLIB) $(ZLIB)
-install: install.prog install.script
+install: install.prog install.script install.gif
install.prog: $(TPROG1) $(TPROG2)
@for x in $(TPROG1) $(TPROG2); do \
echo Installing $$x; \
cp $$x $(EGWDIR); \
done
+
+install.gif:
@if [ ! -d $(GIFDIR) ]; then \
echo "Making directory $(GIFDIR)"; \
mkdir $(GIFDIR); \