2004-12-20 22:18:40 +01:00
|
|
|
-include GNUmakevars
|
2001-03-19 09:45:35 +01:00
|
|
|
|
|
|
|
CONFDIR=../../configure
|
2001-03-19 23:48:23 +01:00
|
|
|
CONFDIR_exists=$(shell [ -d $(CONFDIR) ] && echo ok)
|
2001-03-19 09:45:35 +01:00
|
|
|
|
2004-12-20 22:18:40 +01:00
|
|
|
GNUmakevars: GNUmakevars.sh
|
|
|
|
sh ./$^ > $@
|
|
|
|
GNUmakerules: GNUmakerules.sh
|
|
|
|
sh ./$^ > $@
|
|
|
|
|
2004-11-03 15:18:39 +01:00
|
|
|
all: configure dus fnp fnpa fnpc isodate psg save crypt
|
2001-03-19 09:45:35 +01:00
|
|
|
|
|
|
|
clean:
|
2004-11-03 15:18:39 +01:00
|
|
|
rm fnp fnpa fnpc customize crypt
|
2001-03-19 09:45:35 +01:00
|
|
|
|
2000-01-11 14:24:36 +01:00
|
|
|
install: \
|
2004-11-03 15:18:39 +01:00
|
|
|
$(BINDIR)/crypt \
|
2000-01-11 14:24:36 +01:00
|
|
|
$(BINDIR)/dus \
|
2004-11-03 15:18:39 +01:00
|
|
|
$(BINDIR)/findsock \
|
2000-01-11 14:24:36 +01:00
|
|
|
$(BINDIR)/fnp \
|
|
|
|
$(BINDIR)/fnpa \
|
|
|
|
$(BINDIR)/fnpc \
|
|
|
|
$(BINDIR)/isodate \
|
|
|
|
$(BINDIR)/psg \
|
2001-07-26 10:14:44 +02:00
|
|
|
$(BINDIR)/save \
|
2003-04-06 12:44:06 +02:00
|
|
|
$(BINDIR)/savedate \
|
2000-01-11 14:24:36 +01:00
|
|
|
|
2001-03-19 09:45:35 +01:00
|
|
|
fnp: fnp.sh
|
|
|
|
fnpa: fnpa.sh
|
|
|
|
fnpc: fnpc.sh
|
2004-11-03 15:18:39 +01:00
|
|
|
crypt: crypt.pl
|
2001-03-19 09:45:35 +01:00
|
|
|
|
|
|
|
%: %.sh customize
|
|
|
|
sh ./customize < $< > $@
|
|
|
|
chmod +x $@
|
|
|
|
|
2004-11-03 15:18:39 +01:00
|
|
|
%: %.pl customize
|
|
|
|
sh ./customize < $< > $@
|
|
|
|
chmod +x $@
|
|
|
|
|
2001-03-19 09:45:35 +01:00
|
|
|
customize: configure
|
|
|
|
sh ./configure
|
|
|
|
|
2001-03-19 23:48:23 +01:00
|
|
|
ifeq ($(CONFDIR_exists),ok)
|
|
|
|
|
2004-11-03 15:18:39 +01:00
|
|
|
configure: $(CONFDIR)/start \
|
|
|
|
$(CONFDIR)/find-printf $(CONFDIR)/perl \
|
|
|
|
$(CONFDIR)/finish
|
2001-03-19 09:45:35 +01:00
|
|
|
cat $^ > $@
|
2000-01-11 14:24:36 +01:00
|
|
|
|
2001-03-19 23:48:23 +01:00
|
|
|
endif
|
|
|
|
|
2004-12-20 22:18:40 +01:00
|
|
|
-include GNUmakerules
|