2001-07-03 22:00:49 +02:00
|
|
|
include GNUmakevars
|
|
|
|
include GNUmakerules
|
|
|
|
|
2002-08-14 20:44:23 +02:00
|
|
|
all: gethostbyname fqdn
|
|
|
|
install: \
|
|
|
|
$(BINDIR)/gethostbyname \
|
|
|
|
$(BINDIR)/axfr \
|
|
|
|
$(BINDIR)/fqdn \
|
|
|
|
|
2001-07-03 22:00:49 +02:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.bak *.o core gethostbyname
|
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
rm -f *.d
|
|
|
|
|
2001-07-03 22:53:17 +02:00
|
|
|
cfg/%:
|
|
|
|
$(MAKE) -C cfg all
|
|
|
|
|
|
|
|
gethostbyname: gethostbyname.o hstrerror.o
|
|
|
|
|
2002-08-14 20:44:23 +02:00
|
|
|
fqdn: fqdn.o hstrerror.o
|
|
|
|
|
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 $@
|
|
|
|
|
2001-07-03 22:00:49 +02:00
|
|
|
-include *.d
|