Makefile.am 1.45 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 28 29 30 31
	libpolkit-caller.h				\
	libpolkit-privilege-file.h

libpolkit_la_SOURCES =                  	              		\
	libpolkit.h			libpolkit.c			\
32 33
	libpolkit-error.h		libpolkit-error.c		\
	libpolkit-result.h		libpolkit-result.c		\
34 35 36 37 38 39 40
	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.h	libpolkit-privilege-file.c
David Zeuthen's avatar
David Zeuthen committed
41

42
libpolkit_la_LIBADD = @GLIB_LIBS@ @DBUS_LIBS@
David Zeuthen's avatar
David Zeuthen committed
43 44 45 46

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

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