summaryrefslogtreecommitdiffstats
path: root/userspace/ebtables2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'userspace/ebtables2/Makefile')
-rw-r--r--userspace/ebtables2/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/userspace/ebtables2/Makefile b/userspace/ebtables2/Makefile
index 59ebce2..dbf9a3f 100644
--- a/userspace/ebtables2/Makefile
+++ b/userspace/ebtables2/Makefile
@@ -21,13 +21,13 @@ else
KERNEL_INCLUDES:=include/
endif
-ETHERTYPESFILE1:="/etc/ethertypes"
-ETHERTYPESFILE2:="/usr/local/etc/ethertypes"
+#ETHERTYPESFILE:="/etc/ethertypes"
+ETHERTYPESFILE:="/usr/local/etc/ethertypes"
PROGSPECS:=-DPROGVERSION=\"$(PROGVERSION)\" \
-DPROGNAME=\"$(PROGNAME)\" \
-DPROGDATE=\"$(PROGDATE)\" \
- -D_PATH_ETHERTYPES1=\"$(ETHERTYPESFILE1)\"
+ -D_PATH_ETHERTYPES=\"$(ETHERTYPESFILE)\"
all: ebtables
@@ -36,7 +36,7 @@ communication.o: communication.c include/ebtables_u.h
$(CC) $(CFLAGS) $(PROGSPECS) -c -o $@ $< -I$(KERNEL_INCLUDES)
getethertype.o: getethertype.c include/ethernetdb.h
- $(CC) $(CFLAGS) -c -o $@ $< -Iinclude/
+ $(CC) $(CFLAGS) $(PROGSPECS) -c -o $@ $< -Iinclude/
ebtables.o: ebtables.c include/ebtables_u.h
$(CC) $(CFLAGS) $(PROGSPECS) -c -o $@ $< -I$(KERNEL_INCLUDES)