+# Email gateway settings --------------------------------------
+
+# Directory for the email gateway files
+EMAILLIBDIR=/usr/local/lib/emailgw
+
+# GNU regex package location
+#REGEXOBJ=../../../pd-src/regex-0.12/regex.o
+#REGEXINC=-I../../../pd-src/regex-0.12
+
+# WWW gateway settings ----------------------------------------
+
+# Install directories
+HTTPDDIR=/usr/local/etc/httpd
+CGIDIR=$(HTTPDDIR)/cgi-bin
+HTDOCS=$(HTTPDDIR)/htdocs
+EGWDIR=$(HTTPDDIR)/egw
+GIFDIR=$(HTDOCS)/egwgif
+
+# Location of Tcl
+TCLLIB=/usr/local/lib/libtcl7.5.a -lm
+TCLINC=-I/usr/local/include
+
+# Location of IrTcl
+IRTCLDIR=../../ir-tcl
+IRTCLLIB=$(IRTCLDIR)/libirtcl.a
+IRTCLINC=-I$(IRTCLDIR)
+
+# Common settings ---------------------------------------------
+
+# Other libraries needed on some systems
+#ELIB=-lnsl -lsocket
+
+# If you are using YAZ uncomment these lines
+ZACC=zlayer-yaz
+ZINC=-I../../yaz/include
+ZLIB=../../yaz/lib/libyaz.a
+ZDEFS=
+
+# If you are using Zdist uncomment these lines
+#ZACC=zlayer-zdist
+#ZINC=-I/home/proj/zdist/zdist102b1-1/libz3950
+#ZLIB=/home/proj/zdist/zdist102b1-1/libz3950/libz3950.a
+#ZDEFS=-DLOW_TO_HIGH -Dfar=
+
+# End of settings ---------------------------------------------
+# You probably don't have to edit the things below.
+
+SUBDIR=res+log util ccl fml $(ZACC) kernel www
+
+SUBDIREMAIL=res+log util ccl fml $(ZACC) kernel
+SUBDIRWWW=res+log util www