1
0

patch-Makefile 990 B

123456789101112131415161718192021222324252627282930313233343536
  1. --- net-tools-1.60.orig/Makefile 2001-04-15 16:34:31.000000000 +0200
  2. +++ net-tools-1.60/Makefile 2011-11-15 11:30:52.379769328 +0100
  3. @@ -76,7 +76,7 @@
  4. NET_LIB_PATH = lib
  5. NET_LIB_NAME = net-tools
  6. -PROGS := ifconfig hostname arp netstat route rarp slattach plipconfig nameif
  7. +PROGS := arp
  8. -include config.make
  9. ifeq ($(HAVE_IP_TOOLS),1)
  10. @@ -113,8 +113,10 @@ endif
  11. NET_LIB = $(NET_LIB_PATH)/lib$(NET_LIB_NAME).a
  12. -CFLAGS = $(COPTS) -I. -idirafter ./include/ -I$(NET_LIB_PATH)
  13. -LDFLAGS = $(LOPTS) -L$(NET_LIB_PATH)
  14. +CFLAGS ?=
  15. +CFLAGS += $(COPTS) -I. -idirafter ./include/ -I$(NET_LIB_PATH)
  16. +LDFLAGS ?=
  17. +LDFLAGS += $(LOPTS) -L$(NET_LIB_PATH)
  18. SUBDIRS = man/ $(NET_LIB_PATH)/
  19. @@ -160,11 +162,6 @@ dist: clobber
  20. config.h: config.in Makefile
  21. - @echo "Configuring the Linux net-tools (NET-3 Base Utilities)..." ; echo
  22. - @if [ config.status -nt config.in ]; \
  23. - then ./configure.sh config.status; \
  24. - else ./configure.sh config.in; \
  25. - fi
  26. version.h: Makefile