X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2FMakefile;h=1f76566d52f02b1e0051e461c40f26ad6ac88d90;hb=373495ef158d123d95ab44465d4249e65847492b;hp=6141629df3db9c3e599aaa674010323d3c764696;hpb=ad67147ba5d2e4287bacfcbdaac2e5d9058cb400;p=egate.git diff --git a/util/Makefile b/util/Makefile index 6141629..1f76566 100644 --- a/util/Makefile +++ b/util/Makefile @@ -2,7 +2,39 @@ # Europagate, 1995 # # $Log: Makefile,v $ -# Revision 1.9 1995/03/27 08:24:57 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 +# New functions: iso2709_a_.. for record manipulation. +# +# Revision 1.12 1995/03/28 16:07:06 adam +# New function: iso2709_out. This function is the reverse of iso2709_cvt. +# +# Revision 1.11 1995/03/28 11:42:41 adam +# First version of string-queue utility. +# +# Revision 1.10 1995/03/27 12:52:18 adam +# A little more verbose in marc dump. +# +# 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). # @@ -31,21 +63,21 @@ # SHELL=/bin/sh INCLUDE=-I../include -CFLAGS=-g -Wall -pedantic -ansi TPROG1=iso2709dump TPROG2=gwdbtest LIB=../lib/util.a -PO=iso2709.o iso27dis.o gw-db.o gip.o gips.o gipc.o +PO=iso2709.o iso27dis.o iso2709o.o iso2709a.o strqueue.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) @@ -61,14 +93,14 @@ clean: depend: depend2 depend1: - mv Makefile Makefile.tmp - sed '/^#Depend/q' Makefile - $(CPP) $(INCLUDE) -M *.c >>Makefile - -rm Makefile.tmp + sed '/^#Depend/q' Makefile.tmp + $(CPP) $(DEFS) -M *.c >>Makefile.tmp + mv -f Makefile.tmp Makefile depend2: - $(CPP) $(INCLUDE) -M *.c >.depend + $(CPP) $(DEFS) -M *.c >.depend +#GNU make style depend ifeq (.depend,$(wildcard .depend)) include .depend endif