summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-15 00:16:14 (EST)
committer ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-15 00:16:14 (EST)
commitf3c3b7a6b89c7acdc4eb1c42670522b6b20e015f (patch)
tree19cd0568dd8b353fbac9a4bf09939c93cd29b5b9
parent872f7a6ca2c280d9c0df93e20956ce64e3636783 (diff)
opkg: fix distcheck issues
git-svn-id: http://opkg.googlecode.com/svn/trunk@105 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
-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)