summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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: