]> git.draconx.ca Git - upkg.git/blob - src/Makefile.am
uobject: Move headers into a separate (installable) directory.
[upkg.git] / src / Makefile.am
1 lib_LTLIBRARIES = libuobject.la libupkg.la
2
3 include_HEADERS = upkg.h
4 noinst_HEADERS  = pack.h avl.h
5
6 include uobject/Makefile.inc
7 include engine/Makefile.inc
8
9 libuobject_la_SOURCES  = uobject.c module.c avl.c loadable.c exportable.c
10 libuobject_la_CPPFLAGS = $(GLIB_CFLAGS) $(LTDLINCL)
11 libuobject_la_LIBADD   = $(LIBLTDL) $(GLIB_LIBS)
12
13 libupkg_la_SOURCES = libupkg.c pack.c
14
15 bin_PROGRAMS  = upkg
16 upkg_SOURCES  = upkg.c
17 upkg_CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib $(GLIB_CFLAGS)
18 upkg_LDFLAGS  = -L$(top_builddir)/lib -export-dynamic
19 upkg_LDADD    = libuobject.la libupkg.la $(GLIB_LIBS) -lgnu