X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=www%2FMakefile;h=a9fe4747718b57e97f51c3356c8da62bcc8fe8ea;hb=94e0e8ff10cdb5142f983cd76156310461f9eb89;hp=e2efd2b062c022e1e08566644ddca3c03abeb6c0;hpb=a6f3beb071fe8c894ee6c846c86296c84f48e3d4;p=egate.git diff --git a/www/Makefile b/www/Makefile index e2efd2b..a9fe474 100644 --- a/www/Makefile +++ b/www/Makefile @@ -2,7 +2,21 @@ # Europagate, 1995 # # $Log: Makefile,v $ -# Revision 1.5 1995/10/27 15:12:02 adam +# Revision 1.9 1995/11/06 17:44:20 adam +# State reestablised when shell restarts. History of previous +# result sets. +# +# Revision 1.8 1995/11/06 10:51:14 adam +# End of response marker in response from wsh/wproto to wcgi. +# Shells are respawned when necessary. +# +# Revision 1.7 1995/10/31 16:56:23 adam +# Record presentation. +# +# Revision 1.6 1995/10/27 17:30:15 adam +# First search request/response that works. +# +# Revision 1.5 1995/10/27 15:12:02 adam # IrTcl incorporated in the gateway. # Better separation of script types. # Z39.50 gateway scripts entered. @@ -20,15 +34,17 @@ # First version of www gateway. # SHELL=/bin/sh -INCLUDE=-I../include # +ZDEFS= +ZINC=-I../../yaz/include +ZLIB=../../yaz/lib/libyaz.a MOSILIB=../../xtimosi/src/libmosi.a ../../yaz/lib/librfc.a -LIBIRTCL=/usr/local/lib/libirtcl.a ../../yaz/lib/libyaz.a $(MOSILIB) +LIBIRTCL=/usr/local/lib/libirtcl.a $(ZLIB) $(MOSILIB) # -#CFLAGS=-g -Wall -pedantic -ansi -OLIB=../lib/libres+log.a +OLIB=../lib/util.a ../lib/libres+log.a TCLLIB=/usr/local/lib/libtcl7.4.a -WSCRIPTS=egwscript targets.egw query.egw search.egw +# +WSCRIPTS=egwscript targets.egw query.egw search.egw showfull.egw z39util.tcl HSCRIPTS=egwindex.html CONFFILES=ztargets.conf GIFFILES=webgate.gif @@ -39,7 +55,9 @@ P1=wcgi.o P2=wproto.o winterp.o wsh.o wtcl.o whtml.o wirtcl.o P3=wproto.o wtest.o CPP=$(CC) -E -DEFS=$(INCLUDE) +# +INCLUDE=-I../include $(ZINC) +DEFS=$(INCLUDE) $(ZDEFS) HTTPDDIR=/usr/local/etc/httpd CGIBIN=$(HTTPDDIR)/cgi-bin @@ -58,7 +76,9 @@ $(TPROG2): $(P2) $(TPROG3): $(P3) $(CC) $(CFLAGS) -o $(TPROG3) $(P3) $(OLIB) -install: $(TPROG1) $(TPROG2) +install: install.prog install.script + +install.prog: $(TPROG1) $(TPROG2) @for x in $(TPROG1) $(TPROG2); do \ echo Installing $$x; \ cp $$x $(CGIBIN); \ @@ -67,6 +87,8 @@ install: $(TPROG1) $(TPROG2) ln -f $(CGIBIN)/$(TPROG2) $(CGIBIN)/egwtcl; \ ln -f $(CGIBIN)/$(TPROG2) $(CGIBIN)/egwirtcl; \ ln -f $(CGIBIN)/$(TPROG2) $(CGIBIN)/egwhtml + +install.script: @for x in $(WSCRIPTS); do \ echo Installing $$x; \ cp $$x $(CGIBIN); \