]> git.draconx.ca Git - upkg.git/blob - src/Makefile.am
license: Add permissive license to build related source files.
[upkg.git] / src / Makefile.am
1 # Copyright (C) 2009 Nick Bowler
2 # Copying and distribution of this file, with or without modification,
3 # are permitted in any medium without royalty provided the copyright
4 # notice and this notice are preserved.  This file is offered as-is,
5 # without any warranty.
6
7 AM_CPPFLAGS = -DPKGLIBDIR=\"$(pkglibdir)\"
8
9 lib_LTLIBRARIES = libuobject.la libupkg.la
10 pkglib_LTLIBRARIES =
11
12 include_HEADERS = upkg.h
13 noinst_HEADERS  = pack.h avl.h
14
15 include uobject/Makefile.inc
16 include engine/Makefile.inc
17
18 libuobject_la_SOURCES  = uobject.c module.c avl.c package.c \
19         loadable.c exportable.c
20 libuobject_la_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) $(LTDLINCL)
21 libuobject_la_LIBADD   = $(LIBLTDL) $(GLIB_LIBS)
22 libuobject_la_LDFLAGS  = -export-symbols-regex '^u_'
23
24 libupkg_la_SOURCES = libupkg.c pack.c
25
26 bin_PROGRAMS  = upkg
27 upkg_SOURCES  = upkg.c
28 upkg_CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib $(GLIB_CFLAGS)
29 upkg_LDFLAGS  = -L$(top_builddir)/lib -export-dynamic
30 upkg_LDADD    = libuobject.la libupkg.la $(GLIB_LIBS) -lgnu