~jbicha/ubuntu/oneiric/gnome-shell/oneiric-3.2.2.1

« back to all changes in this revision

Viewing changes to .pc/debian-changes-3.1.4-0ubuntu2/src/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2011-09-07 09:09:05 UTC
  • mfrom: (1.1.29 upstream)
  • Revision ID: package-import@ubuntu.com-20110907090905-kbo4fewcg12zt99u
Tags: 3.1.90.1-0ubuntu1
* New upstream release.
* debian/control: Bump build-depends on new mutter
* debian/patches/01_favorite_apps.patch: Updated
* debian/patches/03_remove-glx-dependency-on-armel.patch: Refreshed
* debian/patches/04_build-without-caribou.patch
  - Build without caribou since Ubuntu uses onboard and our System 
    Settings doesn't support choosing a different screen keyboard yet

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_DATA): $(service_in_files) 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-gdmuser.am
72
 
include Makefile-st.am
73
 
include Makefile-tray.am
74
 
include Makefile-gvc.am
75
 
include Makefile-calendar-server.am
76
 
include Makefile-hotplug-sniffer.am
77
 
 
78
 
gnome_shell_cflags =                            \
79
 
        $(GNOME_SHELL_CFLAGS)                   \
80
 
        -I$(srcdir)/tray                        \
81
 
        -DVERSION=\"$(VERSION)\"                \
82
 
        -DLOCALEDIR=\"$(datadir)/locale\"       \
83
 
        -DDATADIR=\"$(datadir)\"                \
84
 
        -DGNOME_SHELL_LIBEXECDIR=\"$(libexecdir)\"      \
85
 
        -DGNOME_SHELL_DATADIR=\"$(pkgdatadir)\" \
86
 
        -DGNOME_SHELL_PKGLIBDIR=\"$(pkglibdir)\" \
87
 
        -DJSDIR=\"$(pkgdatadir)/js\"
88
 
 
89
 
privlibdir = $(pkglibdir)
90
 
privlib_LTLIBRARIES = libgnome-shell.la
91
 
 
92
 
shell_built_sources = \
93
 
        shell-marshal.h \
94
 
        shell-marshal.c \
95
 
        shell-enum-types.h \
96
 
        shell-enum-types.c
97
 
 
98
 
BUILT_SOURCES += $(shell_built_sources)
99
 
EXTRA_DIST += shell-marshal.list
100
 
 
101
 
shell_public_headers_h =                \
102
 
        shell-app.h                     \
103
 
        shell-app-system.h              \
104
 
        shell-app-usage.h               \
105
 
        shell-arrow.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-perf-log.h                \
114
 
        shell-slicer.h                  \
115
 
        shell-stack.h                   \
116
 
        shell-tp-client.h                       \
117
 
        shell-tray-icon.h               \
118
 
        shell-tray-manager.h            \
119
 
        shell-util.h                    \
120
 
        shell-window-tracker.h          \
121
 
        shell-wm.h                      \
122
 
        shell-xfixes-cursor.h
123
 
 
124
 
libgnome_shell_la_SOURCES =             \
125
 
        $(shell_built_sources)          \
126
 
        $(shell_public_headers_h)       \
127
 
        shell-app-private.h             \
128
 
        shell-embedded-window-private.h \
129
 
        shell-global-private.h          \
130
 
        shell-jsapi-compat-private.h    \
131
 
        shell-window-tracker-private.h  \
132
 
        shell-wm-private.h              \
133
 
        gnome-shell-plugin.c            \
134
 
        shell-app.c                     \
135
 
        shell-a11y.h                    \
136
 
        shell-a11y.c                    \
137
 
        shell-app-system.c              \
138
 
        shell-app-usage.c               \
139
 
        shell-arrow.c                   \
140
 
        shell-doc-system.c              \
141
 
        shell-embedded-window.c         \
142
 
        shell-generic-container.c       \
143
 
        shell-gtk-embed.c               \
144
 
        shell-global.c                  \
145
 
        shell-mobile-providers.c        \
146
 
        shell-mount-operation.c         \
147
 
        shell-perf-log.c                \
148
 
        shell-polkit-authentication-agent.h     \
149
 
        shell-polkit-authentication-agent.c     \
150
 
        shell-slicer.c                  \
151
 
        shell-stack.c                   \
152
 
        shell-tp-client.c                       \
153
 
        shell-tray-icon.c               \
154
 
        shell-tray-manager.c            \
155
 
        shell-util.c                    \
156
 
        shell-window-tracker.c          \
157
 
        shell-wm.c                      \
158
 
        shell-xfixes-cursor.c
159
 
 
160
 
libgnome_shell_la_gir_sources = \
161
 
        $(filter-out %-private.h $(shell_recorder_non_gir_sources), $(shell_public_headers_h) $(libgnome_shell_la_SOURCES))
162
 
 
163
 
gnome_shell_real_SOURCES =              \
164
 
        main.c
165
 
gnome_shell_real_CPPFLAGS = $(gnome_shell_cflags)
166
 
gnome_shell_real_LDADD = libgnome-shell.la $(libgnome_shell_la_LIBADD)
167
 
gnome_shell_real_DEPENDENCIES = libgnome-shell.la
168
 
 
169
 
########################################
170
 
 
171
 
shell_recorder_sources =        \
172
 
        shell-recorder.c        \
173
 
        shell-recorder.h
174
 
 
175
 
# Custom element is an internal detail
176
 
shell_recorder_non_gir_sources =  \
177
 
        shell-recorder-src.c      \
178
 
        shell-recorder-src.h
179
 
 
180
 
if BUILD_RECORDER
181
 
libgnome_shell_la_SOURCES += $(shell_recorder_sources) $(shell_recorder_non_gir_sources)
182
 
 
183
 
noinst_PROGRAMS += test-recorder
184
 
 
185
 
test_recorder_CPPFLAGS = $(TEST_SHELL_RECORDER_CFLAGS)
186
 
test_recorder_LDADD = $(TEST_SHELL_RECORDER_LIBS)
187
 
 
188
 
test_recorder_SOURCES =     \
189
 
        $(shell_recorder_sources) $(shell_recorder_non_gir_sources) \
190
 
        test-recorder.c
191
 
endif BUILD_RECORDER
192
 
 
193
 
########################################
194
 
 
195
 
libexec_PROGRAMS += gnome-shell-perf-helper
196
 
 
197
 
gnome_shell_perf_helper_SOURCES = shell-perf-helper.c
198
 
gnome_shell_perf_helper_CPPFLAGS = $(SHELL_PERF_HELPER_CFLAGS)
199
 
gnome_shell_perf_helper_LDADD = $(SHELL_PERF_HELPER_LIBS)
200
 
 
201
 
########################################
202
 
 
203
 
noinst_PROGRAMS += run-js-test
204
 
 
205
 
run_js_test_CPPFLAGS = $(gnome_shell_cflags)
206
 
run_js_test_LDADD = libgnome-shell.la $(libgnome_shell_la_LIBADD)
207
 
run_js_test_LDFLAGS = -export-dynamic
208
 
 
209
 
run_js_test_SOURCES =                   \
210
 
        run-js-test.c
211
 
 
212
 
########################################
213
 
 
214
 
shell-marshal.h: stamp-shell-marshal.h
215
 
        @true
216
 
stamp-shell-marshal.h: Makefile shell-marshal.list
217
 
        $(AM_V_GEN) $(GLIB_GENMARSHAL) \
218
 
                --prefix=_shell_marshal \
219
 
                --header \
220
 
        $(srcdir)/shell-marshal.list > xgen-smh && \
221
 
        (cmp -s xgen-smh shell-marshal.h || cp -f xgen-smh shell-marshal.h) && \
222
 
        rm -f xgen-smh && \
223
 
        echo timestamp > $(@F)
224
 
CLEANFILES += stamp-shell-marshal.h
225
 
 
226
 
shell-marshal.c: Makefile shell-marshal.list
227
 
        $(AM_V_GEN) (echo "#include \"shell-marshal.h\"" ; \
228
 
         $(GLIB_GENMARSHAL) \
229
 
                --prefix=_shell_marshal \
230
 
                --body \
231
 
         $(srcdir)/shell-marshal.list ) > xgen-smc && \
232
 
        cp -f xgen-smc shell-marshal.c && \
233
 
        rm -f xgen-smc
234
 
 
235
 
 
236
 
shell-enum-types.h: stamp-shell-enum-types.h Makefile
237
 
        @true
238
 
stamp-shell-enum-types.h: $(srcdir)/shell-enum-types.h.in $(shell_public_headers_h)
239
 
        $(AM_V_GEN) ( \
240
 
          $(GLIB_MKENUMS) \
241
 
            --template $< \
242
 
          $(addprefix $(srcdir)/,$(shell_public_headers_h)) ) > $(@F).tmp && \
243
 
        (cmp -s $(@F).tmp shell-enum-types.h || mv $(@F).tmp shell-enum-types.h) && \
244
 
        rm -f $(@F).tmp && \
245
 
        echo timestamp > $(@F)
246
 
EXTRA_DIST += shell-enum-types.h.in
247
 
CLEANFILES += stamp-shell-enum-types.h
248
 
 
249
 
shell-enum-types.c: $(srcdir)/shell-enum-types.c.in stamp-shell-enum-types.h
250
 
        $(AM_V_GEN) ( \
251
 
          $(GLIB_MKENUMS) \
252
 
            --template $< \
253
 
          $(addprefix $(srcdir)/,$(shell_public_headers_h)) ) > $(@F).tmp && \
254
 
        mv $(@F).tmp $(@F) && \
255
 
        rm -f $(@F).tmp
256
 
EXTRA_DIST += shell-enum-types.c.in
257
 
 
258
 
libgnome_shell_la_LDFLAGS = -avoid-version
259
 
libgnome_shell_la_LIBADD =              \
260
 
        -lm                     \
261
 
        $(GNOME_SHELL_LIBS)     \
262
 
        $(BLUETOOTH_LIBS)       \
263
 
        libst-1.0.la            \
264
 
        libgdmuser-1.0.la       \
265
 
        libtray.la              \
266
 
        libgvc.la               \
267
 
        $(NULL)
268
 
 
269
 
libgnome_shell_la_CPPFLAGS = $(gnome_shell_cflags)
270
 
 
271
 
Shell-0.1.gir: libgnome-shell.la St-1.0.gir
272
 
Shell_0_1_gir_INCLUDES = Clutter-1.0 ClutterX11-1.0 Meta-3.0 TelepathyGLib-0.12 TelepathyLogger-0.2 Soup-2.4
273
 
Shell_0_1_gir_CFLAGS = $(libgnome_shell_la_CPPFLAGS) -I $(srcdir)
274
 
Shell_0_1_gir_LIBS = libgnome-shell.la
275
 
Shell_0_1_gir_FILES = $(libgnome_shell_la_gir_sources)
276
 
Shell_0_1_gir_SCANNERFLAGS = --include-uninstalled=$(builddir)/St-1.0.gir \
277
 
        --add-include-path=$(MUTTER_GIR_DIR)
278
 
INTROSPECTION_GIRS += Shell-0.1.gir
279
 
CLEANFILES += Shell-0.1.gir
280
 
 
281
 
St-1.0.gir: libst-1.0.la
282
 
St_1_0_gir_INCLUDES = Clutter-1.0 Gtk-3.0
283
 
St_1_0_gir_CFLAGS = $(st_cflags) -DST_COMPILATION
284
 
St_1_0_gir_LIBS = libst-1.0.la
285
 
St_1_0_gir_FILES = $(filter-out %-private.h $(st_non_gir_sources), $(addprefix $(srcdir)/,$(st_source_h))) \
286
 
        $(addprefix $(srcdir)/,$(st_source_c))
287
 
INTROSPECTION_GIRS += St-1.0.gir
288
 
CLEANFILES += St-1.0.gir
289
 
 
290
 
Gdm-1.0.gir: libgdmuser-1.0.la
291
 
Gdm_1_0_gir_INCLUDES = GObject-2.0 GdkPixbuf-2.0
292
 
Gdm_1_0_gir_CFLAGS = $(gdmuser_cflags)
293
 
Gdm_1_0_gir_LIBS = libgdmuser-1.0.la
294
 
Gdm_1_0_gir_FILES = $(filter-out %-private.h, $(addprefix $(srcdir)/,$(gdmuser_source_h))) \
295
 
        $(addprefix $(srcdir)/,$(gdmuser_source_c))
296
 
INTROSPECTION_GIRS += Gdm-1.0.gir
297
 
CLEANFILES += Gdm-1.0.gir