summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarco d'Itri <md@linux.it>2005-01-30 13:51:30 +0100
committerMarco d'Itri <md@linux.it>2013-03-30 02:31:31 +0100
commitc30d63196924e6f5d42a11bbbd545e11c379fb4b (patch)
treedbea38919dc135af32cc8abf7ffd32f3f56680cb /Makefile
parent58afbcd036c29483acfc91a94830c09365b151af (diff)
downloadwhois-c30d63196924e6f5d42a11bbbd545e11c379fb4b.tar.gz
Imported Debian version 4.7.0v4.7.0
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index b0a0bcc..ec2a88d 100644
--- a/Makefile
+++ b/Makefile
@@ -20,11 +20,11 @@ LIBIDN += -lidn
CFLAGS += -DHAVE_LIBIDN
endif
-PERL=perl
+PERL := perl
all: whois #pos
-whois: whois.c whois.h config.h data.h as_del.h ip_del.h tld_serv.h
+whois: whois.c whois.h config.h data.h as_del.h ip_del.h ip6_del.h tld_serv.h
$(CC) $(CFLAGS) $(OPTS) whois.c -o whois $(LDFLAGS) $(LIBIDN)
mkpasswd: mkpasswd.c
@@ -36,6 +36,9 @@ as_del.h: as_del_list make_as_del.pl
ip_del.h: ip_del_list make_ip_del.pl
$(PERL) -w make_ip_del.pl < ip_del_list > ip_del.h
+ip6_del.h: ip6_del_list make_ip6_del.pl
+ $(PERL) -w make_ip6_del.pl < ip6_del_list > ip6_del.h
+
tld_serv.h: tld_serv_list make_tld_serv.pl
$(PERL) -w make_tld_serv.pl < tld_serv_list > tld_serv.h
@@ -50,7 +53,7 @@ distclean: clean
rm -f po/whois.pot
clean:
- rm -f as_del.h ip_del.h tld_serv.h whois mkpasswd
+ rm -f as_del.h ip_del.h ip6_del.h tld_serv.h whois mkpasswd
rm -f po/*.mo
test: