X-Git-Url: https://git.draconx.ca/gitweb/upkg.git/blobdiff_plain/3896f18892f87f3c354cb47965c4064d3ff26f5d..33c1796d255a720ad076160efd6859ca74d0792f:/src/Makefile.am diff --git a/src/Makefile.am b/src/Makefile.am index a6e3372..719a952 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,4 +1,13 @@ +# 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)\" -DPKGDATADIR=\"$(pkgdatadir)\" + lib_LTLIBRARIES = libuobject.la libupkg.la +pkglib_LTLIBRARIES = include_HEADERS = upkg.h noinst_HEADERS = pack.h avl.h @@ -8,9 +17,9 @@ include engine/Makefile.inc libuobject_la_SOURCES = uobject.c module.c avl.c package.c \ loadable.c exportable.c -libuobject_la_CPPFLAGS = $(GLIB_CFLAGS) $(LTDLINCL) +libuobject_la_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) $(LTDLINCL) libuobject_la_LIBADD = $(LIBLTDL) $(GLIB_LIBS) -libuobject_la_LDFLAGS = -export-symbols-regex '^uobject_' +libuobject_la_LDFLAGS = -export-symbols-regex '^u_' libupkg_la_SOURCES = libupkg.c pack.c