Minor changes.
[egate.git] / util / Makefile
index fb69be6..1f76566 100644 (file)
@@ -2,7 +2,24 @@
 # Europagate, 1995
 #
 # $Log: Makefile,v $
-# Revision 1.14  1995/04/17 09:36:32  adam
+# Revision 1.19  1996/05/22 08:37:29  adam
+# Removed CFLAGS definition.
+#
+# Revision 1.18  1996/01/24 10:11:34  adam
+# Make all builds library only.
+#
+# Revision 1.17  1995/12/20  16:28:07  adam
+# Extra parameter block to gw_db_open. If block is 0 gw_db_open
+# returns NULL if lock couldn't be satisfied.
+# Minor changes in iso2709.c.
+#
+# Revision 1.16  1995/11/10  10:19:48  adam
+# Test programs not build on 'make all'.
+#
+# Revision 1.15  1995/05/01  12:43:55  adam
+# lgets function moved from kernel to util.
+#
+# Revision 1.14  1995/04/17  09:36:32  adam
 # ttyemit moved from kernel directory.
 #
 # Revision 1.13  1995/03/29  11:44:29  adam
 #
 SHELL=/bin/sh
 INCLUDE=-I../include
-#CFLAGS=-g -Wall -pedantic -ansi
 TPROG1=iso2709dump
 TPROG2=gwdbtest
 LIB=../lib/util.a
 PO=iso2709.o iso27dis.o iso2709o.o iso2709a.o strqueue.o \
- gw-db.o gip.o gips.o gipc.o ttyemit.o
+ gw-db.o gip.o gips.o gipc.o ttyemit.o lgets.o
 CPP=$(CC) -E
-DEFS=$(INCLUDE) -DSTUPID_ISO_DBC=1
+DEFS=$(INCLUDE) -DWEIRD_ISO_DBC=1
 
-all: $(TPROG1) $(TPROG2)
+all: $(LIB)
 
 $(TPROG1): $(TPROG1).o $(LIB) 
-       $(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB)
+       $(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB) ../lib/libres+log.a
 
 $(TPROG2): $(TPROG2).o $(LIB) 
-       $(CC) $(CFLAGS) -o $(TPROG2) $(TPROG2).o $(LIB)
+       $(CC) $(CFLAGS) -o $(TPROG2) $(TPROG2).o $(LIB) ../lib/libres+log.a
 
 $(LIB): $(PO)
        rm -f $(LIB)