diff options
Diffstat (limited to 'helper')
-rw-r--r-- | helper/Makefile.am | 30 | ||||
-rw-r--r-- | helper/test/Makefile.am | 2 |
2 files changed, 31 insertions, 1 deletions
diff --git a/helper/Makefile.am b/helper/Makefile.am index 02af5b3..44bcc3d 100644 --- a/helper/Makefile.am +++ b/helper/Makefile.am @@ -1 +1,29 @@ -SUBDIRS = test +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = $(top_builddir)/pkgconfig/libodphelper.pc + +LIB = $(top_builddir)/lib +AM_CFLAGS = -I$(srcdir)/include +AM_CFLAGS += -I$(top_srcdir)/platform/@with_platform@/include +AM_CFLAGS += -I$(top_srcdir)/platform/linux-generic/include +AM_CFLAGS += -I$(top_srcdir)/include + +include_HEADERS = \ + $(srcdir)/include/odp/helper/ring.h \ + $(srcdir)/include/odp/helper/linux.h \ + $(srcdir)/include/odp/helper/chksum.h\ + $(srcdir)/include/odp/helper/eth.h\ + $(srcdir)/include/odp/helper/icmp.h\ + $(srcdir)/include/odp/helper/ip.h\ + $(srcdir)/include/odp/helper/ipsec.h\ + $(srcdir)/include/odp/helper/tcp.h\ + $(srcdir)/include/odp/helper/udp.h + +noinst_HEADERS = \ + $(srcdir)/odph_debug.h \ + $(srcdir)/odph_pause.h + +__LIB__libodphelper_la_SOURCES = \ + linux.c \ + ring.c + +lib_LTLIBRARIES = $(LIB)/libodphelper.la diff --git a/helper/test/Makefile.am b/helper/test/Makefile.am index 9ac82eb..aed97cc 100644 --- a/helper/test/Makefile.am +++ b/helper/test/Makefile.am @@ -24,4 +24,6 @@ bin_PROGRAMS = $(EXECUTABLES) $(COMPILE_ONLY) dist_odp_chksum_SOURCES = odp_chksum.c dist_odp_thread_SOURCES = odp_thread.c +odp_thread_LDADD = $(LIB)/libodphelper.la $(LIB)/libodp.la dist_odp_process_SOURCES = odp_process.c +odp_process_LDADD = $(LIB)/libodphelper.la $(LIB)/libodp.la |