http://downloads.netgear.com/files/GPL/GPL_Source_V361j_DM111PSP_series_consumer_rele...
[bcm963xx.git] / userapps / opensource / ebtables / extensions / Makefile
1 #! /usr/bin/make
2
3 #BRCM begin
4 #EXT_FUNC+=802_3 nat arp arpreply ip standard log redirect vlan mark_m mark \
5 #          pkttype stp among limit
6 EXT_FUNC+=ip standard vlan mark time ftos
7 #EXT_TABLES+=filter nat broute
8 EXT_TABLES+=filter broute
9
10 ifeq ($(strip $(WIRELESS)),1)
11 EXT_FUNC+=wmm_mark
12 EXT_TABLES+=nat
13 endif
14
15 #BRCM end
16 EXT_OBJS+=$(foreach T,$(EXT_FUNC), extensions/ebt_$(T).o)
17 EXT_OBJS+=$(foreach T,$(EXT_TABLES), extensions/ebtable_$(T).o)
18
19 extensions/ebt_%.o: extensions/ebt_%.c include/ebtables_u.h
20         $(CC) $(CFLAGS) $(PROGSPECS) -c -o $@ $< -I$(KERNEL_INCLUDES)
21
22 extensions/ebtable_%.o: extensions/ebtable_%.c
23         $(CC) $(CFLAGS) $(PROGSPECS) -c -o $@ $< -I$(KERNEL_INCLUDES)
24