summaryrefslogtreecommitdiffstats
path: root/userspace/ebtables2/Makefile
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2005-10-01 09:16:51 +0000
committerBart De Schuymer <bdschuym@pandora.be>2005-10-01 09:16:51 +0000
commit8e2210445721523b6197a2ba964493653d0f73b0 (patch)
treeb0024119d98fc27772eb7c00cc39d052f4070de1 /userspace/ebtables2/Makefile
parent78496845410f5880f5e4a50dd7a8071c5c7e65dc (diff)
*** empty log message ***
Diffstat (limited to 'userspace/ebtables2/Makefile')
-rw-r--r--userspace/ebtables2/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/userspace/ebtables2/Makefile b/userspace/ebtables2/Makefile
index 1aa4bfd..b9e1260 100644
--- a/userspace/ebtables2/Makefile
+++ b/userspace/ebtables2/Makefile
@@ -50,7 +50,9 @@ EBTD_ARGC_MAX?=50
PROGSPECS:=-DPROGVERSION=\"$(PROGVERSION)\" \
-DPROGNAME=\"$(PROGNAME)\" \
-DPROGDATE=\"$(PROGDATE)\" \
- -D_PATH_ETHERTYPES=\"$(ETHERTYPESFILE)\"
+ -D_PATH_ETHERTYPES=\"$(ETHERTYPESFILE)\" \
+ -DEBTD_ARGC_MAX=$(EBTD_ARGC_MAX) \
+ -DEBTD_CMDLINE_MAXLN=$(EBTD_CMDLINE_MAXLN)
PROGSPECSD:=-DPROGVERSION=\"$(PROGVERSION)\" \
-DPROGNAME=\"$(PROGNAME)\" \
@@ -104,7 +106,7 @@ ebtablesd: $(OBJECTS) ebtablesd.o libebtc
-Wl,-rpath,$(LIBDIR)
ebtables-restore.o: ebtables-restore.c include/ebtables_u.h
- $(CC) $(CFLAGS) $(PROGSPECSD) -c $< -o $@ -I$(KERNEL_INCLUDES)
+ $(CC) $(CFLAGS) $(PROGSPECS) -c $< -o $@ -I$(KERNEL_INCLUDES)
ebtables-restore: $(OBJECTS) ebtables-restore.o libebtc
$(CC) $(CFLAGS) -o $@ ebtables-restore.o -I$(KERNEL_INCLUDES) -L. -Lextensions -lebtc $(EXT_LIBSI) \