summaryrefslogtreecommitdiff
blob: fa2d5204af86a41f74a2651590df4d52c9ffc3d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- Makefile.orig	2004-10-31 01:54:48.073875024 -0400
+++ Makefile	2004-10-31 01:54:58.395305928 -0400
@@ -15,8 +15,6 @@
 # no access control tables. The local system, since it runs the portmap
 # daemon, is always treated as an authorized host.
 
-HOSTS_ACCESS= -DHOSTS_ACCESS
-WRAP_LIB = $(WRAP_DIR)/libwrap.a
 
 # Comment out if your RPC library does not allocate privileged ports for
 # requests from processes with root privilege, or the new portmap will
@@ -87,7 +85,7 @@
 #
 AUX	= # daemon.o strerror.o
 
-LIBS	= -lwrap -lutil
+LIBS	= -lutil
 NSARCHS	= 
 O	= -Wall -O2 -pipe
 
@@ -110,7 +108,7 @@
 
 SHELL	= /bin/sh
 
-COPT	= $(CONST) -Dperror=xperror $(HOSTS_ACCESS) $(CHECK_PORT) \
+COPT	= $(CONST) -Dperror=xperror $(CHECK_PORT) \
 	$(SYS) -DFACILITY=$(FACILITY) $(ULONG) $(ZOMBIES) $(SA_LEN) \
 	$(LOOPBACK) $(SETPGRP)
 CFLAGS	= $(COPT) $(O) $(NSARCHS)
@@ -118,7 +116,7 @@
 
 all:	portmap pmap_dump pmap_set
 
-portmap: $(OBJECTS) $(WRAP_DIR)/libwrap.a
+portmap: $(OBJECTS)
 	$(CC) $(CFLAGS) -o $@ $(OBJECTS) $(WRAP_LIB) $(LIBS)
 
 pmap_dump: pmap_dump.c