1e72952b62fc3f429d509287ec89f357b3168720
[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
9 #BRCM end
10 EXT_OBJS+=$(foreach T,$(EXT_FUNC), extensions/ebt_$(T).o)
11 EXT_OBJS+=$(foreach T,$(EXT_TABLES), extensions/ebtable_$(T).o)
12
13 extensions/ebt_%.o: extensions/ebt_%.c include/ebtables_u.h
14         $(CC) $(CFLAGS) $(PROGSPECS) -c -o $@ $< -I$(KERNEL_INCLUDES)
15
16 extensions/ebtable_%.o: extensions/ebtable_%.c
17         $(CC) $(CFLAGS) $(PROGSPECS) -c -o $@ $< -I$(KERNEL_INCLUDES)
18