Work on HTML3 detection. Tables are used to display history.
[egate.git] / www / Makefile
index 568be3c..0fecbb5 100644 (file)
@@ -1,7 +1,7 @@
 # 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
 #
@@ -17,7 +17,7 @@ TCLLIB=/usr/local/lib/libtcl7.4.a
 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
@@ -48,17 +48,17 @@ DEFS=$(INCLUDE) $(ZDEFS) -DCGIDIR=\"$(CGIDIR)\" -DEGWDIR=\"$(EGWDIR)\" \
 
 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 \
@@ -88,6 +88,8 @@ install.script:
                echo Installing $$x; \
                cp $$x $(EGWDIR); \
        done
+
+install.gif:
        @if [ ! -d $(GIFDIR) ]; then \
                echo "Making directory $(GIFDIR)"; \
                mkdir $(GIFDIR); \