]> git.draconx.ca Git - upkg.git/blobdiff - src/Makefile.am
license: Add permissive license to build related source files.
[upkg.git] / src / Makefile.am
index 95764dfa5a24fe518c8482d527a030b9c635aaec..67f11463053f0516263e5246e04b6b1d1a8d957a 100644 (file)
@@ -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)\"
+
 lib_LTLIBRARIES = libuobject.la libupkg.la
+pkglib_LTLIBRARIES =
 
 include_HEADERS = upkg.h
 noinst_HEADERS  = pack.h avl.h
@@ -8,7 +17,7 @@ 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 '^u_'