X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=www%2FMakefile;h=e2efd2b062c022e1e08566644ddca3c03abeb6c0;hb=a6f3beb071fe8c894ee6c846c86296c84f48e3d4;hp=4420d24dc8845844b78e6eca72f0cd9bda390785;hpb=f37ddd57014f51c88ef36050ed08b4c6e226e094;p=egate.git diff --git a/www/Makefile b/www/Makefile index 4420d24..e2efd2b 100644 --- a/www/Makefile +++ b/www/Makefile @@ -2,7 +2,18 @@ # Europagate, 1995 # # $Log: Makefile,v $ -# Revision 1.2 1995/10/20 14:02:40 adam +# 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. +# +# Revision 1.4 1995/10/23 17:04:16 adam +# Added some initial z39 gateway scripts. +# +# Revision 1.3 1995/10/23 16:55:33 adam +# A lot of changes - really. +# +# Revision 1.2 1995/10/20 14:02:40 adam # First version of WWW gateway with embedded Tcl. # # Revision 1.1 1995/10/20 11:49:24 adam @@ -10,16 +21,22 @@ # SHELL=/bin/sh INCLUDE=-I../include +# +MOSILIB=../../xtimosi/src/libmosi.a ../../yaz/lib/librfc.a +LIBIRTCL=/usr/local/lib/libirtcl.a ../../yaz/lib/libyaz.a $(MOSILIB) +# #CFLAGS=-g -Wall -pedantic -ansi OLIB=../lib/libres+log.a -TCLLIB=/usr/local/lib/libtcl7.5.a -WSCRIPTS=egwscript +TCLLIB=/usr/local/lib/libtcl7.4.a +WSCRIPTS=egwscript targets.egw query.egw search.egw HSCRIPTS=egwindex.html +CONFFILES=ztargets.conf +GIFFILES=webgate.gif TPROG1=egwcgi TPROG2=egwsh TPROG3=wtest P1=wcgi.o -P2=wproto.o winterp.o wsh.o wtcl.o whtml.o +P2=wproto.o winterp.o wsh.o wtcl.o whtml.o wirtcl.o P3=wproto.o wtest.o CPP=$(CC) -E DEFS=$(INCLUDE) @@ -27,6 +44,8 @@ DEFS=$(INCLUDE) HTTPDDIR=/usr/local/etc/httpd CGIBIN=$(HTTPDDIR)/cgi-bin HTDOCS=$(HTTPDDIR)/htdocs +CONFDIR=$(HTTPDDIR)/conf +GIFDIR=$(HTDOCS)/gif all: $(TPROG1) $(TPROG2) @@ -34,7 +53,7 @@ $(TPROG1): $(P1) $(CC) $(CFLAGS) -o $(TPROG1) $(P1) $(OLIB) $(TPROG2): $(P2) - $(CC) $(CFLAGS) -o $(TPROG2) $(P2) $(OLIB) $(TCLLIB) -lm + $(CC) $(CFLAGS) -o $(TPROG2) $(P2) $(OLIB) $(LIBIRTCL) $(TCLLIB) -lm $(TPROG3): $(P3) $(CC) $(CFLAGS) -o $(TPROG3) $(P3) $(OLIB) @@ -44,7 +63,10 @@ install: $(TPROG1) $(TPROG2) echo Installing $$x; \ cp $$x $(CGIBIN); \ chmod +x $(CGIBIN)/$$x; \ - done + done; \ + ln -f $(CGIBIN)/$(TPROG2) $(CGIBIN)/egwtcl; \ + ln -f $(CGIBIN)/$(TPROG2) $(CGIBIN)/egwirtcl; \ + ln -f $(CGIBIN)/$(TPROG2) $(CGIBIN)/egwhtml @for x in $(WSCRIPTS); do \ echo Installing $$x; \ cp $$x $(CGIBIN); \ @@ -53,6 +75,14 @@ install: $(TPROG1) $(TPROG2) echo Installing $$x; \ cp $$x $(HTDOCS); \ done + @for x in $(CONFFILES); do \ + echo Installing $$x; \ + cp $$x $(CONFDIR); \ + done + @for x in $(GIFFILES); do \ + echo Installing $$x; \ + cp $$x $(GIFDIR); \ + done .c.o: $(CC) -c $(DEFS) $(CFLAGS) $<