summaryrefslogtreecommitdiff
path: root/src/nullbackend/Makefile.am
blob: c943da14a2fdb8ad81bf45ac8daf93d096b0e9c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49

NULL =

module_flags = -export_dynamic -avoid-version -module -no-undefined -export-symbols-regex '^g_io_module_(load|unload)'

INCLUDES =                                              	\
	-I$(top_builddir)/src                           	\
	-I$(top_srcdir)/src                             	\
	-DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\"       	\
	-DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\"       	\
	-DPACKAGE_DATA_DIR=\""$(datadir)"\"             	\
	-DPACKAGE_BIN_DIR=\""$(bindir)"\"               	\
	-DPACKAGE_LOCALSTATE_DIR=\""$(localstatedir)"\" 	\
	-DPACKAGE_LOCALE_DIR=\""$(localedir)"\"         	\
	-DPACKAGE_LIB_DIR=\""$(libdir)"\"               	\
	-D_POSIX_PTHREAD_SEMANTICS                      	\
	-D_REENTRANT	                                	\
	$(NULL)

polkitmodulesdir = $(libdir)/polkit-1/backends
polkitmodules_LTLIBRARIES = libpolkit-nullbackend.la

libpolkit_nullbackend_la_SOURCES = 					\
	nullbackend.c							\
	polkitbackendnullauthority.c	polkitbackendnullauthority.h	\
	$(NULL)

libpolkit_nullbackend_la_CFLAGS =                             		\
	-DPOLKIT_BACKEND_I_KNOW_API_IS_SUBJECT_TO_CHANGE		\
	-DG_LOG_DOMAIN=\"PolkitNullBackend\"				\
	$(GLIB_CFLAGS)							\
	$(NULL)

libpolkit_nullbackend_la_LDFLAGS =  	                      		\
	$(module_flags)               					\
	$(GLIB_LDADD)							\
	$(top_builddir)/src/polkitbackend/libpolkit-backend-1.la	\
	$(NULL)

libpolkit_nullbackend_la_LIBADD =  	                      		\
	$(NULL)

nullconfigdir = $(sysconfdir)/polkit-1/nullbackend.conf.d
nullconfig_DATA = 50-nullbackend.conf

EXTRA_DIST = $(nullconfig_DATA)

clean-local :
	rm -f *~