]> git.draconx.ca Git - upkg.git/blobdiff - src/uobject/Makefile.inc
package: Get rid of separate mechanisms for opening packages.
[upkg.git] / src / uobject / Makefile.inc
index c5cae96b2d66607c61ace87cd536f70b1c7e382d..2009d09f28293950c73b7c60eb445233c25d4c92 100644 (file)
@@ -4,6 +4,17 @@
 # notice and this notice are preserved.  This file is offered as-is,
 # without any warranty.
 
+lib_LTLIBRARIES += libuobject.la
+
 uobjectdir = $(includedir)/uobject
 uobject_HEADERS = uobject/uobject.h uobject/exportable.h uobject/loadable.h \
        uobject/module.h uobject/package.h
+noinst_HEADERS += uobject/avl.h
+
+libuobject_la_SOURCES  = uobject/uobject.c uobject/module.c uobject/avl.c \
+       uobject/package.c uobject/loadable.c uobject/exportable.c \
+       uobject/vfs.c
+libuobject_la_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) $(LTDLINCL) \
+       -DPKGLIBDIR=\"$(pkglibdir)\" -DPKGDATADIR=\"$(pkgdatadir)\"
+libuobject_la_LDFLAGS  = $(AM_LDFLAGS) -export-symbols-regex '^u_'
+libuobject_la_LIBADD   = $(LIBLTDL) $(GLIB_LIBS) -lgnu