~ubuntu-branches/ubuntu/trusty/gnome-shell/trusty-proposed

« back to all changes in this revision

Viewing changes to .pc/02_rpath-bluetooth-applet.patch/src/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2012-03-14 13:47:20 UTC
  • mfrom: (1.1.36) (18.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20120314134720-202sbjbu4a3z1fru
Tags: 3.3.90-0ubuntu1
* Sync with Debian experimental svn packaging (LP: #941755, #937709).
  Remaining changes:
  - debian/gnome-shell.gsettings-override: Update for Ubuntu defaults
  - debian/control.in: Recommend cups-pk-helper
  - debian/patches/10-make-NetworkManager-optional.patch: Disabled
  - Don't run dh-autoreconf

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
NULL = 
2
 
BUILT_SOURCES =
3
 
CLEANFILES =
4
 
EXTRA_DIST =
5
 
bin_SCRIPTS =
6
 
libexec_PROGRAMS =
7
 
noinst_LTLIBRARIES =
8
 
noinst_PROGRAMS =
9
 
service_in_files =
10
 
 
11
 
-include $(INTROSPECTION_MAKEFILE)
12
 
INTROSPECTION_GIRS =
13
 
INTROSPECTION_SCANNER_ARGS = --warn-all --warn-error --add-include-path=$(srcdir)
14
 
INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir) --includedir=$(MUTTER_TYPELIB_DIR)
15
 
 
16
 
typelibdir = $(pkglibdir)
17
 
typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
18
 
 
19
 
servicedir = $(datadir)/dbus-1/services
20
 
service_DATA = $(service_in_files:.service.in=.service)
21
 
 
22
 
%.service: %.service.in Makefile
23
 
        $(AM_V_GEN)                                                                     \
24
 
                [ -d $(@D) ] || $(mkdir_p) $(@D) ;                                      \
25
 
                sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@.tmp && mv $@.tmp $@
26
 
CLEANFILES += $(service_DATA)
27
 
 
28
 
CLEANFILES += $(gir_DATA) $(typelib_DATA)
29
 
 
30
 
bin_SCRIPTS += gnome-shell-extension-tool
31
 
EXTRA_DIST += gnome-shell-extension-tool.in
32
 
bin_PROGRAMS = gnome-shell-real
33
 
 
34
 
if USE_JHBUILD_WRAPPER_SCRIPT
35
 
gnome_shell = gnome-shell-jhbuild
36
 
bin_SCRIPTS += gnome-shell-jhbuild
37
 
else
38
 
gnome_shell = gnome-shell-real
39
 
endif
40
 
EXTRA_DIST += gnome-shell-jhbuild.in
41
 
 
42
 
noinst_DATA = gnome-shell
43
 
gnome-shell: $(gnome_shell) Makefile
44
 
        $(AM_V_GEN) cp $< $@.tmp && mv $@.tmp $@
45
 
install-exec-hook:
46
 
        mv $(DESTDIR)$(bindir)/$(gnome_shell) $(DESTDIR)$(bindir)/gnome-shell
47
 
uninstall-hook:
48
 
        rm -f $(DESTDIR)$(bindir)/gnome-shell
49
 
 
50
 
generated_script_substitutions = \
51
 
            -e "s|@bindir[@]|$(bindir)|" \
52
 
            -e "s|@datadir[@]|$(datadir)|" \
53
 
            -e "s|@libexecdir[@]|$(libexecdir)|" \
54
 
            -e "s|@libdir[@]|$(libdir)|" \
55
 
            -e "s|@JHBUILD_TYPELIBDIR[@]|$(JHBUILD_TYPELIBDIR)|" \
56
 
            -e "s|@pkgdatadir[@]|$(pkgdatadir)|" \
57
 
            -e "s|@PYTHON[@]|$(PYTHON)|" \
58
 
            -e "s|@VERSION[@]|$(VERSION)|" \
59
 
            -e "s|@sysconfdir[@]|$(sysconfdir)|"
60
 
 
61
 
gnome-shell-jhbuild: gnome-shell-jhbuild.in gnome-shell-real Makefile
62
 
        $(AM_V_GEN) sed $(generated_script_substitutions) $< > $@.tmp && mv $@.tmp $@ && chmod a+x $@
63
 
        @# Regenerate libtool wrapper so Alt+F2 restart will work
64
 
        @$(LIBTOOL) --mode=execute test -f gnome-shell-real
65
 
 
66
 
gnome-shell-extension-tool: gnome-shell-extension-tool.in Makefile
67
 
        $(AM_V_GEN) sed $(generated_script_substitutions) $< > $@.tmp && mv $@.tmp $@ && chmod a+x $@
68
 
 
69
 
CLEANFILES += gnome-shell $(bin_SCRIPTS)
70
 
 
71
 
include Makefile-st.am
72
 
include Makefile-tray.am
73
 
include Makefile-gvc.am
74
 
include Makefile-calendar-server.am
75
 
include Makefile-hotplug-sniffer.am
76
 
 
77
 
gnome_shell_cflags =                            \
78
 
        $(GNOME_SHELL_CFLAGS)                   \
79
 
        -I$(srcdir)/tray                        \
80
 
        -DVERSION=\"$(VERSION)\"                \
81
 
        -DLOCALEDIR=\"$(datadir)/locale\"       \
82
 
        -DDATADIR=\"$(datadir)\"                \
83
 
        -DGNOME_SHELL_LIBEXECDIR=\"$(libexecdir)\"      \
84
 
        -DGNOME_SHELL_DATADIR=\"$(pkgdatadir)\" \
85
 
        -DGNOME_SHELL_PKGLIBDIR=\"$(pkglibdir)\" \
86
 
        -DJSDIR=\"$(pkgdatadir)/js\"
87
 
 
88
 
privlibdir = $(pkglibdir)
89
 
privlib_LTLIBRARIES = libgnome-shell.la
90
 
 
91
 
shell_built_sources = \
92
 
        shell-marshal.h \
93
 
        shell-marshal.c \
94
 
        shell-enum-types.h \
95
 
        shell-enum-types.c
96
 
 
97
 
BUILT_SOURCES += $(shell_built_sources)
98
 
EXTRA_DIST += shell-marshal.list
99
 
 
100
 
shell_public_headers_h =                \
101
 
        shell-app.h                     \
102
 
        shell-app-system.h              \
103
 
        shell-app-usage.h               \
104
 
        shell-arrow.h                   \
105
 
        shell-contact-system.h  \
106
 
        shell-doc-system.h              \
107
 
        shell-embedded-window.h         \
108
 
        shell-generic-container.h       \
109
 
        shell-gtk-embed.h               \
110
 
        shell-global.h                  \
111
 
        shell-mobile-providers.h        \
112
 
        shell-mount-operation.h         \
113
 
        shell-network-agent.h           \
114
 
        shell-perf-log.h                \
115
 
        shell-slicer.h                  \
116
 
        shell-stack.h                   \
117
 
        shell-tp-client.h               \
118
 
        shell-tray-icon.h               \
119
 
        shell-tray-manager.h            \
120
 
        shell-util.h                    \
121
 
        shell-window-tracker.h          \
122
 
        shell-wm.h                      \
123
 
        shell-xfixes-cursor.h
124
 
 
125
 
libgnome_shell_la_SOURCES =             \
126
 
        $(shell_built_sources)          \
127
 
        $(shell_public_headers_h)       \
128
 
        shell-app-private.h             \
129
 
        shell-app-system-private.h      \
130
 
        shell-embedded-window-private.h \
131
 
        shell-global-private.h          \
132
 
        shell-jsapi-compat-private.h    \
133
 
        shell-window-tracker-private.h  \
134
 
        shell-wm-private.h              \
135
 
        gnome-shell-plugin.c            \
136
 
        shell-app.c                     \
137
 
        shell-a11y.h                    \
138
 
        shell-a11y.c                    \
139
 
        shell-app-system.c              \
140
 
        shell-app-usage.c               \
141
 
        shell-arrow.c                   \
142
 
        shell-contact-system.c  \
143
 
        shell-doc-system.c              \
144
 
        shell-embedded-window.c         \
145
 
        shell-generic-container.c       \
146
 
        shell-gtk-embed.c               \
147
 
        shell-global.c                  \
148
 
        shell-mobile-providers.c        \
149
 
        shell-mount-operation.c         \
150
 
        shell-network-agent.c           \
151
 
        shell-perf-log.c                \
152
 
        shell-polkit-authentication-agent.h     \
153
 
        shell-polkit-authentication-agent.c     \
154
 
        shell-slicer.c                  \
155
 
        shell-stack.c                   \
156
 
        shell-tp-client.c                       \
157
 
        shell-tray-icon.c               \
158
 
        shell-tray-manager.c            \
159
 
        shell-util.c                    \
160
 
        shell-window-tracker.c          \
161
 
        shell-wm.c                      \
162
 
        shell-xfixes-cursor.c
163
 
 
164
 
libgnome_shell_la_gir_sources = \
165
 
        $(filter-out %-private.h $(shell_recorder_non_gir_sources), $(shell_public_headers_h) $(libgnome_shell_la_SOURCES))
166
 
 
167
 
gnome_shell_real_SOURCES =              \
168
 
        main.c
169
 
gnome_shell_real_CPPFLAGS = $(gnome_shell_cflags)
170
 
gnome_shell_real_LDADD = libgnome-shell.la $(libgnome_shell_la_LIBADD)
171
 
gnome_shell_real_DEPENDENCIES = libgnome-shell.la
172
 
 
173
 
########################################
174
 
 
175
 
shell_recorder_sources =        \
176
 
        shell-recorder.c        \
177
 
        shell-recorder.h
178
 
 
179
 
# Custom element is an internal detail
180
 
shell_recorder_non_gir_sources =  \
181
 
        shell-recorder-src.c      \
182
 
        shell-recorder-src.h
183
 
 
184
 
if BUILD_RECORDER
185
 
libgnome_shell_la_SOURCES += $(shell_recorder_sources) $(shell_recorder_non_gir_sources)
186
 
 
187
 
noinst_PROGRAMS += test-recorder
188
 
 
189
 
test_recorder_CPPFLAGS = $(TEST_SHELL_RECORDER_CFLAGS)
190
 
test_recorder_LDADD = $(TEST_SHELL_RECORDER_LIBS)
191
 
 
192
 
test_recorder_SOURCES =     \
193
 
        $(shell_recorder_sources) $(shell_recorder_non_gir_sources) \
194
 
        test-recorder.c
195
 
endif BUILD_RECORDER
196
 
 
197
 
########################################
198
 
 
199
 
libexec_PROGRAMS += gnome-shell-perf-helper
200
 
 
201
 
gnome_shell_perf_helper_SOURCES = shell-perf-helper.c
202
 
gnome_shell_perf_helper_CPPFLAGS = $(SHELL_PERF_HELPER_CFLAGS)
203
 
gnome_shell_perf_helper_LDADD = $(SHELL_PERF_HELPER_LIBS)
204
 
 
205
 
########################################
206
 
 
207
 
noinst_PROGRAMS += run-js-test
208
 
 
209
 
run_js_test_CPPFLAGS = $(gnome_shell_cflags)
210
 
run_js_test_LDADD = libgnome-shell.la $(libgnome_shell_la_LIBADD)
211
 
run_js_test_LDFLAGS = -export-dynamic
212
 
 
213
 
run_js_test_SOURCES =                   \
214
 
        run-js-test.c
215
 
 
216
 
########################################
217
 
 
218
 
shell-marshal.h: stamp-shell-marshal.h
219
 
        @true
220
 
stamp-shell-marshal.h: Makefile shell-marshal.list
221
 
        $(AM_V_GEN) $(GLIB_GENMARSHAL) \
222
 
                --prefix=_shell_marshal \
223
 
                --header \
224
 
        $(srcdir)/shell-marshal.list > xgen-smh && \
225
 
        (cmp -s xgen-smh shell-marshal.h || cp -f xgen-smh shell-marshal.h) && \
226
 
        rm -f xgen-smh && \
227
 
        echo timestamp > $(@F)
228
 
CLEANFILES += stamp-shell-marshal.h
229
 
 
230
 
shell-marshal.c: Makefile shell-marshal.list
231
 
        $(AM_V_GEN) (echo "#include \"shell-marshal.h\"" ; \
232
 
         $(GLIB_GENMARSHAL) \
233
 
                --prefix=_shell_marshal \
234
 
                --body \
235
 
         $(srcdir)/shell-marshal.list ) > xgen-smc && \
236
 
        cp -f xgen-smc shell-marshal.c && \
237
 
        rm -f xgen-smc
238
 
 
239
 
 
240
 
shell-enum-types.h: stamp-shell-enum-types.h Makefile
241
 
        @true
242
 
stamp-shell-enum-types.h: $(srcdir)/shell-enum-types.h.in $(shell_public_headers_h)
243
 
        $(AM_V_GEN) ( \
244
 
          $(GLIB_MKENUMS) \
245
 
            --template $< \
246
 
          $(addprefix $(srcdir)/,$(shell_public_headers_h)) ) > $(@F).tmp && \
247
 
        (cmp -s $(@F).tmp shell-enum-types.h || mv $(@F).tmp shell-enum-types.h) && \
248
 
        rm -f $(@F).tmp && \
249
 
        echo timestamp > $(@F)
250
 
EXTRA_DIST += shell-enum-types.h.in
251
 
CLEANFILES += stamp-shell-enum-types.h
252
 
 
253
 
shell-enum-types.c: $(srcdir)/shell-enum-types.c.in stamp-shell-enum-types.h
254
 
        $(AM_V_GEN) ( \
255
 
          $(GLIB_MKENUMS) \
256
 
            --template $< \
257
 
          $(addprefix $(srcdir)/,$(shell_public_headers_h)) ) > $(@F).tmp && \
258
 
        mv $(@F).tmp $(@F) && \
259
 
        rm -f $(@F).tmp
260
 
EXTRA_DIST += shell-enum-types.c.in
261
 
 
262
 
libgnome_shell_la_LDFLAGS = -avoid-version
263
 
libgnome_shell_la_LIBADD =              \
264
 
        -lm                     \
265
 
        $(GNOME_SHELL_LIBS)     \
266
 
        $(BLUETOOTH_LIBS)       \
267
 
        libst-1.0.la            \
268
 
        libtray.la              \
269
 
        libgvc.la               \
270
 
        $(NULL)
271
 
 
272
 
libgnome_shell_la_CPPFLAGS = $(gnome_shell_cflags)
273
 
 
274
 
Shell-0.1.gir: libgnome-shell.la St-1.0.gir
275
 
Shell_0_1_gir_INCLUDES = Clutter-1.0 ClutterX11-1.0 Meta-3.0 TelepathyGLib-0.12 TelepathyLogger-0.2 Soup-2.4 GMenu-3.0 NetworkManager-1.0 NMClient-1.0 Folks-0.6
276
 
Shell_0_1_gir_CFLAGS = $(libgnome_shell_la_CPPFLAGS) -I $(srcdir)
277
 
Shell_0_1_gir_LIBS = libgnome-shell.la
278
 
Shell_0_1_gir_FILES = $(libgnome_shell_la_gir_sources)
279
 
Shell_0_1_gir_SCANNERFLAGS = --include-uninstalled=$(builddir)/St-1.0.gir \
280
 
        --add-include-path=$(MUTTER_GIR_DIR)
281
 
INTROSPECTION_GIRS += Shell-0.1.gir
282
 
CLEANFILES += Shell-0.1.gir
283
 
 
284
 
St-1.0.gir: libst-1.0.la
285
 
St_1_0_gir_INCLUDES = Clutter-1.0 Gtk-3.0
286
 
St_1_0_gir_CFLAGS = $(st_cflags) -DST_COMPILATION
287
 
St_1_0_gir_LIBS = libst-1.0.la
288
 
St_1_0_gir_FILES = $(filter-out %-private.h $(st_non_gir_sources), $(addprefix $(srcdir)/,$(st_source_h))) \
289
 
        $(addprefix $(srcdir)/,$(st_source_c))
290
 
INTROSPECTION_GIRS += St-1.0.gir
291
 
CLEANFILES += St-1.0.gir