diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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 $@ $^ |