From 8339ff1d7d8694153e2daac032c0999fbf04aad9 Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Wed, 14 Jan 2004 20:05:27 +0000 Subject: Make ebtables library functions --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2f4fec0..3c3229f 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,8 @@ endif include extensions/Makefile -OBJECTS:=getethertype.o ebtables.o communication.o $(EXT_OBJS) +OBJECTS:=getethertype.o ebtables.o communication.o libebtc.o \ +useful_functions.o $(EXT_OBJS) KERNEL_INCLUDES?=include/ @@ -35,6 +36,12 @@ all: ebtables communication.o: communication.c include/ebtables_u.h $(CC) $(CFLAGS) $(PROGSPECS) -c -o $@ $< -I$(KERNEL_INCLUDES) +libebtc.o: libebtc.c include/ebtables_u.h + $(CC) $(CFLAGS) $(PROGSPECS) -c -o $@ $< -I$(KERNEL_INCLUDES) + +useful_functions.o: useful_functions.c include/ebtables_u.h + $(CC) $(CFLAGS) $(PROGSPECS) -c -o $@ $< -I$(KERNEL_INCLUDES) + getethertype.o: getethertype.c include/ethernetdb.h $(CC) $(CFLAGS) $(PROGSPECS) -c -o $@ $< -Iinclude/ -- cgit v1.2.3