X-Git-Url: https://git.draconx.ca/gitweb/upkg.git/blobdiff_plain/20aff832debc500f41798d5bc9577cae68ccba27..16c8474f441790b9d74384f5ffe3ff887ab25f0c:/src/Makefile.am diff --git a/src/Makefile.am b/src/Makefile.am index 1dcd24c..67f1146 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,13 +1,25 @@ +# Copyright (C) 2009 Nick Bowler +# Copying and distribution of this file, with or without modification, +# are permitted in any medium without royalty provided the copyright +# notice and this notice are preserved. This file is offered as-is, +# without any warranty. + +AM_CPPFLAGS = -DPKGLIBDIR=\"$(pkglibdir)\" + lib_LTLIBRARIES = libuobject.la libupkg.la +pkglib_LTLIBRARIES = -include_HEADERS = upkg.h uobject.h -noinst_HEADERS = pack.h loadable.h exportable.h module.h avl.h +include_HEADERS = upkg.h +noinst_HEADERS = pack.h avl.h +include uobject/Makefile.inc include engine/Makefile.inc -libuobject_la_SOURCES = uobject.c module.c avl.c loadable.c exportable.c -libuobject_la_CPPFLAGS = $(GLIB_CFLAGS) $(LTDLINCL) +libuobject_la_SOURCES = uobject.c module.c avl.c package.c \ + loadable.c exportable.c +libuobject_la_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) $(LTDLINCL) libuobject_la_LIBADD = $(LIBLTDL) $(GLIB_LIBS) +libuobject_la_LDFLAGS = -export-symbols-regex '^u_' libupkg_la_SOURCES = libupkg.c pack.c