Readable detailed presentation format as well as raw format.
[egate.git] / www / Makefile
index 781e430..4274f14 100644 (file)
@@ -2,7 +2,19 @@
 # Europagate, 1995
 #
 # $Log: Makefile,v $
-# Revision 1.10  1995/11/07 10:44:29  adam
+# Revision 1.13  1995/11/08 18:07:22  adam
+# Minor changes.
+#
+# Revision 1.12  1995/11/08  16:14:32  adam
+# Many improvements and bug fixes.
+# First version that ran on dtbsun.
+#
+# Revision 1.11  1995/11/07  14:56:58  adam
+# Work on search in multiple targets.
+# New wtcl command: wlog.
+# Optional timeout parameter to zwait.
+#
+# Revision 1.10  1995/11/07  10:44:29  adam
 # Work on search in multiple targets.
 #
 # Revision 1.9  1995/11/06  17:44:20  adam
@@ -48,7 +60,7 @@ OLIB=../lib/util.a ../lib/libres+log.a
 TCLLIB=/usr/local/lib/libtcl7.4.a
 #
 WSCRIPTS=egwscript targets.egw query.egw search.egw showfull.egw z39util.tcl \
- mtargets.egw
+ mtargets.egw mquery.egw msearch.egw
 HSCRIPTS=egwindex.html
 CONFFILES=ztargets.conf
 GIFFILES=webgate.gif
@@ -75,7 +87,8 @@ $(TPROG1): $(P1)
        $(CC) $(CFLAGS) -o $(TPROG1) $(P1) $(OLIB)
 
 $(TPROG2): $(P2)
-       $(CC) $(CFLAGS) -o $(TPROG2) $(P2) $(OLIB) $(LIBIRTCL) $(TCLLIB) -lm
+       $(CC) $(CFLAGS) -o $(TPROG2) $(P2) $(OLIB) $(LIBIRTCL) \
+               $(NETLIB) $(TCLLIB) -lm
 
 $(TPROG3): $(P3)
        $(CC) $(CFLAGS) -o $(TPROG3) $(P3) $(OLIB)
@@ -88,9 +101,10 @@ install.prog: $(TPROG1) $(TPROG2)
                cp $$x $(CGIBIN); \
                chmod +x $(CGIBIN)/$$x; \
        done; \
-       ln -f $(CGIBIN)/$(TPROG2) $(CGIBIN)/egwtcl; \
-       ln -f $(CGIBIN)/$(TPROG2) $(CGIBIN)/egwirtcl; \
-       ln -f $(CGIBIN)/$(TPROG2) $(CGIBIN)/egwhtml
+       for p in egwtcl egwirtcl egwhtml; do \
+               rm -f $(CGIBIN)/$$p; \
+               ln $(CGIBIN)/$(TPROG2) $(CGIBIN)/$$p; \
+       done
 
 install.script:
        @for x in $(WSCRIPTS); do \