brcompat fails to compile under Linux 2.4 due to the lack of brioctl_set()
and other symbols, but there's no intention of supporting Linux 2.4 for it
anyhow, so don't build it under Linux 2.4.
all_modules = $(dist_modules)
-dist_modules = openflow brcompat
+dist_modules = openflow
openflow_sources = \
chain.c \
nx_msg.h \
table.h
-brcompat_sources = \
- brcompat.c
-
-brcompat_headers =
-
dist_sources = $(foreach module,$(dist_modules),$($(module)_sources))
dist_headers = $(foreach module,$(dist_modules),$($(module)_headers))
all_sources = $(foreach module,$(all_modules),$($(module)_sources))
+dist_modules += brcompat
+
openflow_sources += \
linux-2.6/compat-2.6/genetlink.c \
linux-2.6/compat-2.6/random32.c
linux-2.6/compat-2.6/include/linux/udp.h \
linux-2.6/compat-2.6/include/net/checksum.h \
linux-2.6/compat-2.6/include/net/genetlink.h
+
+brcompat_sources = \
+ brcompat.c
+
+brcompat_headers =