summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarco d'Itri <md@linux.it>2000-06-04 20:00:20 +0200
committerMarco d'Itri <md@linux.it>2013-03-30 02:31:27 +0100
commitd4170f18798b33c454063395b9346eef7c1490c5 (patch)
tree9428f3113b5b956240114b65f31aa6a404a22600 /Makefile
parent6d3af40a958d3847456488393dc6e614e7c7cb5b (diff)
downloadwhois-d4170f18798b33c454063395b9346eef7c1490c5.tar.gz
Imported Debian version 4.4.14v4.4.14
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 698ff10..395fd4a 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,9 @@ OPTS=-O2
# Solaris
#LDFLAGS=-lnsl -lsocket
+# linux (old libc)
+#LDFLAGS=-lintl
+
all: whois #pos
whois: whois.c whois.h config.h data.h as_del.h ip_del.h tld_serv.h
@@ -23,8 +26,9 @@ tld_serv.h: tld_serv_list make_tld_serv.pl
perl make_tld_serv.pl < tld_serv_list > tld_serv.h
install: whois
- install --strip -m 0755 whois $(BASEDIR)$(prefix)/bin/
- install --strip -m 0644 whois.1 $(BASEDIR)$(prefix)/man/man1/
+ install -m 0755 whois $(BASEDIR)$(prefix)/bin/
+ strip $(BASEDIR)$(prefix)/bin/whois
+ install -m 0644 whois.1 $(BASEDIR)$(prefix)/man/man1/
cd po && $(MAKE) $@