X-Git-Url: https://git.draconx.ca/gitweb/upkg.git/blobdiff_plain/20aff832debc500f41798d5bc9577cae68ccba27..c4d3d44d8e7fe87e6c889c116c267954fca9ac1e:/src/Makefile.am diff --git a/src/Makefile.am b/src/Makefile.am index 1dcd24c..c2019c3 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,18 +1,25 @@ -lib_LTLIBRARIES = libuobject.la libupkg.la +# 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. -include_HEADERS = upkg.h uobject.h -noinst_HEADERS = pack.h loadable.h exportable.h module.h avl.h +AM_CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib +AM_LDFLAGS = -L$(top_builddir)/lib -include engine/Makefile.inc +lib_LTLIBRARIES = libupkg.la +pkglib_LTLIBRARIES = + +include_HEADERS = upkg.h +noinst_HEADERS = pack.h -libuobject_la_SOURCES = uobject.c module.c avl.c loadable.c exportable.c -libuobject_la_CPPFLAGS = $(GLIB_CFLAGS) $(LTDLINCL) -libuobject_la_LIBADD = $(LIBLTDL) $(GLIB_LIBS) +include uobject/Makefile.inc +include engine/Makefile.inc libupkg_la_SOURCES = libupkg.c pack.c bin_PROGRAMS = upkg upkg_SOURCES = upkg.c -upkg_CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib $(GLIB_CFLAGS) -upkg_LDFLAGS = -L$(top_builddir)/lib -export-dynamic +upkg_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) +upkg_LDFLAGS = $(AM_LDFLAGS) -export-dynamic upkg_LDADD = libuobject.la libupkg.la $(GLIB_LIBS) -lgnu