]> git.draconx.ca Git - upkg.git/blobdiff - Makefile.am
Use dxcommon version of the packing library.
[upkg.git] / Makefile.am
index 74463a40b3df59a1a061ba61561aaedf7f7f5e4f..60474a576a1d5694635a5ff78c02538306de4a81 100644 (file)
@@ -13,6 +13,7 @@ CLEANFILES =
 EXTRA_DIST = $(MAINTAINERCLEANFILES) m4/gnulib-cache.m4
 
 AM_CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src \
+       -I$(top_srcdir)/$(DX_BASEDIR)/src \
        -I$(top_builddir)/lib -I$(top_srcdir)/lib \
        -DPKGLIBDIR=\"$(pkglibdir)\" -DPKGDATADIR=\"$(pkgdatadir)\"
 
@@ -36,7 +37,7 @@ upkg_LDFLAGS  = $(AM_LDFLAGS) -export-dynamic
 upkg_LDADD    = libuobject.la libupkg.la libgnu.la $(GLIB_LIBS)
 $(upkg_OBJECTS): $(gnulib_headers)
 
-libupkg_la_SOURCES = src/libupkg.c src/pack.c
+libupkg_la_SOURCES = src/libupkg.c common/src/pack.c common/src/pack.h
 
 uobjectdir = $(includedir)/uobject
 uobject_HEADERS = src/uobject/uobject.h src/uobject/exportable.h \