~ubuntu-dev/ubuntu/lucid/mutter/lucid-201002101912

« back to all changes in this revision

Viewing changes to src/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2009-08-10 19:00:42 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090810190042-cg6drmydzek5gwbh
Tags: 2.27.1git090806-0ubuntu1
* New upstream release from git repositoy, using now clutter 1.0,
  needed for last GNOME shell.
* debian/control.in: build-dep on libclutter-1.0-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
147
147
 
148
148
libmutterincludedir = $(includedir)/mutter/mutter-private
149
149
 
 
150
# Headers installed for plugins; introspected information will
 
151
# be extracted into Mutter-<version>.gir
150
152
libmutterinclude_base_headers =         \
151
153
        include/alttabhandler.h                 \
152
154
        include/boxes.h                         \
154
156
        include/main.h                          \
155
157
        include/util.h                          \
156
158
        include/common.h                        \
157
 
        ui/preview-widget.h                     \
158
159
        ui/theme-parser.h                       \
159
160
        ui/theme.h                              \
160
161
        include/prefs.h                         \
171
172
        include/mutter-window.h
172
173
 
173
174
# Excluded from scanning for introspection but installed
 
175
# preview-widget.h: only part of libmutter-private
 
176
# atomnames.h: macros cause problems for scanning process
174
177
libmutterinclude_extra_headers =                \
 
178
        ui/preview-widget.h                     \
175
179
        include/atomnames.h
176
180
 
177
181
libmutterinclude_HEADERS =                      \
198
202
# We need to strip out the attribute that would point back to libmutter-introspect
199
203
# so that libgirepository looks for symbols in the executable instead
200
204
Meta-$(api_version).gir: $(G_IR_SCANNER) mutter $(libmutterinclude_HEADERS) $(mutter_SOURCES)
201
 
        pwd=`pwd` ;                                     \
 
205
        $(AM_V_GEN) pwd=`pwd` ;                         \
202
206
        cd $(srcdir) &&                                 \
203
207
        $(G_IR_SCANNER)                                 \
204
208
                --namespace=Meta                        \
206
210
                --include=GObject-2.0                   \
207
211
                --include=Gdk-2.0                       \
208
212
                --include=Gtk-2.0                       \
209
 
                --include=Clutter-0.9                   \
210
 
                --pkg=clutter-0.9                       \
 
213
                --include=Clutter-1.0                   \
 
214
                --pkg=clutter-1.0                       \
211
215
                --pkg=gtk+-2.0                          \
212
216
                --include=xfixes-4.0                    \
213
217
                --program=$$pwd/mutter                  \
217
221
                -o $$pwd/$@
218
222
 
219
223
Meta-$(api_version).typelib: $(G_IR_COMPILER) Meta-$(api_version).gir
220
 
        LD_LIBRARY_PATH=$${LD_LIBRARY_PATH:+$$LD_LIBRARY_PATH:}. $(G_IR_COMPILER) Meta-$(api_version).gir -o $@
 
224
        $(AM_V_GEN) LD_LIBRARY_PATH=$${LD_LIBRARY_PATH:+$$LD_LIBRARY_PATH:}. $(G_IR_COMPILER) Meta-$(api_version).gir -o $@
221
225
endif
222
226
 
223
227
EFENCE=
224
 
mutter_LDADD=@MUTTER_LIBS@ libmutter-private.la $(EFENCE)
 
228
mutter_LDADD=@MUTTER_LIBS@ $(EFENCE)
225
229
mutter_LDFLAGS=-export-dynamic
226
230
 
227
231
mutter_theme_viewer_LDADD= @MUTTER_LIBS@ libmutter-private.la
232
236
 
233
237
noinst_PROGRAMS=testboxes testgradient testasyncgetprop
234
238
 
235
 
testboxes_LDADD= @MUTTER_LIBS@ libmutter-private.la
236
 
testgradient_LDADD= @MUTTER_LIBS@ libmutter-private.la
237
 
testasyncgetprop_LDADD= @MUTTER_LIBS@ libmutter-private.la
 
239
testboxes_LDADD= @MUTTER_LIBS@
 
240
testgradient_LDADD= @MUTTER_LIBS@
 
241
testasyncgetprop_LDADD= @MUTTER_LIBS@
238
242
 
239
243
@INTLTOOL_DESKTOP_RULE@
240
244
 
304
308
mutter-marshal.h: stamp-mutter-marshal.h
305
309
        @true
306
310
stamp-mutter-marshal.h: Makefile mutter-marshal.list
307
 
        $(GLIB_GENMARSHAL) \
 
311
        $(AM_V_GEN) $(GLIB_GENMARSHAL) \
308
312
                --prefix=_mutter_marshal \
309
313
                --header \
310
314
        $(srcdir)/mutter-marshal.list > xgen-tmh && \
313
317
        echo timestamp > $(@F)
314
318
 
315
319
mutter-marshal.c: Makefile mutter-marshal.list
316
 
        (echo "#include \"mutter-marshal.h\"" ; \
 
320
         $(AM_V_GEN) (echo "#include \"mutter-marshal.h\"" ; \
317
321
         $(GLIB_GENMARSHAL) \
318
322
                --prefix=_mutter_marshal \
319
323
                --body \
324
328
mutter-enum-types.h: stamp-mutter-enum-types.h Makefile
325
329
        @true
326
330
stamp-mutter-enum-types.h: $(mutter_source_h) mutter-enum-types.h.in
327
 
        ( cd $(srcdir) && \
 
331
        $(AM_V_GEN) ( cd $(srcdir) && \
328
332
          $(GLIB_MKENUMS) \
329
333
            --template $(srcdir)/mutter-enum-types.h.in \
330
334
          $(libmutterinclude_base_headers) ) >> xgen-teth && \
331
 
        (cmp xgen-teth mutter-enum-types.h || cp xgen-teth mutter-enum-types.h) && \
 
335
        (cmp -s xgen-teth mutter-enum-types.h || cp xgen-teth mutter-enum-types.h) && \
332
336
        rm -f xgen-teth && \
333
337
        echo timestamp > $(@F)
334
338
 
335
339
mutter-enum-types.c: stamp-mutter-enum-types.h mutter-enum-types.c.in
336
 
        ( cd $(srcdir) && \
 
340
          $(AM_V_GEN) ( cd $(srcdir) && \
337
341
          $(GLIB_MKENUMS) \
338
342
            --template $(srcdir)/mutter-enum-types.c.in \
339
343
          $(libmutterinclude_base_headers) ) >> xgen-tetc && \