summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarco d'Itri <md@linux.it>2002-06-22 13:02:43 +0200
committerMarco d'Itri <md@linux.it>2013-03-30 02:31:28 +0100
commitd44aa7048b4f604ed5453891a578ce1297318f61 (patch)
tree23865474faf652e516d28b8aac5f202563383b4e /Makefile
parent2088a86beb679df6407f3ab82a52156b09a84b1d (diff)
downloadwhois-d44aa7048b4f604ed5453891a578ce1297318f61.tar.gz
Imported Debian version 4.5.29v4.5.29
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 87f09ff..6ef8a30 100644
--- a/Makefile
+++ b/Makefile
@@ -8,16 +8,20 @@ OPTS=-O2
# linux (old libc)
#LDFLAGS=-lintl
+# FreeBSD
+#LDFLAGS=-L/usr/local/lib -lgnugetopt -lintl
+#CFLAGS=-I/usr/local/include
+
# OS/2 EMX
#LDFLAGS=-lsocket -Zexe -Dstrncasecmp=strnicmp
all: whois #pos
whois: whois.c whois.h config.h data.h as_del.h ip_del.h tld_serv.h
- $(CC) $(OPTS) whois.c -o whois $(LDFLAGS)
+ $(CC) $(CFLAGS) $(OPTS) whois.c -o whois $(LDFLAGS)
mkpasswd: mkpasswd.c
- $(CC) $(OPTS) mkpasswd.c -o mkpasswd -lcrypt
+ $(CC) $(CFLAGS) $(OPTS) mkpasswd.c -o mkpasswd -lcrypt
as_del.h: as_del_list make_as_del.pl
perl make_as_del.pl < as_del_list > as_del.h