# Europagate, 1995
#
# $Log: Makefile,v $
-# Revision 1.1 1995/02/09 17:27:10 adam
-# Initial revision
+# Revision 1.9 1995/03/27 08:24:57 adam
+# New module gip: Gateway IPc module.
+# New module gw-db: Gateway hash-db module (user information table).
+#
+# Revision 1.8 1995/03/10 09:10:56 adam
+# Removed dbc2709_cvt function. Makes heuristic guess for DBC2709 records.
+#
+# Revision 1.7 1995/02/22 21:32:36 adam
+# Changed header.
+#
+# Revision 1.5 1995/02/22 08:51:46 adam
+# Definition of CPP changed.
+#
+# Revision 1.4 1995/02/20 21:16:32 adam
+# Minor changes.
+#
+# Revision 1.3 1995/02/15 17:45:43 adam
+# Bug fix in iso2709 module.
+#
+# Revision 1.2 1995/02/10 17:05:18 adam
+# New function iso2709_display to display MARC records in a
+# line-by-line format. The iso2709_cvt function no longer
+# prints the record to stderr.
+#
+# Revision 1.1.1.1 1995/02/09 17:27:11 adam
+# Initial version of email gateway under CVS control.
#
SHELL=/bin/sh
INCLUDE=-I../include
CFLAGS=-g -Wall -pedantic -ansi
-CC=gcc
TPROG1=iso2709dump
+TPROG2=gwdbtest
LIB=../lib/util.a
-PO=iso2709.o
-CPP=cc -E
-DEFS=$(INCLUDE)
+PO=iso2709.o iso27dis.o gw-db.o gip.o gips.o gipc.o
+CPP=$(CC) -E
+DEFS=$(INCLUDE) -DSTUPID_ISO_DBC=1
-all: $(TPROG1)
+all: $(TPROG1) $(TPROG2)
$(TPROG1): $(TPROG1).o $(LIB)
$(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB)
+$(TPROG2): $(TPROG2).o $(LIB)
+ $(CC) $(CFLAGS) -o $(TPROG2) $(TPROG2).o $(LIB)
+
$(LIB): $(PO)
rm -f $(LIB)
ar qc $(LIB) $(PO)