2001-07-03 22:00:49 +02:00
|
|
|
include GNUmakevars
|
|
|
|
|
2016-07-05 20:11:39 +02:00
|
|
|
all: gethostbyaddr gethostbyname fqdn query check
|
2002-08-14 20:44:23 +02:00
|
|
|
install: \
|
|
|
|
$(BINDIR)/axfr \
|
|
|
|
$(BINDIR)/fqdn \
|
2016-07-05 20:11:39 +02:00
|
|
|
$(BINDIR)/gethostbyaddr \
|
2008-04-28 09:47:50 +02:00
|
|
|
$(BINDIR)/gethostbyname \
|
2004-12-01 18:12:04 +01:00
|
|
|
$(BINDIR)/minnet \
|
2008-04-28 09:47:50 +02:00
|
|
|
$(BINDIR)/query \
|
2008-05-04 19:29:27 +02:00
|
|
|
$(BINDIR)/dns-inc-serial \
|
2002-08-14 20:44:23 +02:00
|
|
|
|
2001-07-03 22:00:49 +02:00
|
|
|
|
|
|
|
clean:
|
2016-07-05 21:48:45 +02:00
|
|
|
rm -f *.bak *.o core gethostbyaddr gethostbyname fqdn check
|
2001-07-03 22:00:49 +02:00
|
|
|
|
|
|
|
distclean: clean
|
2016-07-05 21:48:45 +02:00
|
|
|
rm -f *.d GNUmakevars GNUmakerules
|
2001-07-03 22:00:49 +02:00
|
|
|
|
2001-07-03 22:53:17 +02:00
|
|
|
cfg/%:
|
|
|
|
$(MAKE) -C cfg all
|
|
|
|
|
|
|
|
gethostbyname: gethostbyname.o hstrerror.o
|
|
|
|
|
2022-08-11 15:46:31 +02:00
|
|
|
fqdn: fqdn.pl
|
2002-08-14 20:44:23 +02:00
|
|
|
|
2001-07-03 22:53:17 +02:00
|
|
|
hstrerror.o: cfg/have_hstrerror.h
|
|
|
|
|
2002-08-14 20:44:23 +02:00
|
|
|
axfr:
|
|
|
|
|
|
|
|
%: %.pl
|
|
|
|
cp $< $@
|
|
|
|
chmod +x $@
|
|
|
|
|
2004-05-17 19:19:43 +02:00
|
|
|
GNUmakevars: GNUmakevars.sh
|
|
|
|
sh ./$^ > $@
|
|
|
|
GNUmakerules: GNUmakerules.sh
|
|
|
|
sh ./$^ > $@
|
|
|
|
|
|
|
|
include GNUmakerules
|
|
|
|
|
2001-07-03 22:00:49 +02:00
|
|
|
-include *.d
|