Make dpif_close() accept a null pointer.
[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_act.c \
9         dp_dev.c \
10         dp_notify.c \
11         flow.c \
12         forward.c \
13         nx_act.c \
14         nx_act_snat.c \
15         nx_msg.c \
16         table-hash.c \
17         table-linear.c 
18
19 openflow_headers = \
20         chain.h \
21         compat.h \
22         crc32.h \
23         datapath.h \
24         dp_dev.h \
25         flow.h \
26         forward.h \
27         dp_act.h \
28         nx_act.h \
29         nx_act_snat.h \
30         nx_msg.h \
31         table.h 
32
33 dist_sources = $(foreach module,$(dist_modules),$($(module)_sources))
34 dist_headers = $(foreach module,$(dist_modules),$($(module)_headers))
35 all_sources = $(foreach module,$(all_modules),$($(module)_sources))
36 all_headers = $(foreach module,$(all_modules),$($(module)_headers))
37 all_links = $(notdir $(all_sources))
38 all_objects = $(notdir $(patsubst %.c,%.o,$(all_sources)))