]> git.draconx.ca Git - upkg.git/blobdiff - src/Makefile.am
Fix another mistake in uobject's property parsing.
[upkg.git] / src / Makefile.am
index 95e7082795b48b8fa8e7fd41ccef3f408297954c..8bc2f18b868aee5101558a901233f87763f41111 100644 (file)
@@ -2,12 +2,16 @@ lib_LTLIBRARIES = libupkg.la
 
 libupkg_la_SOURCES = libupkg.c pack.c
 include_HEADERS = upkg.h
-noinst_HEADERS = pack.h
+noinst_HEADERS = pack.h exportable.h module.h avl.h
 
 if BUILD_UPKG
-bin_PROGRAMS = upkg
-upkg_SOURCES = upkg.c exportable.c serializable.c music.c
-upkg_CFLAGS  = $(GLIB_CFLAGS)
-upkg_LDFLAGS = $(GLIB_LIBS)
-upkg_LDADD = libupkg.la $(LIBLTDL)
+
+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)
+
 endif