Previus/next scan buttons in scan.
[egate.git] / www / Makefile
index beb9aeb..83a69fb 100644 (file)
@@ -2,7 +2,36 @@
 # Europagate, 1995
 #
 # $Log: Makefile,v $
-# Revision 1.11  1995/11/07 14:56:58  adam
+# Revision 1.19  1996/01/02 10:52:25  adam
+# In images Alt=... are defined.
+#
+# Revision 1.18  1995/12/20  16:31:30  adam
+# Bug fix: shell might terminate even though new request was initiated
+# by the cgi interface program.
+# Work on more simple user interface and Europagate buttons.
+#
+# Revision 1.17  1995/11/14  16:31:35  adam
+# Temporary remove of ccl entry.
+#
+# Revision 1.16  1995/11/14  16:01:50  adam
+# Bug fix: didn't use correct database(s) when 'all' checkbox was selected.
+#
+# Revision 1.15  1995/11/13  18:17:46  adam
+# Better error handling.
+#
+# Revision 1.14  1995/11/13  15:41:40  adam
+# Arrow gifs.
+# Gateway uses record element set names B(rief) and F(ull).
+# Bug fix. Didn't save idAuthentication correctly.
+#
+# 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.
 SHELL=/bin/sh
 #
 ZDEFS=
-ZINC=-I../../yaz/include
-ZLIB=../../yaz/lib/libyaz.a
-MOSILIB=../../xtimosi/src/libmosi.a ../../yaz/lib/librfc.a
+#ZINC=-I../../yaz/include
+ZLIB=-lyaz
+MOSILIB=../../xtimosi/src/libmosi.a -lrfc
 LIBIRTCL=/usr/local/lib/libirtcl.a $(ZLIB) $(MOSILIB)
+#NETLIB=-lnsl -lsocket
 #
 OLIB=../lib/util.a ../lib/libres+log.a 
 TCLLIB=/usr/local/lib/libtcl7.4.a
@@ -56,7 +86,6 @@ WSCRIPTS=egwscript targets.egw query.egw search.egw showfull.egw z39util.tcl \
  mtargets.egw mquery.egw msearch.egw
 HSCRIPTS=egwindex.html
 CONFFILES=ztargets.conf
-GIFFILES=webgate.gif
 TPROG1=egwcgi
 TPROG2=egwsh
 TPROG3=wtest
@@ -80,7 +109,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)
@@ -93,9 +123,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 \
@@ -110,7 +141,7 @@ install.script:
                echo Installing $$x; \
                cp $$x $(CONFDIR); \
        done
-       @for x in $(GIFFILES); do \
+       @for x in gif/*.gif; do \
                echo Installing $$x; \
                cp $$x $(GIFDIR); \
        done