summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorJan Rybar <jrybar@redhat.com>2022-05-09 15:45:33 +0200
committerJan Rybar <jrybar@redhat.com>2022-05-09 15:45:33 +0200
commitc5c6b784221b9dc054548c15e94719c4e961a7f2 (patch)
tree4716bf018665205d5d3add11e3c9e69d67e8f165 /src/examples
parent7d4b52c4d71c46049d87a0775de695ea914f3f1b (diff)
downloadpolkit-c5c6b784221b9dc054548c15e94719c4e961a7f2.tar.gz
Remove autotools build system
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/Makefile.am73
1 files changed, 0 insertions, 73 deletions
diff --git a/src/examples/Makefile.am b/src/examples/Makefile.am
deleted file mode 100644
index b7d885e..0000000
--- a/src/examples/Makefile.am
+++ /dev/null
@@ -1,73 +0,0 @@
-
-NULL =
-AM_CFLAGS = -std=gnu99 $(WARN_CFLAGS)
-
-AM_CPPFLAGS = \
- -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)
-
-bin_PROGRAMS =
-noinst_PROGRAMS =
-
-# ----------------------------------------------------------------------------------------------------
-
-noinst_PROGRAMS += cancel
-
-cancel_SOURCES = cancel.c
-
-cancel_CFLAGS = \
- $(GLIB_CFLAGS) \
- $(NULL)
-
-cancel_LDADD = \
- $(GLIB_LIBS) \
- $(top_builddir)/src/polkit/libpolkit-gobject-1.la \
- $(NULL)
-
-# ----------------------------------------------------------------------------------------------------
-
-bin_PROGRAMS += pk-example-frobnicate
-
-pk_example_frobnicate_SOURCES = frobnicate.c
-
-pk_example_frobnicate_CFLAGS = \
- $(GLIB_CFLAGS) \
- $(NULL)
-
-pk_example_frobnicate_LDADD = \
- $(GLIB_LIBS) \
- $(NULL)
-
-polkit_actiondir = $(datadir)/polkit-1/actions
-polkit_action_in_files = org.freedesktop.policykit.examples.pkexec.policy.in
-dist_polkit_action_DATA = $(polkit_action_in_files:.policy.in=.policy)
-
-org.freedesktop.policykit.examples.pkexec.policy: org.freedesktop.policykit.examples.pkexec.policy.in
- $(AM_V_GEN) GETTEXTDATADIR=$(top_srcdir)/gettext $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
-
-#check:
-# $(top_builddir)/tools/polkit-policy-file-validate-1 $(top_srcdir)/policy/$(dist_polkit_action_DATA)
-
-DISTCLEANFILES = org.freedesktop.policykit.examples.pkexec.policy
-
-EXTRA_DIST = \
- org.freedesktop.policykit.examples.pkexec.policy.in \
- meson.build \
- $(NULL)
-
-# ----------------------------------------------------------------------------------------------------
-
-clean-local :
- rm -f *~
-
--include $(top_srcdir)/git.mk