Makefile
cdirt/src/utils/Makefile · 1.2 KB
From the archive cdirt242.tar.gz
Download the archive « Back to the archive contents
# Utilities makefile
HDIR = ../../include
CRINC = ../../cr_inc
ECHO = /bin/echo # Echo Utility
all: ../../bin/newid ../../bin/pfdel ../../bin/pfilter ../../bin/dump \
../../bin/dns-serv ../../bin/expire
../../bin/newid: $(HDIR)/config.h
@$(ECHO) -n 'Making Newid Utility...'
@$(CC) -I$(HDIR) -I$(CRINC) -o ../../bin/newid newid.c
@$(ECHO) 'done'
../../bin/pfdel: $(HDIR)/config.h
@$(ECHO) -n 'Making Pfdel Utility...'
@$(CC) -I$(HDIR) -I$(CRINC) -o ../../bin/pfdel pfdel.c
@$(ECHO) 'done'
../../bin/pfilter: $(HDIR)/kernel.h $(HDIR)/macros.h $(HDIR)/pflags.h $(HDIR)/pflagnames.h $(HDIR)/levelnames.h
@$(ECHO) -n 'Making Pfilter Utility...'
@$(CC) -I$(HDIR) -I$(CRINC) -o ../../bin/pfilter pfilter.c
@$(ECHO) 'done'
../../bin/dump: $(HDIR)/kernel.h $(HDIR)/macros.h $(HDIR)/sflags.h $(HDIR)/pflags.h $(HDIR)/config.h $(HDIR)/pflagnames.h
@$(ECHO) -n 'Making Dump Utility...'
@$(CC) -I$(HDIR) -I$(CRINC) -o ../../bin/dump dump.c
@$(ECHO) 'done'
../../bin/dns-serv: dns-serv.h
@$(ECHO) -n 'Making DNS Server...'
@$(CC) -I$(HDIR) -I$(CRINC) -o ../../bin/dns-serv dns-serv.c
@$(ECHO) 'done'
../../bin/expire: $(HDIR)/config.h
@$(ECHO) -n 'Making Expire Utility...'
@$(CC) -I$(HDIR) -I$(CRINC) -o ../../bin/expire expire.c
@$(ECHO) 'done'