@@ -2,5 +2,9 @@ INCFLAGS = -I$(top_srcdir)/platform/@with_platform@/include \
-I$(top_srcdir)/platform/linux-generic/include \
-I$(top_srcdir)/include
+SUBDIRS = ixgbe
+
noinst_LTLIBRARIES = libdrivers.la
libdrivers_la_SOURCES = driver_init.c
+
+libdrivers_la_LIBADD = ixgbe/libixgbe.la
new file mode 100644
@@ -0,0 +1,7 @@
+include ../Makefile.inc
+noinst_LTLIBRARIES = libixgbe.la
+
+SUBDIRS = base
+
+libixgbe_la_SOURCES =
+libixgbe_la_LIBADD = base/libixgbe_base.la
new file mode 100644
@@ -0,0 +1,21 @@
+include ../../Makefile.inc
+
+#the base files generates a lot of warnings but should not be changed
+#we are doomed to ignore them:
+AM_CFLAGS += -w
+
+noinst_LTLIBRARIES = libixgbe_base.la
+
+libixgbe_base_la_SOURCES = ixgbe_82598.c \
+ ixgbe_82599.c \
+ ixgbe_api.c \
+ ixgbe_common.c \
+ ixgbe_dcb_82598.c \
+ ixgbe_dcb_82599.c \
+ ixgbe_dcb.c \
+ ixgbe_mbx.c \
+ ixgbe_phy.c \
+ ixgbe_vf.c \
+ ixgbe_x540.c \
+ ixgbe_x550.c
+
@@ -1,3 +1,5 @@
AC_CONFIG_FILES([
drivers/Makefile
+ drivers/ixgbe/Makefile
+ drivers/ixgbe/base/Makefile
])
Signed-off-by: Christophe Milard <christophe.milard@linaro.org> --- drivers/Makefile.am | 4 ++++ drivers/ixgbe/Makefile.am | 7 +++++++ drivers/ixgbe/base/Makefile.am | 21 +++++++++++++++++++++ drivers/m4/configure.m4 | 2 ++ 4 files changed, 34 insertions(+) create mode 100644 drivers/ixgbe/Makefile.am create mode 100644 drivers/ixgbe/base/Makefile.am