~afafaf4/totem/totemubuntu

« back to all changes in this revision

Viewing changes to browser-plugin/Makefile.am

Tags: 2.24.3-3
* totem-mozilla.docs: ship README.browser-plugin which explains how to 
  disable the plugin for some MIME types.
* rules: remove the hack that only let totem-xine support VCDs and 
  DVDs, now that GStreamer supports them. Closes: #370789.
* 01_fake_keypresses.patch: new patch. Completely disable the broken 
  XTEST code that generates fake keypresses. Closes: #500330.
* 90_autotools.patch: regenerated.
* Build-depend on nautilus 2.22 to be sure to build the extension for 
  the correct version.
* totem-xine depends on libxine1-x.
* Standards version is 3.8.1.
* Upload to unstable.
* 04_tracker_build.patch: new patch, stolen upstream. Fix build with 
  latest tracker version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
SUBDIRS = idl
2
 
 
3
 
plugindir = $(MOZILLA_PLUGINDIR)
 
1
plugindir = $(BROWSER_PLUGIN_DIR)
4
2
plugin_LTLIBRARIES =
5
3
 
6
 
BUILT_SOURCES =
7
 
 
8
4
EXTRA_DIST =            \
9
5
        plugin.symbols  \
 
6
        marshal.list    \
10
7
        TODO            \
11
8
        README.browser-plugin
12
9
 
 
10
BUILT_SOURCES =
 
11
 
13
12
CLEANFILES = $(BUILT_SOURCES)
14
13
 
15
 
gecko_include_subdirs = \
16
 
        .               \
17
 
        docshell        \
18
 
        dom             \
19
 
        necko           \
20
 
        xpcom
21
 
 
22
14
# Marshaller
23
15
 
24
 
MARSHALFILES = totempluginviewer-marshal.h totempluginviewer-marshal.c
25
 
BUILT_SOURCES += $(MARSHALFILES)
26
 
 
27
 
totempluginviewer-marshal.h: totempluginviewer-marshal.list
28
 
        $(GLIB_GENMARSHAL) --prefix=totempluginviewer_marshal --header $< > $@
29
 
totempluginviewer-marshal.c: totempluginviewer-marshal.list
30
 
        $(GLIB_GENMARSHAL) --prefix=totempluginviewer_marshal --body --header $< > $@
31
 
 
32
 
noinst_LTLIBRARIES = libtotempluginviewer_helper.la
33
 
 
34
 
libtotempluginviewer_helper_la_SOURCES =        \
35
 
        totempluginviewer-marshal.h             \
36
 
        totempluginviewer-marshal.c             \
37
 
        totem-glow-button.c                     \
38
 
        totem-glow-button.h
39
 
 
40
 
libtotempluginviewer_helper_la_CPPFLAGS =       \
 
16
BUILT_SOURCES += \
 
17
        marshal.h \
 
18
        marshal.c \
 
19
        $(NULL)
 
20
 
 
21
marshal.h: marshal.list
 
22
        $(GLIB_GENMARSHAL) --prefix=totempluginviewer_marshal --internal --header $< > $@
 
23
marshal.c: marshal.list
 
24
        $(GLIB_GENMARSHAL) --prefix=totempluginviewer_marshal --internal --body --header $< > $@
 
25
 
 
26
noinst_LTLIBRARIES = libtotembrowserplugin_helper.la
 
27
 
 
28
libtotembrowserplugin_helper_la_SOURCES = \
 
29
        marshal.h \
 
30
        marshal.c \
 
31
        $(NULL)
 
32
 
 
33
libtotembrowserplugin_helper_la_CPPFLAGS =      \
41
34
        $(DISABLE_DEPRECATED)                   \
42
35
        $(AM_CPPFLAGS)
43
36
 
44
 
libtotempluginviewer_helper_la_CFLAGS = \
 
37
libtotembrowserplugin_helper_la_CFLAGS =        \
45
38
        $(EXTRA_GNOME_CFLAGS)           \
46
39
        $(WARN_CFLAGS)                  \
47
40
        $(AM_CFLAGS)
48
41
 
49
 
libtotempluginviewer_helper_la_LIBADD =         \
 
42
libtotembrowserplugin_helper_la_LIBADD =        \
50
43
        $(EXTRA_GNOME_CFLAGS)                   \
51
44
        $(WARN_CFLAGS)                          \
52
45
        $(AM_CFLAGS)
53
46
 
54
 
EXTRA_DIST += \
55
 
        totempluginviewer-marshal.list
56
 
 
57
47
# The Glow button test program
58
48
 
59
49
noinst_PROGRAMS = test-glow-button
60
50
 
61
 
test_glow_button_SOURCES = test-glow-button.c
 
51
test_glow_button_SOURCES = \
 
52
        totem-glow-button.c \
 
53
        totem-glow-button.h \
 
54
        test-glow-button.c
62
55
 
63
 
test_glow_button_LDADD =                        \
64
 
        libtotempluginviewer_helper.la          \
 
56
test_glow_button_LDADD = \
 
57
        libtotembrowserplugin_helper.la         \
65
58
        $(EXTRA_GNOME_LIBS)
66
59
 
67
60
test_glow_button_CFLAGS =       \
78
71
libexec_PROGRAMS = totem-plugin-viewer
79
72
 
80
73
totem_plugin_viewer_SOURCES = \
 
74
        totem-glow-button.c             \
 
75
        totem-glow-button.h             \
81
76
        totem-plugin-viewer.c           \
82
77
        totem-plugin-viewer-interface.h \
83
78
        totem-plugin-viewer-constants.h \
84
 
        totem-plugin-viewer-options.h
 
79
        totem-plugin-viewer-options.h   \
 
80
        $(NULL)
85
81
 
86
82
totem_plugin_viewer_CPPFLAGS = \
87
83
        -D_REENTRANT                                    \
96
92
        -DGCONF_PREFIX="\"/apps/totem\""                \
97
93
        -DDATADIR="\"$(datadir)\""                      \
98
94
        -DLIBEXECDIR="\"$(libexecdir)\""                \
99
 
        -DBINDIR="\"$(bindir)\""                        \
100
95
        -DSHAREDIR="\"$(pkgdatadir)\""                  \
101
96
        -DLOGO_NAME="\"totem_logo.png\""                \
102
97
        -DG_LOG_DOMAIN=\""TotemEmbedded\""              \
115
110
        $(top_builddir)/src/backend/libbaconvideowidget.la              \
116
111
        $(top_builddir)/src/libtotem_player.la                          \
117
112
        $(top_builddir)/lib/libtotemscrsaver.la                         \
118
 
        libtotempluginviewer_helper.la                                  \
 
113
        libtotembrowserplugin_helper.la                                 \
119
114
        $(EXTRA_GNOME_LIBS)     \
120
115
        $(SN_LIBS)              \
121
116
        $(XVIDMODE_LIBS)        \
140
135
plugin_LTLIBRARIES += libtotem-basic-plugin.la
141
136
 
142
137
libtotem_basic_plugin_la_SOURCES =      \
143
 
        totemDebug.h                    \
 
138
        npapi.h                         \
 
139
        npruntime.h                     \
 
140
        npupp.h                         \
 
141
        totemNPNGlue.cpp                \
 
142
        totemNPClass.cpp                \
 
143
        totemNPClass.h                  \
 
144
        totemNPObject.cpp               \
 
145
        totemNPObject.h                 \
 
146
        totemNPObjectWrapper.h          \
 
147
        totemNPVariantWrapper.h         \
144
148
        totemPluginGlue.cpp             \
145
 
        totemPluginGlue.h               \
146
149
        totemPlugin.cpp                 \
147
150
        totemPlugin.h                   \
148
 
        totemStringGlue.h               \
149
151
        totemBasicPlugin.cpp            \
150
152
        totemBasicPlugin.h              \
151
 
        totemClassInfo.h                \
152
153
        totem-plugin-viewer-constants.h
153
154
 
154
155
libtotem_basic_plugin_la_CPPFLAGS = \
156
157
        -I$(top_srcdir)/src/backend                     \
157
158
        -I$(top_builddir)/src                           \
158
159
        -I$(top_builddir)/src/backend                   \
159
 
        -Iidl                                           \
160
 
        $(addprefix -I$(MOZILLA_INCLUDE_ROOT)/,$(gecko_include_subdirs))        \
 
160
        -DXP_UNIX                                       \
 
161
        -DMOZ_X11                                       \
161
162
        -DTOTEM_BASIC_PLUGIN                            \
162
163
        -DTOTEM_PL_PARSER_MINI                          \
163
164
        -D_REENTRANT                                    \
164
165
        -DDBUS_API_SUBJECT_TO_CHANGE                    \
165
 
        -DGNOMELOCALEDIR="\"$(datadir)/locale\""        \
166
 
        -DGCONF_PREFIX="\"/apps/totem\""                \
167
166
        -DSYSCONFDIR="\"$(sysconfdir)\""                \
168
 
        -DDATADIR="\"$(pkgdatadir)\""                   \
169
167
        -DLIBEXECDIR="\"$(libexecdir)\""                \
170
 
        -DBINDIR="\"$(bindir)\""                        \
171
168
        $(DISABLE_DEPRECATED)                           \
172
169
        $(AM_CPPFLAGS)
173
170
 
174
171
libtotem_basic_plugin_la_CXXFLAGS = \
175
172
        $(BROWSER_PLUGIN_CFLAGS)        \
176
 
        $(MOZILLA_XPCOM_CFLAGS)         \
177
173
        $(DBUS_CFLAGS)                  \
178
174
        $(WARN_CXXFLAGS)                \
179
175
        $(PLUGIN_EXTRA_WARN_CXXFLAGS)   \
180
176
        $(AM_CXXFLAGS)
181
177
 
182
 
libtotem_basic_plugin_la_LIBADD =                                       \
183
 
        libtotempluginviewer_helper.la                                  \
184
 
        $(DBUS_LIBS)    \
185
 
        $(BROWSER_PLUGIN_LIBS)  \
186
 
        $(LIBXPCOMGLUE_S)
 
178
libtotem_basic_plugin_la_LIBADD = \
 
179
        libtotembrowserplugin_helper.la \
 
180
        $(DBUS_LIBS)                    \
 
181
        $(BROWSER_PLUGIN_LIBS)
187
182
 
188
183
libtotem_basic_plugin_la_LDFLAGS = \
189
184
        -avoid-version  \
200
195
plugin_LTLIBRARIES += libtotem-gmp-plugin.la
201
196
 
202
197
libtotem_gmp_plugin_la_SOURCES =        \
203
 
        totemDebug.h                    \
 
198
        npapi.h                         \
 
199
        npruntime.h                     \
 
200
        npupp.h                         \
 
201
        totemNPNGlue.cpp                \
 
202
        totemNPClass.cpp                \
 
203
        totemNPClass.h                  \
 
204
        totemNPObject.cpp               \
 
205
        totemNPObject.h                 \
 
206
        totemNPObjectWrapper.h          \
 
207
        totemGMPControls.cpp            \
 
208
        totemGMPControls.h              \
204
209
        totemGMPError.cpp               \
205
210
        totemGMPError.h                 \
 
211
        totemGMPNetwork.cpp             \
 
212
        totemGMPNetwork.h               \
 
213
        totemGMPPlayer.cpp              \
 
214
        totemGMPPlayer.h                \
206
215
        totemGMPPlaylist.cpp            \
207
216
        totemGMPPlaylist.h              \
208
217
        totemGMPSettings.cpp            \
209
218
        totemGMPSettings.h              \
210
219
        totemPluginGlue.cpp             \
211
 
        totemPluginGlue.h               \
212
220
        totemPlugin.cpp                 \
213
221
        totemPlugin.h                   \
214
 
        totemStringGlue.h               \
215
 
        totemGMPPlugin.cpp              \
216
 
        totemGMPPlugin.h                \
217
 
        totemClassInfo.h                \
218
222
        totem-plugin-viewer-constants.h
219
223
 
220
224
libtotem_gmp_plugin_la_CPPFLAGS = \
222
226
        -I$(top_srcdir)/src/backend                     \
223
227
        -I$(top_builddir)/src                           \
224
228
        -I$(top_builddir)/src/backend                   \
225
 
        -Iidl                                           \
226
 
        $(addprefix -I$(MOZILLA_INCLUDE_ROOT)/,$(gecko_include_subdirs))        \
 
229
        -DXP_UNIX                                       \
 
230
        -DMOZ_X11                                       \
227
231
        -DTOTEM_GMP_PLUGIN                              \
228
232
        -DTOTEM_PL_PARSER_MINI                          \
229
233
        -D_REENTRANT                                    \
230
234
        -DDBUS_API_SUBJECT_TO_CHANGE                    \
231
 
        -DGNOMELOCALEDIR="\"$(datadir)/locale\""        \
232
 
        -DGCONF_PREFIX="\"/apps/totem\""                \
233
235
        -DSYSCONFDIR="\"$(sysconfdir)\""                \
234
 
        -DDATADIR="\"$(pkgdatadir)\""                   \
235
236
        -DLIBEXECDIR="\"$(libexecdir)\""                \
236
 
        -DBINDIR="\"$(bindir)\""                        \
237
237
        $(DISABLE_DEPRECATED)                           \
238
238
        $(AM_CPPFLAGS)
239
239
 
240
240
libtotem_gmp_plugin_la_CXXFLAGS = \
241
241
        $(BROWSER_PLUGIN_CFLAGS)        \
242
 
        $(MOZILLA_XPCOM_CFLAGS)         \
243
242
        $(DBUS_CFLAGS)                  \
244
243
        $(WARN_CXXFLAGS)                \
245
244
        $(PLUGIN_EXTRA_WARN_CXXFLAGS)   \
246
245
        $(AM_CXXFLAGS)
247
246
 
248
 
libtotem_gmp_plugin_la_LIBADD =                                         \
249
 
        libtotempluginviewer_helper.la  \
250
 
        $(DBUS_LIBS)    \
251
 
        $(BROWSER_PLUGIN_LIBS)  \
252
 
        $(LIBXPCOMGLUE_S)
 
247
libtotem_gmp_plugin_la_LIBADD = \
 
248
        libtotembrowserplugin_helper.la \
 
249
        $(DBUS_LIBS)                    \
 
250
        $(BROWSER_PLUGIN_LIBS)
253
251
 
254
252
libtotem_gmp_plugin_la_LDFLAGS = \
255
253
        -avoid-version  \
266
264
plugin_LTLIBRARIES += libtotem-complex-plugin.la
267
265
 
268
266
libtotem_complex_plugin_la_SOURCES =    \
269
 
        totemDebug.h                    \
 
267
        npapi.h                         \
 
268
        npruntime.h                     \
 
269
        npupp.h                         \
 
270
        totemNPNGlue.cpp                \
 
271
        totemNPClass.cpp                \
 
272
        totemNPClass.h                  \
 
273
        totemNPObject.cpp               \
 
274
        totemNPObject.h                 \
 
275
        totemNPObjectWrapper.h          \
 
276
        totemNPVariantWrapper.h         \
270
277
        totemPluginGlue.cpp             \
271
 
        totemPluginGlue.h               \
272
278
        totemPlugin.cpp                 \
273
279
        totemPlugin.h                   \
274
 
        totemStringGlue.h               \
275
280
        totemComplexPlugin.cpp          \
276
281
        totemComplexPlugin.h            \
277
 
        totemClassInfo.h                \
278
282
        totem-plugin-viewer-constants.h
279
283
 
280
284
libtotem_complex_plugin_la_CPPFLAGS = \
282
286
        -I$(top_srcdir)/src/backend                     \
283
287
        -I$(top_builddir)/src                           \
284
288
        -I$(top_builddir)/src/backend                   \
285
 
        -Iidl                                           \
286
 
        $(addprefix -I$(MOZILLA_INCLUDE_ROOT)/,$(gecko_include_subdirs))        \
 
289
        -DXP_UNIX                                       \
 
290
        -DMOZ_X11                                       \
287
291
        -DTOTEM_COMPLEX_PLUGIN                          \
288
292
        -DTOTEM_PL_PARSER_MINI                          \
289
293
        -D_REENTRANT                                    \
290
294
        -DDBUS_API_SUBJECT_TO_CHANGE                    \
291
 
        -DGNOMELOCALEDIR="\"$(datadir)/locale\""        \
292
 
        -DGCONF_PREFIX="\"/apps/totem\""                \
293
295
        -DSYSCONFDIR="\"$(sysconfdir)\""                \
294
 
        -DDATADIR="\"$(pkgdatadir)\""                   \
295
296
        -DLIBEXECDIR="\"$(libexecdir)\""                \
296
 
        -DBINDIR="\"$(bindir)\""                        \
297
297
        $(DISABLE_DEPRECATED)                           \
298
298
        $(AM_CPPFLAGS)
299
299
 
300
300
libtotem_complex_plugin_la_CXXFLAGS = \
301
301
        $(BROWSER_PLUGIN_CFLAGS)        \
302
 
        $(MOZILLA_XPCOM_CFLAGS)         \
303
302
        $(DBUS_CFLAGS)                  \
304
303
        $(WARN_CXXFLAGS)                \
305
304
        $(PLUGIN_EXTRA_WARN_CXXFLAGS)   \
306
305
        $(AM_CXXFLAGS)
307
306
 
308
 
libtotem_complex_plugin_la_LIBADD =                                     \
309
 
        libtotempluginviewer_helper.la                                  \
310
 
        $(DBUS_LIBS)    \
311
 
        $(BROWSER_PLUGIN_LIBS)  \
312
 
        $(LIBXPCOMGLUE_S)
 
307
libtotem_complex_plugin_la_LIBADD = \
 
308
        libtotembrowserplugin_helper.la \
 
309
        $(DBUS_LIBS)                    \
 
310
        $(BROWSER_PLUGIN_LIBS)
313
311
 
314
312
libtotem_complex_plugin_la_LDFLAGS = \
315
313
        -avoid-version  \
326
324
plugin_LTLIBRARIES += libtotem-narrowspace-plugin.la
327
325
 
328
326
libtotem_narrowspace_plugin_la_SOURCES = \
329
 
        totemDebug.h                    \
 
327
        npapi.h                         \
 
328
        npruntime.h                     \
 
329
        npupp.h                         \
 
330
        totemNPNGlue.cpp                \
 
331
        totemNPClass.cpp                \
 
332
        totemNPClass.h                  \
 
333
        totemNPObject.cpp               \
 
334
        totemNPObject.h                 \
 
335
        totemNPObjectWrapper.h          \
 
336
        totemNPVariantWrapper.h         \
330
337
        totemPluginGlue.cpp             \
331
 
        totemPluginGlue.h               \
332
338
        totemPlugin.cpp                 \
333
339
        totemPlugin.h                   \
334
 
        totemStringGlue.h               \
335
340
        totemNarrowSpacePlugin.cpp      \
336
341
        totemNarrowSpacePlugin.h        \
337
 
        totemClassInfo.h                \
338
342
        totem-plugin-viewer-constants.h
339
343
 
340
344
libtotem_narrowspace_plugin_la_CPPFLAGS = \
342
346
        -I$(top_srcdir)/src/backend                     \
343
347
        -I$(top_builddir)/src                           \
344
348
        -I$(top_builddir)/src/backend                   \
345
 
        -Iidl                                           \
346
 
        $(addprefix -I$(MOZILLA_INCLUDE_ROOT)/,$(gecko_include_subdirs))        \
 
349
        -DXP_UNIX                                       \
 
350
        -DMOZ_X11                                       \
347
351
        -DTOTEM_NARROWSPACE_PLUGIN                      \
348
352
        -DTOTEM_PL_PARSER_MINI                          \
349
353
        -D_REENTRANT                                    \
350
354
        -DDBUS_API_SUBJECT_TO_CHANGE                    \
351
 
        -DGNOMELOCALEDIR="\"$(datadir)/locale\""        \
352
 
        -DGCONF_PREFIX="\"/apps/totem\""                \
353
355
        -DSYSCONFDIR="\"$(sysconfdir)\""                \
354
 
        -DDATADIR="\"$(pkgdatadir)\""                   \
355
356
        -DLIBEXECDIR="\"$(libexecdir)\""                \
356
 
        -DBINDIR="\"$(bindir)\""                        \
357
357
        $(DISABLE_DEPRECATED)                           \
358
358
        $(AM_CPPFLAGS)
359
359
 
360
360
libtotem_narrowspace_plugin_la_CXXFLAGS = \
361
361
        $(BROWSER_PLUGIN_CFLAGS)        \
362
 
        $(MOZILLA_XPCOM_CFLAGS)         \
363
362
        $(DBUS_CFLAGS)                  \
364
363
        $(WARN_CXXFLAGS)                \
365
364
        $(PLUGIN_EXTRA_WARN_CXXFLAGS)   \
366
365
        $(AM_CXXFLAGS)
367
366
 
368
 
libtotem_narrowspace_plugin_la_LIBADD =                                 \
369
 
        libtotempluginviewer_helper.la                                  \
370
 
        $(DBUS_LIBS)    \
371
 
        $(BROWSER_PLUGIN_LIBS)  \
372
 
        $(LIBXPCOMGLUE_S)
 
367
libtotem_narrowspace_plugin_la_LIBADD = \
 
368
        libtotembrowserplugin_helper.la \
 
369
        $(DBUS_LIBS)                    \
 
370
        $(BROWSER_PLUGIN_LIBS)
373
371
 
374
372
libtotem_narrowspace_plugin_la_LDFLAGS = \
375
373
        -avoid-version  \
386
384
plugin_LTLIBRARIES += libtotem-mully-plugin.la
387
385
 
388
386
libtotem_mully_plugin_la_SOURCES =      \
389
 
        totemDebug.h                    \
 
387
        npapi.h                         \
 
388
        npruntime.h                     \
 
389
        npupp.h                         \
 
390
        totemNPNGlue.cpp                \
 
391
        totemNPClass.cpp                \
 
392
        totemNPClass.h                  \
 
393
        totemNPObject.cpp               \
 
394
        totemNPObject.h                 \
 
395
        totemNPObjectWrapper.h          \
 
396
        totemNPVariantWrapper.h         \
390
397
        totemPluginGlue.cpp             \
391
 
        totemPluginGlue.h               \
392
398
        totemPlugin.cpp                 \
393
399
        totemPlugin.h                   \
394
 
        totemStringGlue.h               \
395
400
        totemMullYPlugin.cpp            \
396
401
        totemMullYPlugin.h              \
397
 
        totemClassInfo.h                \
398
402
        totem-plugin-viewer-constants.h
399
403
 
400
404
libtotem_mully_plugin_la_CPPFLAGS = \
402
406
        -I$(top_srcdir)/src/backend                     \
403
407
        -I$(top_builddir)/src                           \
404
408
        -I$(top_builddir)/src/backend                   \
405
 
        -Iidl                                           \
406
 
        $(addprefix -I$(MOZILLA_INCLUDE_ROOT)/,$(gecko_include_subdirs))        \
 
409
        -DXP_UNIX                                       \
 
410
        -DMOZ_X11                                       \
407
411
        -DTOTEM_MULLY_PLUGIN                            \
408
412
        -DTOTEM_PL_PARSER_MINI                          \
409
413
        -D_REENTRANT                                    \
410
414
        -DDBUS_API_SUBJECT_TO_CHANGE                    \
411
 
        -DGNOMELOCALEDIR="\"$(datadir)/locale\""        \
412
 
        -DGCONF_PREFIX="\"/apps/totem\""                \
413
415
        -DSYSCONFDIR="\"$(sysconfdir)\""                \
414
 
        -DDATADIR="\"$(pkgdatadir)\""                   \
415
416
        -DLIBEXECDIR="\"$(libexecdir)\""                \
416
 
        -DBINDIR="\"$(bindir)\""                        \
417
417
        $(DISABLE_DEPRECATED)                           \
418
418
        $(AM_CPPFLAGS)
419
419
 
420
420
libtotem_mully_plugin_la_CXXFLAGS = \
421
421
        $(BROWSER_PLUGIN_CFLAGS)        \
422
 
        $(MOZILLA_XPCOM_CFLAGS)         \
423
422
        $(DBUS_CFLAGS)                  \
424
423
        $(WARN_CXXFLAGS)                \
425
424
        $(PLUGIN_EXTRA_WARN_CXXFLAGS)   \
426
425
        $(AM_CXXFLAGS)
427
426
 
428
 
libtotem_mully_plugin_la_LIBADD =                                       \
429
 
        libtotempluginviewer_helper.la                                  \
430
 
        $(DBUS_LIBS)    \
431
 
        $(BROWSER_PLUGIN_LIBS)  \
432
 
        $(LIBXPCOMGLUE_S)
 
427
libtotem_mully_plugin_la_LIBADD = \
 
428
        libtotembrowserplugin_helper.la \
 
429
        $(DBUS_LIBS)                    \
 
430
        $(BROWSER_PLUGIN_LIBS)
433
431
 
434
432
libtotem_mully_plugin_la_LDFLAGS = \
435
433
        -avoid-version  \
446
444
plugin_LTLIBRARIES += libtotem-cone-plugin.la
447
445
 
448
446
libtotem_cone_plugin_la_SOURCES =       \
449
 
        totemDebug.h                    \
 
447
        npapi.h                         \
 
448
        npruntime.h                     \
 
449
        npupp.h                         \
 
450
        totemNPNGlue.cpp                \
 
451
        totemNPClass.cpp                \
 
452
        totemNPClass.h                  \
 
453
        totemNPObject.cpp               \
 
454
        totemNPObject.h                 \
 
455
        totemNPObjectWrapper.h          \
 
456
        totemNPVariantWrapper.h         \
 
457
        totemConeAudio.cpp              \
 
458
        totemConeAudio.h                \
 
459
        totemCone.cpp                   \
 
460
        totemCone.h                     \
 
461
        totemConeInput.cpp              \
 
462
        totemConeInput.h                \
 
463
        totemConePlaylist.cpp           \
 
464
        totemConePlaylist.h             \
 
465
        totemConePlaylistItems.cpp      \
 
466
        totemConePlaylistItems.h        \
 
467
        totemConeVideo.cpp              \
 
468
        totemConeVideo.h                \
450
469
        totemPluginGlue.cpp             \
451
 
        totemPluginGlue.h               \
452
470
        totemPlugin.cpp                 \
453
471
        totemPlugin.h                   \
454
 
        totemStringGlue.h               \
455
 
        totemConePlugin.cpp             \
456
 
        totemConePlugin.h               \
457
 
        totemClassInfo.h                \
458
472
        totem-plugin-viewer-constants.h
459
473
 
460
474
libtotem_cone_plugin_la_CPPFLAGS = \
462
476
        -I$(top_srcdir)/src/backend                     \
463
477
        -I$(top_builddir)/src                           \
464
478
        -I$(top_builddir)/src/backend                   \
465
 
        -Iidl                                           \
466
 
        $(addprefix -I$(MOZILLA_INCLUDE_ROOT)/,$(gecko_include_subdirs))        \
 
479
        -DXP_UNIX                                       \
 
480
        -DMOZ_X11                                       \
467
481
        -DTOTEM_CONE_PLUGIN                             \
468
482
        -DTOTEM_PL_PARSER_MINI                          \
469
483
        -D_REENTRANT                                    \
470
484
        -DDBUS_API_SUBJECT_TO_CHANGE                    \
471
 
        -DGNOMELOCALEDIR="\"$(datadir)/locale\""        \
472
 
        -DGCONF_PREFIX="\"/apps/totem\""                \
473
485
        -DSYSCONFDIR="\"$(sysconfdir)\""                \
474
 
        -DDATADIR="\"$(pkgdatadir)\""                   \
475
486
        -DLIBEXECDIR="\"$(libexecdir)\""                \
476
 
        -DBINDIR="\"$(bindir)\""                        \
477
487
        $(DISABLE_DEPRECATED)                           \
478
488
        $(AM_CPPFLAGS)
479
489
 
480
490
libtotem_cone_plugin_la_CXXFLAGS = \
481
491
        $(BROWSER_PLUGIN_CFLAGS)        \
482
 
        $(MOZILLA_XPCOM_CFLAGS)         \
483
492
        $(DBUS_CFLAGS)                  \
484
493
        $(WARN_CXXFLAGS)                \
485
494
        $(PLUGIN_EXTRA_WARN_CXXFLAGS)   \
486
495
        $(AM_CXXFLAGS)
487
496
 
488
 
libtotem_cone_plugin_la_LIBADD =                                        \
489
 
        libtotempluginviewer_helper.la                                  \
490
 
        $(DBUS_LIBS)    \
491
 
        $(BROWSER_PLUGIN_LIBS)  \
492
 
        $(LIBXPCOMGLUE_S)
 
497
libtotem_cone_plugin_la_LIBADD = \
 
498
        libtotembrowserplugin_helper.la \
 
499
        $(DBUS_LIBS)                    \
 
500
        $(BROWSER_PLUGIN_LIBS)
493
501
 
494
502
libtotem_cone_plugin_la_LDFLAGS = \
495
503
        -avoid-version  \
498
506
        $(AM_LDFLAGS)
499
507
 
500
508
endif
501