summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libopkg/Makefile.am5
-rw-r--r--src/Makefile.am2
-rw-r--r--tests/Makefile.am2
3 files changed, 4 insertions, 5 deletions
diff --git a/libopkg/Makefile.am b/libopkg/Makefile.am
index c3afb5d..fbc2dd8 100644
--- a/libopkg/Makefile.am
+++ b/libopkg/Makefile.am
@@ -5,11 +5,10 @@ libopkg_includedir=$(includedir)/libopkg
libopkg_include_HEADERS= opkg.h
-opkg_core_sources = args.c args.h \
- user.c user.h
opkg_libcore_sources = args.c args.h libopkg.c libopkg.h\
user.c user.h opkg_state.c opkg_state.h \
- opkg.c opkg.h
+ opkg.c opkg.h includes.h \
+ opkg_error.h opkg_defines.h
opkg_cmd_sources = opkg_cmd.c opkg_cmd.h \
opkg_configure.c opkg_configure.h \
opkg_download.c opkg_download.h \
diff --git a/src/Makefile.am b/src/Makefile.am
index e8e6dce..1fb3ec9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,4 +1,4 @@
-
+AM_CFLAGS = -I${top_srcdir}/libopkg ${ALL_CFLAGS}
bin_PROGRAMS = opkg-cl
opkg_cl_SOURCES = opkg-frontend.c
diff --git a/tests/Makefile.am b/tests/Makefile.am
index a11af3c..0d8c5ce 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,3 +1,4 @@
+AM_CFLAGS = $(ALL_CFLAGS) -I${top_srcdir}/libopkg
#noinst_PROGRAMS = opkg_hash_test opkg_extract_test
noinst_PROGRAMS = libopkg_test
@@ -12,6 +13,5 @@ noinst_PROGRAMS = libopkg_test
libopkg_test_LDADD = $(top_builddir)/libopkg/libopkg.la
libopkg_test_SOURCE = libopkg_test.c
-libopkg_test_CFLAGS = $(ALL_CFLAGS)