# Makefile for www gateway utility
# Europagate, 1995
#
-# $Id: Makefile,v 1.32 1996/02/29 15:41:38 adam Exp $
+# $Id: Makefile,v 1.34 1996/03/07 12:46:07 adam Exp $
#
SHELL=/bin/sh
TCLINC=
WSCRIPTS=egwscript targets.egw query.egw search.egw showfull.egw z39util.tcl \
- mtargets.egw mquery.egw msearch.egw history.egw tform.egw tdefine.egw
+ mtargets.egw mquery.egw msearch.egw history.egw tform.egw tdefine.egw sameas.egw
HSCRIPTS=egwindex.html
CONFFILES=egw.res ztargets.conf
TPROG1=egwcgi
WAISLIB=$(IRTCLDIR)/wais-tcl.o $(WAISDIR)/ir/libwais.a
$(TPROG4): $(P4) $(OLIB)
- $(CC) $(CFLAGS) -o $(TPROG4) $(P4) $(OLIB) $(IRTCLLIB) \
+ $(CC) $(CFLAGS) -o $(TPROG4) $(P4) \
+ $(OLIB) $(IRTCLLIB) \
$(WAISLIB) $(ZLIB) $(MOSILIB) $(NETLIB) $(TCLLIB) -lm
install: install.prog install.script install.gif
rm -f $(EGWDIR)/$$p; \
ln $(EGWDIR)/$(TPROG2) $(EGWDIR)/$$p; \
done
+ @if [ -x $(TPROG4) ]; then \
+ echo Installing $(TPROG4); \
+ cp $(TPROG4) $(EGWDIR)/$(TPROG4); \
+ chmod a+x $(EGWDIR)/$(TPROG4); \
+ fi
install.script:
@if [ ! -d $(EGWDIR) ]; then \