Hi,
Below is a patch that adds KERNELSOURCE to the Makefile of ipvsadm-1.24,
which is in keeping with ipvsadm-1.21
--
Horms
diff -ruN ipvsadm-1.24/Makefile ipvsadm-1.24.backwards_compat/Makefile
--- ipvsadm-1.24/Makefile 2004-10-28 00:53:07.000000000 +0900
+++ ipvsadm-1.24.backwards_compat/Makefile 2005-01-27 13:24:45.000000000
+0900
@@ -33,7 +33,8 @@
ARCH = $(shell uname -m)
CC = gcc
-INCLUDE = -I/usr/src/linux/include -I.. -I.
+KERNELSOURCE = /usr/src/linux
+INCLUDE = -I$(KERNELSOURCE)/include -I.. -I.
SBIN = $(BUILD_ROOT)/sbin
MANDIR = usr/man
MAN = $(BUILD_ROOT)/$(MANDIR)/man8
diff -ruN ipvsadm-1.24/libipvs/Makefile
ipvsadm-1.24.backwards_compat/libipvs/Makefile
--- ipvsadm-1.24/libipvs/Makefile 2002-12-19 22:53:07.000000000 +0900
+++ ipvsadm-1.24.backwards_compat/libipvs/Makefile 2005-01-27
12:39:01.000000000 +0900
@@ -1,7 +1,7 @@
# Makefile for libipvs
CC = gcc
-INCLUDE = -I/usr/src/linux/include
+INCLUDE = -I$(KERNELSOURCE)/include
CFLAGS = -Wall -Wunused -Wstrict-prototypes -g -O2
INCLUDE += $(shell if [ -f ../../ip_vs.h ]; then \
|