blob: 31c4b8ba3f301b999046ceb25962070210bacd94 (
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
|
--- net-tools-1.60.orig/Makefile 2001-04-15 16:34:31.000000000 +0200
+++ net-tools-1.60/Makefile 2011-11-15 11:30:19.227768488 +0100
@@ -76,7 +76,7 @@
NET_LIB_PATH = lib
NET_LIB_NAME = net-tools
-PROGS := ifconfig hostname arp netstat route rarp slattach plipconfig nameif
+PROGS := arp
-include config.make
ifeq ($(HAVE_IP_TOOLS),1)
@@ -113,7 +113,9 @@ endif
NET_LIB = $(NET_LIB_PATH)/lib$(NET_LIB_NAME).a
-CFLAGS = $(COPTS) -I. -idirafter ./include/ -I$(NET_LIB_PATH)
+CFLAGS ?=
+CFLAGS += $(COPTS) -I. -idirafter ./include/ -I$(NET_LIB_PATH)
+LDFLAGS ?= -lssp
LDFLAGS = $(LOPTS) -L$(NET_LIB_PATH)
SUBDIRS = man/ $(NET_LIB_PATH)/
@@ -160,11 +162,6 @@ dist: clobber
config.h: config.in Makefile
- @echo "Configuring the Linux net-tools (NET-3 Base Utilities)..." ; echo
- @if [ config.status -nt config.in ]; \
- then ./configure.sh config.status; \
- else ./configure.sh config.in; \
- fi
version.h: Makefile
|