projects
/
egate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor changes.
[egate.git]
/
www
/
Makefile
diff --git
a/www/Makefile
b/www/Makefile
index
f737871
..
2512b12
100644
(file)
--- a/
www/Makefile
+++ b/
www/Makefile
@@
-1,14
+1,14
@@
# Makefile for www gateway utility
# Europagate, 1995
#
# Makefile for www gateway utility
# Europagate, 1995
#
-# $Id: Makefile,v 1.24 1996/01/24 10:13:56 adam Exp $
+# $Id: Makefile,v 1.28 1996/01/31 16:01:45 adam Exp $
#
SHELL=/bin/sh
#
ZDEFS=
ZINC=-I../../yaz/include
ZLIB=../../yaz/lib/libyaz.a
#
SHELL=/bin/sh
#
ZDEFS=
ZINC=-I../../yaz/include
ZLIB=../../yaz/lib/libyaz.a
-#MOSILIB=../../xtimosi/src/libmosi.a -lrfc
+MOSILIB=../../xtimosi/src/libmosi.a -lrfc
LIBIRTCL=../../ir-tcl/libirtcl.a $(ZLIB) $(MOSILIB)
#NETLIB=-lnsl -lsocket
#
LIBIRTCL=../../ir-tcl/libirtcl.a $(ZLIB) $(MOSILIB)
#NETLIB=-lnsl -lsocket
#
@@
-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 \
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
HSCRIPTS=egwindex.html
CONFFILES=ztargets.conf
TPROG1=egwcgi
@@
-48,19
+48,23
@@
DEFS=$(INCLUDE) $(ZDEFS) -DCGIDIR=\"$(CGIDIR)\" -DEGWDIR=\"$(EGWDIR)\" \
all: $(TPROG1) $(TPROG2)
all: $(TPROG1) $(TPROG2)
-$(TPROG1): $(P1)
+$(TPROG1): $(P1) $(OLIB)
$(CC) $(CFLAGS) -o $(TPROG1) $(P1) $(OLIB) $(ZLIB)
$(CC) $(CFLAGS) -o $(TPROG1) $(P1) $(OLIB) $(ZLIB)
-$(TPROG2): $(P2)
+$(TPROG2): $(P2) $(OLIB)
$(CC) $(CFLAGS) -o $(TPROG2) $(P2) $(OLIB) $(LIBIRTCL) \
$(NETLIB) $(TCLLIB) -lm
$(CC) $(CFLAGS) -o $(TPROG2) $(P2) $(OLIB) $(LIBIRTCL) \
$(NETLIB) $(TCLLIB) -lm
-$(TPROG3): $(P3)
+$(TPROG3): $(P3) $(OLIB)
$(CC) $(CFLAGS) -o $(TPROG3) $(P3) $(OLIB) $(ZLIB)
$(CC) $(CFLAGS) -o $(TPROG3) $(P3) $(OLIB) $(ZLIB)
-install: install.prog install.script
+install: install.prog install.script install.gif
install.prog: $(TPROG1) $(TPROG2)
install.prog: $(TPROG1) $(TPROG2)
+ @if [ ! -d $(CGIDIR) ]; then \
+ echo "Making directory $(CGIDIR)"; \
+ mkdir $(CGIDIR); \
+ fi
@for x in $(TPROG1) $(TPROG2); do \
echo Installing $$x; \
cp $$x $(CGIDIR); \
@for x in $(TPROG1) $(TPROG2); do \
echo Installing $$x; \
cp $$x $(CGIDIR); \
@@
-76,6
+80,10
@@
install.script:
echo "Making directory $(EGWDIR)"; \
mkdir $(EGWDIR); \
fi
echo "Making directory $(EGWDIR)"; \
mkdir $(EGWDIR); \
fi
+ @if [ ! -d $(HTDOCS); then \
+ echo "Making directory $(HTDOCS)"; \
+ mkdir $(HTDOCS); \
+ fi
@for x in $(WSCRIPTS); do \
echo Installing $$x; \
cp $$x $(EGWDIR)/$$x; \
@for x in $(WSCRIPTS); do \
echo Installing $$x; \
cp $$x $(EGWDIR)/$$x; \
@@
-88,6
+96,8
@@
install.script:
echo Installing $$x; \
cp $$x $(EGWDIR); \
done
echo Installing $$x; \
cp $$x $(EGWDIR); \
done
+
+install.gif:
@if [ ! -d $(GIFDIR) ]; then \
echo "Making directory $(GIFDIR)"; \
mkdir $(GIFDIR); \
@if [ ! -d $(GIFDIR) ]; then \
echo "Making directory $(GIFDIR)"; \
mkdir $(GIFDIR); \