Makefile.am 1.9 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)"\" \
11
	-DPACKAGE_LIB_DIR=\""$(libdir)"\" \
David Zeuthen's avatar
David Zeuthen committed
12
	-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT	\
13
	@GLIB_CFLAGS@ @DBUS_CFLAGS@
David Zeuthen's avatar
David Zeuthen committed
14

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

17 18 19 20
libpolkitincludedir=$(includedir)/PolicyKit/libpolkit

libpolkitinclude_HEADERS =              		\
	libpolkit.h					\
21 22
	libpolkit-error.h				\
	libpolkit-result.h				\
23 24 25 26 27
	libpolkit-context.h				\
	libpolkit-privilege.h				\
	libpolkit-resource.h				\
	libpolkit-seat.h				\
	libpolkit-session.h				\
28
	libpolkit-caller.h				\
29 30 31
	libpolkit-privilege-file-entry.h		\
	libpolkit-privilege-file.h			\
	libpolkit-privilege-cache.h			\
32 33
	libpolkit-privilege-default.h			\
	libpolkit-module.h
34 35

libpolkit_la_SOURCES =                  	              				\
36
	libpolkit.h									\
37 38 39 40 41 42 43 44 45 46 47
	libpolkit-error.h			libpolkit-error.c			\
	libpolkit-result.h			libpolkit-result.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			\
	libpolkit-privilege-file-entry.h	libpolkit-privilege-file-entry.c	\
	libpolkit-privilege-file.h		libpolkit-privilege-file.c		\
	libpolkit-privilege-cache.h		libpolkit-privilege-cache.c		\
48
	libpolkit-privilege-default.h		libpolkit-privilege-default.c		\
49 50
	libpolkit-debug.h			libpolkit-debug.c			\
	libpolkit-module.h			libpolkit-module.c
David Zeuthen's avatar
David Zeuthen committed
51

52
libpolkit_la_LIBADD = @GLIB_LIBS@ @DBUS_LIBS@ -ldl
David Zeuthen's avatar
David Zeuthen committed
53 54 55 56

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

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