Makefile.am 1.81 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
libpolkitincludedir=$(includedir)/PolicyKit/libpolkit

libpolkitinclude_HEADERS =              		\
	libpolkit.h					\
20 21
	libpolkit-error.h				\
	libpolkit-result.h				\
22 23 24 25 26
	libpolkit-context.h				\
	libpolkit-privilege.h				\
	libpolkit-resource.h				\
	libpolkit-seat.h				\
	libpolkit-session.h				\
27
	libpolkit-caller.h				\
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
	libpolkit-privilege-file-entry.h		\
	libpolkit-privilege-file.h			\
	libpolkit-privilege-cache.h			\
	libpolkit-privilege-default.h

libpolkit_la_SOURCES =                  	              				\
	libpolkit.h				libpolkit.c				\
	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		\
46 47
	libpolkit-privilege-default.h		libpolkit-privilege-default.c		\
	libpolkit-debug.h			libpolkit-debug.c
David Zeuthen's avatar
David Zeuthen committed
48

49
libpolkit_la_LIBADD = @GLIB_LIBS@ @DBUS_LIBS@
David Zeuthen's avatar
David Zeuthen committed
50 51 52 53

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

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