Files
openflow/datapath/Modules.mk
T
Ben Pfaff 34b307bea6 Use kernel build system for linux-2.4.
Based on changes originally by Bobby Holley <bobbyholley@stanford.edu>.
2008-06-03 14:02:13 -07:00

41 lines
806 B
Makefile

all_modules = $(dist_modules)
dist_modules = openflow unit
openflow_sources = \
chain.c \
crc32.c \
datapath.c \
datapath_t.c \
dp_dev.c \
flow.c \
forward.c \
table-hash.c \
table-linear.c \
unit-exports.c
openflow_headers = \
chain.h \
compat.h \
crc32.h \
datapath.h \
datapath_t.h \
dp_dev.h \
flow.h \
forward.h \
snap.h \
table.h \
unit.h
unit_sources = \
crc_t.c \
forward_t.c \
table_t.c \
unit.c
dist_sources = $(foreach module,$(dist_modules),$($(module)_sources))
dist_headers = $(foreach module,$(dist_modules),$($(module)_headers))
all_sources = $(foreach module,$(all_modules),$($(module)_sources))
all_headers = $(foreach module,$(all_modules),$($(module)_headers))
all_links = $(notdir $(all_sources))
all_objects = $(notdir $(patsubst %.c,%.o,$(all_sources)))