GitLab will be down for maintenance this Sunday 13th June, from approx 7-11am UTC. This is for a PostgreSQL migration. See the tracker issue for more informations.

Makefile.am 1.83 KB
Newer Older
David Zeuthen's avatar
David Zeuthen committed
1 2 3 4 5 6 7 8 9 10
## Process this file with automake to produce Makefile.in

INCLUDES = \
	-DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \
	-DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \
	-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
	-DPACKAGE_BIN_DIR=\""$(bindir)"\" \
	-DPACKAGE_LOCALSTATEDIR=\""$(localstatedir)"\" \
	-DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
	-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT	\
11 12 13
	-DDBUS_API_SUBJECT_TO_CHANGE \
	@GLIB_CFLAGS@ \
	@DBUS_GLIB_CFLAGS@
David Zeuthen's avatar
David Zeuthen committed
14

15
lib_LTLIBRARIES=libpolkit.la libpolkit-grant.la
David Zeuthen's avatar
David Zeuthen committed
16 17 18 19 20 21 22 23 24

libpolkitincludedir=$(includedir)/libpolkit

libpolkitinclude_HEADERS =                            \
	libpolkit.h

libpolkit_la_SOURCES =                                \
	libpolkit.c           libpolkit.h

25
libpolkit_la_LIBADD = @DBUS_GLIB_LIBS@ @GLIB_LIBS@
David Zeuthen's avatar
David Zeuthen committed
26 27 28

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

29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51

libpolkit_grantincludedir=$(includedir)/libpolkit

libpolkit_grantinclude_HEADERS =                            \
	libpolkit-grant.h

libpolkit_grant_la_SOURCES =                                \
	libpolkit-grant.c               libpolkit-grant.h               \
					polkit-interface-manager-glue.h \
					polkit-interface-session-glue.h

libpolkit_grant_la_LIBADD = @DBUS_GLIB_LIBS@ @GLIB_LIBS@

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

polkit-interface-manager-glue.h: ../polkit-interface-manager.xml Makefile.am
	dbus-binding-tool --prefix=polkit_manager --mode=glib-client --output=polkit-interface-manager-glue.h ../polkit-interface-manager.xml

polkit-interface-session-glue.h: ../polkit-interface-session.xml Makefile.am
	dbus-binding-tool --prefix=polkit_session --mode=glib-client --output=polkit-interface-session-glue.h ../polkit-interface-session.xml

BUILT_SOURCES = polkit-interface-manager-glue.h polkit-interface-session-glue.h

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