516ebd9df09227a5164b3c2ba16d473760167853
[sliver-openvswitch.git] / datapath / Modules.mk
1 all_modules = $(dist_modules)
2 dist_modules = openflow 
3
4 openflow_sources = \
5         chain.c \
6         crc32.c \
7         datapath.c \
8         dp_dev.c \
9         dp_notify.c \
10         flow.c \
11         forward.c \
12         table-hash.c \
13         table-linear.c 
14
15 openflow_headers = \
16         chain.h \
17         compat.h \
18         crc32.h \
19         datapath.h \
20         dp_dev.h \
21         flow.h \
22         forward.h \
23         snap.h \
24         table.h 
25
26 dist_sources = $(foreach module,$(dist_modules),$($(module)_sources))
27 dist_headers = $(foreach module,$(dist_modules),$($(module)_headers))
28 all_sources = $(foreach module,$(all_modules),$($(module)_sources))
29 all_headers = $(foreach module,$(all_modules),$($(module)_headers))
30 all_links = $(notdir $(all_sources))
31 all_objects = $(notdir $(patsubst %.c,%.o,$(all_sources)))