summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarco d'Itri <md@linux.it>2007-09-13 03:28:21 +0200
committerMarco d'Itri <md@linux.it>2013-03-30 02:31:35 +0100
commitc3c46b20b8b1f7c5111daff0b45e56d8ba64ac7b (patch)
treecccdf580e6d7ffda2a646c80ec69e56baf9f2c58 /Makefile
parentb62995f67024549c4edcf5c39a1533ea289f6897 (diff)
downloadwhois-c3c46b20b8b1f7c5111daff0b45e56d8ba64ac7b.tar.gz
Imported Debian version 4.7.23v4.7.23
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 19b74e9..47cb17c 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,8 @@ PERL := perl
all: whois #pos
-whois: whois.c whois.h config.h data.h as_del.h ip_del.h ip6_del.h tld_serv.h
+whois: whois.c whois.h config.h data.h \
+ as_del.h as32_del.h ip_del.h ip6_del.h tld_serv.h
$(CC) $(CFLAGS) $(whois_CFLAGS) $(OPTS) whois.c -o whois \
$(LDFLAGS) $(whois_LDADD)
@@ -37,16 +38,19 @@ mkpasswd: mkpasswd.c
$(LDFLAGS) $(mkpasswd_LDADD)
as_del.h: as_del_list make_as_del.pl
- $(PERL) -w make_as_del.pl < as_del_list > as_del.h
+ $(PERL) -w make_as_del.pl < as_del_list > $@
+
+as32_del.h: as32_del_list make_as32_del.pl
+ $(PERL) -w make_as32_del.pl < as32_del_list > $@
ip_del.h: ip_del_list make_ip_del.pl
- $(PERL) -w make_ip_del.pl < ip_del_list > ip_del.h
+ $(PERL) -w make_ip_del.pl < ip_del_list > $@
ip6_del.h: ip6_del_list make_ip6_del.pl
- $(PERL) -w make_ip6_del.pl < ip6_del_list > ip6_del.h
+ $(PERL) -w make_ip6_del.pl < ip6_del_list > $@
tld_serv.h: tld_serv_list make_tld_serv.pl
- $(PERL) -w make_tld_serv.pl < tld_serv_list > tld_serv.h
+ $(PERL) -w make_tld_serv.pl < tld_serv_list > $@
install: whois
install -m 0755 whois $(BASEDIR)$(prefix)/bin/