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 = -I$(top_builddir)/lib -I$(top_srcdir)/lib
8 AM_LDFLAGS = -L$(top_builddir)/lib
10 lib_LTLIBRARIES = libupkg.la
13 include_HEADERS = upkg.h
14 noinst_HEADERS = pack.h
16 include uobject/Makefile.inc
17 include engine/Makefile.inc
19 libupkg_la_SOURCES = libupkg.c pack.c
23 upkg_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS)
24 upkg_LDFLAGS = $(AM_LDFLAGS) -export-dynamic
25 upkg_LDADD = libuobject.la libupkg.la $(GLIB_LIBS) -lgnu