summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2002-08-11 16:15:55 +0000
committerBart De Schuymer <bdschuym@pandora.be>2002-08-11 16:15:55 +0000
commitd4586483ef96120064d4612b8c9c0846bc5d7679 (patch)
treeb5004d0b3f624b5e74742ff29f0db0656ed50242 /Makefile
parent923a57375e6ab67e198f7036fc637d980b3fe764 (diff)
downloadebtables-d4586483ef96120064d4612b8c9c0846bc5d7679.tar.gz
ebtables-d4586483ef96120064d4612b8c9c0846bc5d7679.tar.bz2
ebtables-d4586483ef96120064d4612b8c9c0846bc5d7679.zip
*** empty log message ***
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 1742496..ceb7329 100644
--- a/Makefile
+++ b/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 $@ $^