summaryrefslogtreecommitdiffstats
path: root/userspace/ebtables2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'userspace/ebtables2/Makefile')
-rw-r--r--userspace/ebtables2/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/userspace/ebtables2/Makefile b/userspace/ebtables2/Makefile
index 1742496..ceb7329 100644
--- a/userspace/ebtables2/Makefile
+++ b/userspace/ebtables2/Makefile
@@ -2,7 +2,8 @@
KERNEL_DIR?=/usr/src/linux
PROGNAME:=ebtables
-PROGVERSION:="2.0-rc2 (August 2002)"
+PROGVERSION:="2.0-rc2"
+PROGDATE:="August 2002"
MANDIR?=/usr/local/man
CFLAGS:=-Wall -Wunused
@@ -22,8 +23,6 @@ headers:
mkdir -p /usr/include/linux/netfilter_bridge
cp -f $(KERNEL_DIR)/include/linux/netfilter_bridge/* \
/usr/include/linux/netfilter_bridge/
- cp -f $(KERNEL_DIR)/include/linux/br_db.h \
- /usr/include/linux/br_db.h
cp -f $(KERNEL_DIR)/include/linux/netfilter_bridge.h \
/usr/include/linux/netfilter_bridge.h
cp -f $(KERNEL_DIR)/include/linux/if_ether.h \
@@ -35,11 +34,11 @@ symlink:
ln -fs $(KERNEL_DIR)/include/linux /usr/include/linux
communication.o: communication.c include/ebtables_u.h
- $(CC) $(CFLAGS) -c -o $@ $<
+ $(CC) $(CFLAGS) -DPROGVERSION=\"$(PROGVERSION)\" -c -o $@ $<
ebtables.o: ebtables.c include/ebtables_u.h
$(CC) $(CFLAGS) -DPROGVERSION=\"$(PROGVERSION)\" \
- -DPROGNAME=\"$(PROGNAME)\" -c -o $@ $<
+ -DPROGNAME=\"$(PROGNAME)\" -DPROGDATE=\"$(PROGDATE)\" -c -o $@ $<
ebtables: ebtables.o communication.o $(EXT_OBJS)
$(CC) $(CFLAGS) -o $@ $^