1 # Makefile for rpm library.
3 include $(top_srcdir)/rpm.am
5 AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) -I$(top_builddir)/include/
6 AM_CPPFLAGS += -I$(top_srcdir)/misc
7 AM_CPPFLAGS += -DLOCALEDIR="\"$(localedir)\""
8 AM_CPPFLAGS += -DSYSCONFDIR="\"$(sysconfdir)\""
9 AM_CPPFLAGS += -DLOCALSTATEDIR="\"$(localstatedir)\""
10 AM_CPPFLAGS += -DLIBRPMALIAS_FILENAME="\"rpmpopt-${VERSION}\""
12 AM_LDFLAGS = -avoid-version -module -shared
14 pluginsdir = $(libdir)/rpm-plugins
16 plugins_LTLIBRARIES = exec.la sepolicy.la
18 exec_la_SOURCES = plugin.h exec.c
19 exec_la_LIBADD = $(top_builddir)/lib/librpm.la $(top_builddir)/rpmio/librpmio.la
21 sepolicy_la_SOURCES = plugin.h sepolicy.c
22 sepolicy_la_LIBADD = $(top_builddir)/lib/librpm.la $(top_builddir)/rpmio/librpmio.la @WITH_SELINUX_LIB@