X-Git-Url: https://git.draconx.ca/gitweb/upkg.git/blobdiff_plain/109a6cdf134bce9390c96cbb77531ec4f7eca08e..a6f1f69cc4874e2f2f878289bfc0f677220dfda9:/src/Makefile.am diff --git a/src/Makefile.am b/src/Makefile.am index 80cbd22..128393a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -2,16 +2,17 @@ lib_LTLIBRARIES = libupkg.la libupkg_la_SOURCES = libupkg.c pack.c include_HEADERS = upkg.h -noinst_HEADERS = pack.h exportable.h uobject.h module.h avl.h +noinst_HEADERS = pack.h loadable.h exportable.h uobject.h module.h avl.h if BUILD_UPKG include engine/Makefile.inc bin_PROGRAMS = upkg -upkg_SOURCES = upkg.c avl.c module.c exportable.c uobject.c -upkg_CPPFLAGS = $(GLIB_CFLAGS) $(LTDLINCL) -upkg_LDFLAGS = -export-dynamic -upkg_LDADD = libupkg.la $(LIBLTDL) $(GLIB_LIBS) +upkg_SOURCES = upkg.c avl.c module.c loadable.c exportable.c uobject.c +upkg_CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib \ + $(GLIB_CFLAGS) $(LTDLINCL) +upkg_LDFLAGS = -L$(top_builddir)/lib -export-dynamic +upkg_LDADD = libupkg.la $(LIBLTDL) $(GLIB_LIBS) -lgnu endif