~gnome3-team/mutter/trunk

« back to all changes in this revision

Viewing changes to cogl/cogl/Makefile.am

  • Committer: Rui Matos
  • Date: 2016-04-27 16:36:25 UTC
  • mfrom: (0.87.3184)
  • Revision ID: git-v1:3fcbe1d3ec5c9208dde080f7e9dac24e4c379bc0
Merge cogl's cogl-1.22 branch into mutter

https://bugzilla.gnome.org/show_bug.cgi?id=760439

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# preamble
 
2
 
 
3
NULL =
 
4
 
 
5
SUBDIRS =
 
6
 
 
7
BUILT_SOURCES =
 
8
 
 
9
EXTRA_DIST =
 
10
CLEANFILES =
 
11
DISTCLEANFILES =
 
12
 
 
13
AM_CPPFLAGS = \
 
14
        -I$(top_srcdir)                         \
 
15
        -I$(top_builddir)                       \
 
16
        -I$(srcdir)/deprecated                  \
 
17
        -I$(srcdir)/winsys                      \
 
18
        -I$(srcdir)/driver/gl                   \
 
19
        -I$(srcdir)/driver/gl/gl                \
 
20
        -I$(srcdir)/driver/gl/gles              \
 
21
        $(NULL)
 
22
 
 
23
AM_CPPFLAGS += \
 
24
        -DG_LOG_DOMAIN=\"Cogl\"         \
 
25
        -DCOGL_COMPILATION              \
 
26
        -DCOGL_GL_LIBNAME=\"$(COGL_GL_LIBNAME)\" \
 
27
        -DCOGL_GLES1_LIBNAME=\"$(COGL_GLES1_LIBNAME)\" \
 
28
        -DCOGL_GLES2_LIBNAME=\"$(COGL_GLES2_LIBNAME)\" \
 
29
        -DCOGL_LOCALEDIR=\""$(localedir)"\" \
 
30
        $(NULL)
 
31
 
 
32
if HAVE_COGL_DEFAULT_DRIVER
 
33
AM_CPPFLAGS += \
 
34
        -DCOGL_DEFAULT_DRIVER=\"$(COGL_DEFAULT_DRIVER)\"
 
35
endif
 
36
 
 
37
 
 
38
AM_CFLAGS = $(COGL_DEP_CFLAGS) $(COGL_EXTRA_CFLAGS) $(MAINTAINER_CFLAGS)
 
39
 
 
40
BUILT_SOURCES += cogl-defines.h cogl-egl-defines.h cogl-gl-header.h
 
41
DISTCLEANFILES += cogl-defines.h cogl-egl-defines.h cogl-gl-header.h
 
42
EXTRA_DIST += cogl-defines.h.in cogl-egl-defines.h.in cogl-gl-header.h.in
 
43
 
 
44
pc_files = mutter-cogl-1.0.pc
 
45
 
 
46
pkgconfigdir = $(libdir)/pkgconfig
 
47
pkgconfig_DATA = $(pc_files)
 
48
 
 
49
DISTCLEANFILES += $(pc_files)
 
50
 
 
51
cogl_deprecated_h = \
 
52
        deprecated/cogl-clip-state.h            \
 
53
        deprecated/cogl-fixed.h                 \
 
54
        deprecated/cogl-material-compat.h       \
 
55
        deprecated/cogl-vertex-buffer.h         \
 
56
        deprecated/cogl-shader.h                \
 
57
        deprecated/cogl-clutter.h               \
 
58
        deprecated/cogl-type-casts.h            \
 
59
        deprecated/cogl-framebuffer-deprecated.h \
 
60
        deprecated/cogl-texture-deprecated.h    \
 
61
        deprecated/cogl-auto-texture.h  \
 
62
        $(NULL)
 
63
 
 
64
# public 1.x api headers
 
65
cogl_1_public_h = \
 
66
        $(cogl_deprecated_h)                    \
 
67
        cogl1-context.h                 \
 
68
        cogl-bitmap.h           \
 
69
        cogl-color.h                    \
 
70
        cogl-matrix.h           \
 
71
        cogl-offscreen.h                \
 
72
        cogl-primitives.h               \
 
73
        cogl-texture.h          \
 
74
        cogl-types.h                    \
 
75
        cogl.h                  \
 
76
        $(NULL)
 
77
 
 
78
# experimental 2.0 api headers
 
79
# Note: we don't run glib-mkenums over these headers
 
80
cogl_experimental_h = \
 
81
        cogl-object.h           \
 
82
        cogl-renderer.h                 \
 
83
        cogl-swap-chain.h               \
 
84
        cogl-onscreen-template.h        \
 
85
        cogl-display.h          \
 
86
        cogl-context.h          \
 
87
        cogl-pipeline.h                 \
 
88
        cogl-pipeline-state.h   \
 
89
        cogl-pipeline-layer-state.h     \
 
90
        cogl-snippet.h          \
 
91
        cogl-gles2.h                    \
 
92
        cogl-gles2-types.h              \
 
93
        cogl-index-buffer.h             \
 
94
        cogl-attribute-buffer.h         \
 
95
        cogl-indices.h          \
 
96
        cogl-attribute.h                \
 
97
        cogl-primitive.h                \
 
98
        cogl-framebuffer.h              \
 
99
        cogl-onscreen.h         \
 
100
        cogl-frame-info.h               \
 
101
        cogl-vector.h           \
 
102
        cogl-euler.h                    \
 
103
        cogl-output.h                   \
 
104
        cogl-quaternion.h               \
 
105
        cogl-matrix-stack.h             \
 
106
        cogl-poll.h                     \
 
107
        cogl-texture-3d.h             \
 
108
        cogl-texture-2d.h             \
 
109
        cogl-texture-2d-gl.h            \
 
110
        cogl-texture-rectangle.h      \
 
111
        cogl-texture-2d-sliced.h      \
 
112
        cogl-sub-texture.h            \
 
113
        cogl-atlas-texture.h          \
 
114
        cogl-meta-texture.h             \
 
115
        cogl-primitive-texture.h        \
 
116
        cogl-depth-state.h              \
 
117
        cogl-buffer.h           \
 
118
        cogl-pixel-buffer.h             \
 
119
        cogl2-experimental.h            \
 
120
        cogl-macros.h                   \
 
121
        cogl-fence.h                    \
 
122
        cogl-version.h          \
 
123
        cogl-error.h                    \
 
124
        $(NULL)
 
125
 
 
126
cogl_additional_experimental_h = \
 
127
        cogl-bitmap.h                   \
 
128
        cogl-color.h                    \
 
129
        cogl-matrix.h                   \
 
130
        cogl-texture.h          \
 
131
        cogl-types.h                    \
 
132
        cogl-gtype-private.h            \
 
133
        $(NULL)
 
134
 
 
135
cogl_nodist_experimental_h = \
 
136
        $(NULL)
 
137
 
 
138
# nop driver
 
139
cogl_driver_sources = \
 
140
        driver/nop/cogl-driver-nop.c \
 
141
        driver/nop/cogl-framebuffer-nop-private.h \
 
142
        driver/nop/cogl-framebuffer-nop.c \
 
143
        driver/nop/cogl-attribute-nop-private.h \
 
144
        driver/nop/cogl-attribute-nop.c \
 
145
        driver/nop/cogl-clip-stack-nop-private.h \
 
146
        driver/nop/cogl-clip-stack-nop.c \
 
147
        driver/nop/cogl-texture-2d-nop-private.h \
 
148
        driver/nop/cogl-texture-2d-nop.c \
 
149
        $(NULL)
 
150
 
 
151
# gl driver sources
 
152
cogl_gl_prototypes_h = \
 
153
        gl-prototypes/cogl-gles2-functions.h            \
 
154
        gl-prototypes/cogl-core-functions.h             \
 
155
        gl-prototypes/cogl-in-gles-core-functions.h     \
 
156
        gl-prototypes/cogl-in-gles2-core-functions.h    \
 
157
        gl-prototypes/cogl-glsl-functions.h             \
 
158
        $(NULL)
 
159
 
 
160
cogl_driver_sources += \
 
161
        driver/gl/cogl-util-gl-private.h \
 
162
        driver/gl/cogl-util-gl.c \
 
163
        driver/gl/cogl-framebuffer-gl-private.h \
 
164
        driver/gl/cogl-framebuffer-gl.c \
 
165
        driver/gl/cogl-texture-gl-private.h \
 
166
        driver/gl/cogl-texture-gl.c \
 
167
        driver/gl/cogl-texture-2d-gl-private.h \
 
168
        driver/gl/cogl-texture-2d-gl.c \
 
169
        driver/gl/cogl-attribute-gl-private.h \
 
170
        driver/gl/cogl-attribute-gl.c \
 
171
        driver/gl/cogl-clip-stack-gl-private.h \
 
172
        driver/gl/cogl-clip-stack-gl.c \
 
173
        driver/gl/cogl-buffer-gl-private.h \
 
174
        driver/gl/cogl-buffer-gl.c \
 
175
        driver/gl/cogl-pipeline-opengl.c \
 
176
        driver/gl/cogl-pipeline-opengl-private.h \
 
177
        driver/gl/cogl-pipeline-fragend-glsl.c \
 
178
        driver/gl/cogl-pipeline-fragend-glsl-private.h \
 
179
        driver/gl/gl/cogl-pipeline-fragend-arbfp.c \
 
180
        driver/gl/gl/cogl-pipeline-fragend-arbfp-private.h \
 
181
        driver/gl/gl/cogl-pipeline-progend-fixed-arbfp.c \
 
182
        driver/gl/gl/cogl-pipeline-progend-fixed-arbfp-private.h \
 
183
        driver/gl/cogl-pipeline-fragend-fixed.c \
 
184
        driver/gl/cogl-pipeline-fragend-fixed-private.h \
 
185
        driver/gl/cogl-pipeline-vertend-glsl.c \
 
186
        driver/gl/cogl-pipeline-vertend-glsl-private.h \
 
187
        driver/gl/cogl-pipeline-vertend-fixed.c \
 
188
        driver/gl/cogl-pipeline-vertend-fixed-private.h \
 
189
        driver/gl/cogl-pipeline-progend-fixed.c \
 
190
        driver/gl/cogl-pipeline-progend-fixed-private.h \
 
191
        driver/gl/cogl-pipeline-progend-glsl.c \
 
192
        driver/gl/cogl-pipeline-progend-glsl-private.h \
 
193
        $(NULL)
 
194
 
 
195
if COGL_DRIVER_GL_SUPPORTED
 
196
cogl_driver_sources += \
 
197
        driver/gl/gl/cogl-driver-gl.c \
 
198
        driver/gl/gl/cogl-texture-driver-gl.c \
 
199
        $(NULL)
 
200
endif
 
201
 
 
202
if COGL_DRIVER_GLES_SUPPORTED
 
203
cogl_driver_sources += \
 
204
        driver/gl/gles/cogl-driver-gles.c \
 
205
        driver/gl/gles/cogl-texture-driver-gles.c       \
 
206
        $(NULL)
 
207
endif
 
208
 
 
209
# winsys sources, common to all backends
 
210
cogl_winsys_common_sources = \
 
211
        winsys/cogl-winsys-private.h \
 
212
        winsys/cogl-winsys.c \
 
213
        $(NULL)
 
214
 
 
215
# sources
 
216
cogl_sources_c = \
 
217
        $(cogl_driver_sources)                          \
 
218
        $(cogl_winsys_common_sources)                   \
 
219
        cogl-private.h                  \
 
220
        cogl-i18n-private.h                     \
 
221
        cogl-debug.h                            \
 
222
        cogl-debug-options.h                    \
 
223
        cogl-gpu-info.c                 \
 
224
        cogl-gpu-info-private.h         \
 
225
        cogl-context-private.h          \
 
226
        cogl-context.c                  \
 
227
        cogl-renderer-private.h         \
 
228
        cogl-renderer.h                 \
 
229
        cogl-renderer.c                 \
 
230
        cogl-swap-chain-private.h               \
 
231
        cogl-swap-chain.h                       \
 
232
        cogl-swap-chain.c                       \
 
233
        cogl-onscreen-template-private.h        \
 
234
        cogl-onscreen-template.h                \
 
235
        cogl-onscreen-template.c                \
 
236
        cogl-display-private.h          \
 
237
        cogl-display.h                  \
 
238
        cogl-display.c                  \
 
239
        cogl-driver.h                           \
 
240
        cogl.c                          \
 
241
        cogl-object-private.h                   \
 
242
        cogl-object.h                           \
 
243
        cogl-object.c                           \
 
244
        cogl-util.h                             \
 
245
        cogl-util.c                             \
 
246
        cogl-bitmap-private.h           \
 
247
        cogl-bitmap.c                   \
 
248
        cogl-bitmap-conversion.c                \
 
249
        cogl-bitmap-packing.h                   \
 
250
        cogl-primitives-private.h               \
 
251
        cogl-primitives.h                       \
 
252
        cogl-primitives.c                       \
 
253
        cogl-bitmap-pixbuf.c                    \
 
254
        cogl-clip-stack.h                       \
 
255
        cogl-clip-stack.c                       \
 
256
        cogl-feature-private.h                \
 
257
        cogl-feature-private.c                \
 
258
        cogl-color-private.h                    \
 
259
        cogl-color.c                            \
 
260
        cogl-buffer-private.h           \
 
261
        cogl-buffer.c                           \
 
262
        cogl-pixel-buffer-private.h             \
 
263
        cogl-pixel-buffer.c                     \
 
264
        cogl-index-buffer-private.h             \
 
265
        cogl-index-buffer.c                     \
 
266
        cogl-attribute-buffer-private.h \
 
267
        cogl-attribute-buffer.c         \
 
268
        cogl-indices-private.h          \
 
269
        cogl-indices.c                  \
 
270
        cogl-attribute-private.h                \
 
271
        cogl-attribute.c                        \
 
272
        cogl-primitive-private.h                \
 
273
        cogl-primitive.c                        \
 
274
        cogl-matrix.c                           \
 
275
        cogl-vector.c                           \
 
276
        cogl-euler.c                            \
 
277
        cogl-quaternion-private.h               \
 
278
        cogl-quaternion.c                       \
 
279
        cogl-matrix-private.h                   \
 
280
        cogl-matrix-stack.c                     \
 
281
        cogl-matrix-stack-private.h             \
 
282
        cogl-depth-state.c                      \
 
283
        cogl-depth-state-private.h              \
 
284
        cogl-node.c                             \
 
285
        cogl-node-private.h                     \
 
286
        cogl-pipeline.c                 \
 
287
        cogl-pipeline-private.h         \
 
288
        cogl-pipeline-layer.c                   \
 
289
        cogl-pipeline-layer-private.h           \
 
290
        cogl-pipeline-state.c                   \
 
291
        cogl-pipeline-layer-state-private.h     \
 
292
        cogl-pipeline-layer-state.c             \
 
293
        cogl-pipeline-state-private.h           \
 
294
        cogl-pipeline-debug.c                   \
 
295
        cogl-glsl-shader.c                    \
 
296
        cogl-glsl-shader-private.h            \
 
297
        cogl-glsl-shader-boilerplate.h        \
 
298
        cogl-pipeline-snippet-private.h \
 
299
        cogl-pipeline-snippet.c         \
 
300
        cogl-pipeline-cache.h                   \
 
301
        cogl-pipeline-cache.c                   \
 
302
        cogl-pipeline-hash-table.h              \
 
303
        cogl-pipeline-hash-table.c              \
 
304
        cogl-sampler-cache.c                    \
 
305
        cogl-sampler-cache-private.h            \
 
306
        cogl-blend-string.c                     \
 
307
        cogl-blend-string.h                     \
 
308
        cogl-debug.c                            \
 
309
        cogl-sub-texture-private.h            \
 
310
        cogl-texture-private.h          \
 
311
        cogl-texture-2d-private.h             \
 
312
        cogl-texture-2d-sliced-private.h        \
 
313
        cogl-texture-3d-private.h             \
 
314
        cogl-texture-driver.h                   \
 
315
        cogl-sub-texture.c                    \
 
316
        cogl-texture.c                  \
 
317
        cogl-texture-2d.c                     \
 
318
        cogl-texture-2d-sliced.c                \
 
319
        cogl-texture-3d.c                     \
 
320
        cogl-texture-rectangle-private.h      \
 
321
        cogl-texture-rectangle.c              \
 
322
        cogl-rectangle-map.h                  \
 
323
        cogl-rectangle-map.c                  \
 
324
        cogl-atlas.h                          \
 
325
        cogl-atlas.c                          \
 
326
        cogl-atlas-texture-private.h          \
 
327
        cogl-atlas-texture.c                  \
 
328
        cogl-meta-texture.c                     \
 
329
        cogl-primitive-texture.c                \
 
330
        cogl-blit.h                             \
 
331
        cogl-blit.c                             \
 
332
        cogl-spans.h                            \
 
333
        cogl-spans.c                            \
 
334
        cogl-journal-private.h          \
 
335
        cogl-journal.c                  \
 
336
        cogl-frame-info-private.h               \
 
337
        cogl-frame-info.c                       \
 
338
        cogl-framebuffer-private.h              \
 
339
        cogl-framebuffer.c                      \
 
340
        cogl-onscreen-private.h         \
 
341
        cogl-onscreen.c                         \
 
342
        cogl-output-private.h                   \
 
343
        cogl-output.c                           \
 
344
        cogl-profile.h                  \
 
345
        cogl-profile.c                  \
 
346
        cogl-flags.h                            \
 
347
        cogl-bitmask.h                        \
 
348
        cogl-bitmask.c                        \
 
349
        cogl-gtype.c                          \
 
350
        cogl-gtype-private.h                  \
 
351
        cogl-point-in-poly-private.h            \
 
352
        cogl-point-in-poly.c                    \
 
353
        cogl-list.c                             \
 
354
        cogl-list.h                             \
 
355
        winsys/cogl-winsys-stub-private.h       \
 
356
        winsys/cogl-winsys-stub.c               \
 
357
        cogl-config-private.h                   \
 
358
        cogl-config.c                           \
 
359
        cogl-boxed-value.h                      \
 
360
        cogl-boxed-value.c                      \
 
361
        cogl-snippet-private.h          \
 
362
        cogl-snippet.c                  \
 
363
        cogl-poll-private.h                     \
 
364
        cogl-poll.c                             \
 
365
        gl-prototypes/cogl-all-functions.h      \
 
366
        gl-prototypes/cogl-gles1-functions.h    \
 
367
        gl-prototypes/cogl-gles2-functions.h    \
 
368
        gl-prototypes/cogl-core-functions.h     \
 
369
        gl-prototypes/cogl-in-gles-core-functions.h     \
 
370
        gl-prototypes/cogl-in-gles1-core-functions.h    \
 
371
        gl-prototypes/cogl-in-gles2-core-functions.h    \
 
372
        gl-prototypes/cogl-fixed-functions.h    \
 
373
        gl-prototypes/cogl-glsl-functions.h     \
 
374
        cogl-memory-stack-private.h             \
 
375
        cogl-memory-stack.c                     \
 
376
        cogl-magazine-private.h         \
 
377
        cogl-magazine.c                 \
 
378
        cogl-gles2-context-private.h            \
 
379
        cogl-gles2-context.c                    \
 
380
        cogl-error-private.h                    \
 
381
        cogl-error.c                            \
 
382
        cogl-closure-list-private.h             \
 
383
        cogl-closure-list.c                     \
 
384
        cogl-fence.c                            \
 
385
        cogl-fence-private.h                    \
 
386
        deprecated/cogl-clip-state.c                    \
 
387
        deprecated/cogl-fixed.c                 \
 
388
        deprecated/cogl-vertex-buffer-private.h \
 
389
        deprecated/cogl-vertex-buffer.c         \
 
390
        deprecated/cogl-material-compat.c               \
 
391
        deprecated/cogl-program.c                       \
 
392
        deprecated/cogl-program-private.h               \
 
393
        deprecated/cogl-auto-texture.c          \
 
394
        deprecated/cogl-shader-private.h                \
 
395
        deprecated/cogl-shader.c                        \
 
396
        deprecated/cogl-clutter.c                       \
 
397
        deprecated/cogl-framebuffer-deprecated.c      \
 
398
        deprecated/cogl-texture-deprecated.c            \
 
399
        $(NULL)
 
400
 
 
401
cogl_experimental_h += cogl-glib-source.h
 
402
cogl_sources_c += cogl-glib-source.c
 
403
 
 
404
if SUPPORT_XLIB
 
405
cogl_deprecated_h += deprecated/cogl-clutter-xlib.h
 
406
cogl_1_public_h += cogl-xlib-renderer.h
 
407
 
 
408
cogl_experimental_h += \
 
409
        winsys/cogl-texture-pixmap-x11.h \
 
410
        cogl-xlib.h
 
411
 
 
412
cogl_sources_c += \
 
413
        cogl-x11-renderer-private.h \
 
414
        cogl-xlib-renderer-private.h \
 
415
        cogl-xlib-renderer.c \
 
416
        cogl-xlib.c \
 
417
        cogl-xlib-private.h \
 
418
        winsys/cogl-texture-pixmap-x11.c \
 
419
        winsys/cogl-texture-pixmap-x11-private.h
 
420
endif
 
421
if SUPPORT_GLX
 
422
cogl_experimental_h += cogl-glx.h
 
423
cogl_sources_c += \
 
424
        cogl-glx-renderer-private.h \
 
425
        cogl-glx-display-private.h \
 
426
        winsys/cogl-winsys-glx-feature-functions.h \
 
427
        winsys/cogl-winsys-glx-private.h \
 
428
        winsys/cogl-winsys-glx.c
 
429
endif
 
430
if SUPPORT_WAYLAND_EGL_SERVER
 
431
cogl_experimental_h += cogl-wayland-server.h
 
432
endif
 
433
if SUPPORT_EGL_PLATFORM_KMS
 
434
cogl_experimental_h += \
 
435
        cogl-kms-renderer.h \
 
436
        cogl-kms-display.h
 
437
cogl_sources_c += \
 
438
        winsys/cogl-winsys-egl-kms.c \
 
439
        winsys/cogl-winsys-egl-kms-private.h
 
440
endif
 
441
if SUPPORT_EGL_PLATFORM_XLIB
 
442
cogl_sources_c += \
 
443
        winsys/cogl-winsys-egl-x11.c \
 
444
        winsys/cogl-winsys-egl-x11-private.h
 
445
endif
 
446
if SUPPORT_EGL
 
447
cogl_experimental_h += cogl-egl.h
 
448
cogl_nodist_experimental_h += cogl-egl-defines.h
 
449
 
 
450
cogl_sources_c += \
 
451
        cogl-egl-private.h \
 
452
        winsys/cogl-winsys-egl.c \
 
453
        winsys/cogl-winsys-egl-feature-functions.h \
 
454
        winsys/cogl-winsys-egl-private.h
 
455
endif
 
456
 
 
457
# glib-mkenums rules
 
458
glib_enum_h = cogl-enum-types.h
 
459
glib_enum_c = cogl-enum-types.c
 
460
glib_enum_headers = $(cogl_1_public_h)
 
461
include $(top_srcdir)/build/autotools/Makefile.am.enums
 
462
 
 
463
mutterlibdir = $(libdir)/mutter
 
464
mutterlib_LTLIBRARIES = libmutter-cogl.la
 
465
 
 
466
libmutter_cogl_la_LIBADD = $(LIBM) $(COGL_DEP_LIBS) $(COGL_EXTRA_LDFLAGS)
 
467
if UNIT_TESTS
 
468
libmutter_cogl_la_LIBADD += $(top_builddir)/test-fixtures/libtest-fixtures.la
 
469
endif
 
470
# XXX: The aim is to eventually get rid of all private API exports
 
471
# for cogl-pango.
 
472
libmutter_cogl_la_LDFLAGS = \
 
473
        -no-undefined \
 
474
        -version-info @COGL_LT_CURRENT@:@COGL_LT_REVISION@:@COGL_LT_AGE@ \
 
475
        -export-dynamic \
 
476
        -rpath $(mutterlibdir) \
 
477
        -export-symbols-regex "^(cogl|_cogl_debug_flags|_cogl_atlas_new|_cogl_atlas_add_reorganize_callback|_cogl_atlas_reserve_space|_cogl_callback|_cogl_util_get_eye_planes_for_screen_poly|_cogl_atlas_texture_remove_reorganize_callback|_cogl_atlas_texture_add_reorganize_callback|_cogl_texture_get_format|_cogl_texture_foreach_sub_texture_in_region|_cogl_profile_trace_message|_cogl_context_get_default|_cogl_framebuffer_get_stencil_bits|_cogl_clip_stack_push_rectangle|_cogl_framebuffer_get_modelview_stack|_cogl_object_default_unref|_cogl_pipeline_foreach_layer_internal|_cogl_clip_stack_push_primitive|_cogl_buffer_unmap_for_fill_or_fallback|_cogl_framebuffer_draw_primitive|_cogl_debug_instances|_cogl_framebuffer_get_projection_stack|_cogl_pipeline_layer_get_texture|_cogl_buffer_map_for_fill_or_fallback|_cogl_texture_can_hardware_repeat|_cogl_pipeline_prune_to_n_layers|_cogl_primitive_draw|test_|unit_test_).*"
 
478
 
 
479
libmutter_cogl_la_SOURCES = $(cogl_sources_c)
 
480
nodist_libmutter_cogl_la_SOURCES = $(BUILT_SOURCES)
 
481
 
 
482
# Cogl installed headers
 
483
cogl_headers = \
 
484
        $(cogl_1_public_h) \
 
485
        cogl-deprecated.h \
 
486
        cogl-pango.h \
 
487
        $(NULL)
 
488
 
 
489
cogl_base_includedir = $(includedir)/mutter
 
490
cogldeprecatedincludedir = $(cogl_base_includedir)/cogl/cogl/deprecated
 
491
cogldeprecatedinclude_HEADERS = $(cogl_deprecated_h)
 
492
 
 
493
coglincludedir = $(cogl_base_includedir)/cogl/cogl
 
494
coglinclude_HEADERS = $(cogl_headers) $(cogl_experimental_h)
 
495
nodist_coglinclude_HEADERS = $(cogl_nodist_experimental_h) cogl-defines.h cogl-enum-types.h
 
496
 
 
497
cogl_proto_includedir = $(cogl_base_includedir)/cogl/cogl/gl-prototypes
 
498
cogl_proto_include_HEADERS = $(cogl_gl_prototypes_h)
 
499
 
 
500
EXTRA_DIST += \
 
501
        cogl.symbols
 
502
 
 
503
-include $(INTROSPECTION_MAKEFILE)
 
504
 
 
505
INTROSPECTION_GIRS =
 
506
 
 
507
if HAVE_INTROSPECTION
 
508
Cogl-1.0.gir: libmutter-cogl.la Makefile
 
509
 
 
510
Cogl_1_0_gir_NAMESPACE = Cogl
 
511
Cogl_1_0_gir_VERSION = 1.0
 
512
Cogl_1_0_gir_LIBS = libmutter-cogl.la
 
513
if UNIT_TESTS
 
514
Cogl_1_0_gir_LIBS += $(top_builddir)/test-fixtures/libtest-fixtures.la
 
515
endif
 
516
Cogl_1_0_gir_FILES = $(cogl_1_public_h) cogl-enum-types.h
 
517
 
 
518
Cogl-2.0.gir: libmutter-cogl.la Makefile
 
519
 
 
520
Cogl_2_0_gir_NAMESPACE = Cogl
 
521
Cogl_2_0_gir_VERSION = 2.0
 
522
Cogl_2_0_gir_LIBS = libmutter-cogl.la
 
523
if UNIT_TESTS
 
524
Cogl_2_0_gir_LIBS += $(top_builddir)/test-fixtures/libtest-fixtures.la
 
525
endif
 
526
Cogl_2_0_gir_FILES = $(cogl_experimental_h) $(cogl_additional_experimental_h) cogl-enum-types.h
 
527
 
 
528
Cogl_1_0_gir_CFLAGS = $(AM_CPPFLAGS) $(COGL_DEP_CFLAGS) -UCOGL_ENABLE_EXPERIMENTAL_API -UCOGL_ENABLE_EXPERIMENTAL_2_0_API -UCOGL_COMPILATION -D__COGL_H_INSIDE__ -D__COGL_XLIB_H_INSIDE__ -D__COGL_EGL_H_INSIDE__ -D__COGL_GLX_H_INSIDE__ -DCOGL_GIR_SCANNING
 
529
Cogl_1_0_gir_INCLUDES = GL-1.0 GObject-2.0
 
530
Cogl_1_0_gir_EXPORT_PACKAGES = cogl-1.0
 
531
Cogl_1_0_gir_SCANNERFLAGS = --warn-all --c-include='cogl/cogl.h'
 
532
 
 
533
Cogl_2_0_gir_CFLAGS = $(AM_CPPFLAGS) $(COGL_DEP_CFLAGS) -DCOGL_ENABLE_EXPERIMENTAL_API=1 -UCOGL_COMPILATION -D__COGL_H_INSIDE__ -D__COGL_XLIB_H_INSIDE__ -DCOGL_GIR_SCANNING
 
534
Cogl_2_0_gir_INCLUDES = GL-1.0 GObject-2.0
 
535
Cogl_2_0_gir_EXPORT_PACKAGES = cogl-2.0-experimental
 
536
Cogl_2_0_gir_SCANNERFLAGS = --warn-all --c-include='cogl/cogl.h' --symbol-prefix=cogl --symbol-prefix=cogl2
 
537
 
 
538
INTROSPECTION_GIRS += Cogl-1.0.gir Cogl-2.0.gir
 
539
 
 
540
girdir = $(mutterlibdir)
 
541
gir_DATA = $(INTROSPECTION_GIRS)
 
542
 
 
543
typelibdir = $(mutterlibdir)
 
544
typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
 
545
 
 
546
CLEANFILES += $(gir_DATA) $(typelib_DATA)
 
547
endif