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.
7 AM_CPPFLAGS = -DPKGLIBDIR=\"$(pkglibdir)\" -DPKGDATADIR=\"$(pkgdatadir)\"
9 lib_LTLIBRARIES = libupkg.la
12 include_HEADERS = upkg.h
13 noinst_HEADERS = pack.h
15 include uobject/Makefile.inc
16 include engine/Makefile.inc
18 libupkg_la_SOURCES = libupkg.c pack.c
22 upkg_CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib $(GLIB_CFLAGS)
23 upkg_LDFLAGS = -L$(top_builddir)/lib -export-dynamic
24 upkg_LDADD = libuobject.la libupkg.la $(GLIB_LIBS) -lgnu