| 1 |
# |
| 2 |
# Copyright (C) 1998-2026 Free Software Foundation, Inc. |
| 3 |
# |
| 4 |
# This file is part of GNU Inetutils. |
| 5 |
# |
| 6 |
# GNU Inetutils is free software: you can redistribute it and/or modify |
| 7 |
# it under the terms of the GNU General Public License as published by |
| 8 |
# the Free Software Foundation, either version 3 of the License, or (at |
| 9 |
# your option) any later version. |
| 10 |
# |
| 11 |
# GNU Inetutils is distributed in the hope that it will be useful, but |
| 12 |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 |
# General Public License for more details. |
| 15 |
# |
| 16 |
# You should have received a copy of the GNU General Public License |
| 17 |
# along with this program. If not, see `http://www.gnu.org/licenses/'. |
| 18 |
|
| 19 |
AM_CPPFLAGS = $(iu_INCLUDES) |
| 20 |
|
| 21 |
AM_CFLAGS = $(WARN_CFLAGS) |
| 22 |
|
| 23 |
LDADD = $(iu_LIBRARIES) |
| 24 |
|
| 25 |
bin_PROGRAMS = $(whois_BUILD) |
| 26 |
|
| 27 |
EXTRA_PROGRAMS = whois |
| 28 |
|
| 29 |
whois_SOURCES = whois.c |
| 30 |
whois_LDADD = $(LDADD) $(LIBSOCKET) $(HOSTENT_LIB) $(LIBINTL) \ |
| 31 |
$(GETADDRINFO_LIB) |
| 32 |
|
| 33 |
EXTRA_DIST = as_del_list ip_del_list ip6_del_list tld_serv_list \ |
| 34 |
make_as_del.pl make_ip_del.pl make_ip6_del.pl make_tld_serv.pl \ |
| 35 |
as_del.h ip_del.h ip6_del.h tld_serv.h |
| 36 |
|
| 37 |
noinst_HEADERS = data.h as_del.h ip_del.h ip6_del.h tld_serv.h whois.h |
| 38 |
|
| 39 |
BUILT_SOURCES = as_del.h ip_del.h ip6_del.h tld_serv.h |
| 40 |
|
| 41 |
as_del.h: $(srcdir)/as_del_list $(srcdir)/make_as_del.pl |
| 42 |
LANG=C perl $(srcdir)/make_as_del.pl < $(srcdir)/as_del_list > as_del.h |
| 43 |
|
| 44 |
ip_del.h: $(srcdir)/ip_del_list $(srcdir)/make_ip_del.pl |
| 45 |
LANG=C perl $(srcdir)/make_ip_del.pl < $(srcdir)/ip_del_list > ip_del.h |
| 46 |
|
| 47 |
ip6_del.h: $(srcdir)/ip6_del_list $(srcdir)/make_ip6_del.pl |
| 48 |
LANG=C perl $(srcdir)/make_ip6_del.pl < $(srcdir)/ip6_del_list > ip6_del.h |
| 49 |
|
| 50 |
tld_serv.h: $(srcdir)/tld_serv_list $(srcdir)/make_tld_serv.pl |
| 51 |
LANG=C perl $(srcdir)/make_tld_serv.pl < $(srcdir)/tld_serv_list > tld_serv.h |