Makefile.am 1.22 KB
Newer Older
David Zeuthen's avatar
David Zeuthen committed
1 2 3
## Process this file with automake to produce Makefile.in

INCLUDES = \
4
	-I$(top_builddir) -I$(top_srcdir) \
David Zeuthen's avatar
David Zeuthen committed
5 6 7 8 9
	-DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \
	-DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \
	-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
	-DPACKAGE_BIN_DIR=\""$(bindir)"\" \
	-DPACKAGE_LOCALSTATEDIR=\""$(localstatedir)"\" \
10
	-DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \
David Zeuthen's avatar
David Zeuthen committed
11
	-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT	\
12
	@GLIB_CFLAGS@ @DBUS_CFLAGS@
David Zeuthen's avatar
David Zeuthen committed
13

14
lib_LTLIBRARIES=libpolkit.la
David Zeuthen's avatar
David Zeuthen committed
15

16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
libpolkitincludedir=$(includedir)/PolicyKit/libpolkit

libpolkitinclude_HEADERS =              		\
	libpolkit.h					\
	libpolkit-context.h				\
	libpolkit-privilege.h				\
	libpolkit-resource.h				\
	libpolkit-seat.h				\
	libpolkit-session.h				\
	libpolkit-caller.h

libpolkit_la_SOURCES =                                	\
	libpolkit.h		libpolkit.c		\
	libpolkit-context.h	libpolkit-context.c	\
	libpolkit-privilege.h	libpolkit-privilege.c	\
	libpolkit-resource.h	libpolkit-resource.c	\
	libpolkit-seat.h	libpolkit-seat.c	\
	libpolkit-session.h	libpolkit-session.c	\
	libpolkit-caller.h	libpolkit-caller.c
David Zeuthen's avatar
David Zeuthen committed
35

36
libpolkit_la_LIBADD = @GLIB_LIBS@ @DBUS_LIBS@
David Zeuthen's avatar
David Zeuthen committed
37 38 39 40

libpolkit_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)

clean-local :
41
	rm -f *~ $(BUILT_SOURCES)
David Zeuthen's avatar
David Zeuthen committed
42