-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
127 lines (102 loc) · 2.8 KB
/
Makefile.am
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
# This file is part of systemd.
#
# Copyright 2011 Lennart Poettering
# Copyright 2011 Kay Sievers
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# systemd is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
ACLOCAL_AMFLAGS = -I m4
SUBDIRS =
CLEANFILES =
EXTRA_DIST =
INSTALL_EXEC_HOOKS =
UNINSTALL_EXEC_HOOKS =
INSTALL_DATA_HOOKS =
AM_CPPFLAGS = \
-include $(top_builddir)/config.h \
-I $(top_srcdir)/src
bin_PROGRAMS = \
systemadm \
systemd-gnome-ask-password-agent
systemadm_SOURCES = \
src/systemadm.vala \
src/systemd-interfaces.vala
systemadm_CFLAGS = \
$(AM_CFLAGS) \
$(GTK_CFLAGS) \
$(GEE_CFLAGS) \
-Wno-unused-variable \
-Wno-unused-function \
-Wno-shadow \
-Wno-format-nonliteral
systemadm_VALAFLAGS = \
--pkg=posix \
--pkg=gtk+-3.0 \
--pkg=$(GEE_PACKAGE) \
-g
systemadm_LDADD = \
$(GTK_LIBS) \
$(GEE_LIBS)
desktopdir = $(datadir)/applications
dist_desktop_DATA = \
src/systemadm.desktop
appdatadir = $(datadir)/appdata
dist_appdata_DATA = \
src/systemadm.appdata.xml
CLEANFILES += \
${systemadm_SOURCES:.vala=.c}
dist_man_MANS = \
man/systemadm.1
EXTRA_DIST += \
man/systemadm.xml
systemd_gnome_ask_password_agent_SOURCES = \
src/gnome-ask-password-agent.vala
systemd_gnome_ask_password_agent_CFLAGS = \
$(AM_CFLAGS) \
$(LIBNOTIFY_CFLAGS) \
$(GTK_CFLAGS) \
-Wno-unused-variable \
-Wno-unused-function \
-Wno-shadow \
-Wno-format-nonliteral
systemd_gnome_ask_password_agent_VALAFLAGS = \
--pkg=posix \
--pkg=gtk+-3.0 \
--pkg=linux \
--pkg=gio-unix-2.0 \
--pkg=libnotify \
-g
systemd_gnome_ask_password_agent_LDADD = \
$(LIBNOTIFY_LIBS) \
$(GTK_LIBS)
CLEANFILES += \
${systemd_gnome_ask_password_agent_SOURCES:.vala=.c}
if HAVE_XSLTPROC
XSLTPROC_FLAGS = \
--nonet \
--stringparam funcsynopsis.style ansi
XSLTPROC_PROCESS_MAN = \
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
$(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
man/%.1: man/%.xml
$(XSLTPROC_PROCESS_MAN)
CLEANFILES += \
$(dist_man_MANS)
endif
install-exec-hook: $(INSTALL_EXEC_HOOKS)
uninstall-hook: $(UNINSTALL_EXEC_HOOKS)
install-data-hook: $(INSTALL_DATA_HOOKS)
upload: all distcheck
scp systemd-ui-$(VERSION).tar.xz www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd/
git-tag:
git tag "v$(VERSION)" -m "systemd-ui $(VERSION)"