X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=util%2FMakefile;h=43f89599661b7b8f7447e6b5a634d31c10256d2e;hb=03764a355d7c83d58dc7129680faed15a7353346;hp=c6a107db76ba24965fef76d8ea2a75c5b76b0c4d;hpb=3f6af0f3aa9f114cf562c28f2ed0b954e4c5d659;p=egate.git diff --git a/util/Makefile b/util/Makefile index c6a107d..43f8959 100644 --- a/util/Makefile +++ b/util/Makefile @@ -1,7 +1,35 @@ # Makefile for Email gateway utilities # Europagate, 1995 # -# Makefile,v +# $Log: Makefile,v $ +# 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). +# +# 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. # @@ -21,18 +49,23 @@ # SHELL=/bin/sh INCLUDE=-I../include -CFLAGS=-g -Wall -pedantic -ansi +#CFLAGS=-g -Wall -pedantic -ansi TPROG1=iso2709dump +TPROG2=gwdbtest LIB=../lib/util.a -PO=iso2709.o iso27dis.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) +DEFS=$(INCLUDE) -DSTUPID_ISO_DBC=1 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) @@ -47,14 +80,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