Makefile.am 19.3 KB
Newer Older
1 2
include $(top_srcdir)/common/check.mak

3
CHECK_REGISTRY = $(top_builddir)/tests/check/test-registry.reg
4
TEST_FILES_DIRECTORY = $(top_srcdir)/tests/files
5

6
REGISTRY_ENVIRONMENT = \
7
	GST_REGISTRY_1_0=$(CHECK_REGISTRY)
8

9
AM_TESTS_ENVIRONMENT += \
10
	GST_STATE_IGNORE_ELEMENTS="$(STATE_IGNORE_ELEMENTS)"	\
11
	$(REGISTRY_ENVIRONMENT)					\
12 13
	GST_PLUGIN_SYSTEM_PATH_1_0=				\
	GST_PLUGIN_PATH_1_0=$(top_builddir)/gst:$(top_builddir)/sys:$(top_builddir)/ext:$(GST_PLUGINS_DIR) \
14 15
	GST_PLUGIN_LOADING_WHITELIST="gstreamer:gst-plugins-base@$(top_builddir)" \
	GST_TAG_LICENSE_TRANSLATIONS_DICT="$(top_srcdir)/gst-libs/gst/tag/license-translations.dict"
16

17

18
# ths core dumps of some machines have PIDs appended
19
CLEANFILES = core.* test-registry.*
20

21
clean-local: clean-local-check
22

23
distclean-local: distclean-local-orc
24 25

$(CHECK_REGISTRY):
26
	$(AM_TESTS_ENVIRONMENT)
27

28
# elements to ignore for the state tests
Mark Nauwelaerts's avatar
Mark Nauwelaerts committed
29
STATE_IGNORE_ELEMENTS = cdio cdparanoiasrc libvisual_ alsasrc alsasink
30

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
31
TESTS = $(check_PROGRAMS)
32

33 34 35 36 37 38
if USE_LIBVISUAL
check_libvisual = elements/libvisual
else
check_libvisual =
endif

39 40 41
if USE_OGG
check_ogg = pipelines/oggmux
else
42
check_ogg =
43 44
endif

45 46 47 48 49 50
if USE_OPUS
check_opus = elements/opus
else
check_opus =
endif

51 52 53
if USE_PANGO
check_pango = elements/textoverlay
else
54
check_pango =
55 56
endif

57
if USE_VORBIS
58 59
check_vorbis = elements/vorbisdec pipelines/vorbisenc pipelines/vorbisdec \
	elements/vorbistag
60 61 62 63
else
check_vorbis =
endif

64 65 66 67 68 69 70 71 72 73 74 75 76 77
if USE_PLUGIN_AUDIOTESTSRC
check_audiotestsrc = elements/audiotestsrc
else
check_audiotestsrc =
endif

if USE_PLUGIN_AUDIOCONVERT
check_audioconvert = elements/audioconvert
else
check_audioconvert =
endif

if USE_PLUGIN_PLAYBACK
check_playback = elements/decodebin elements/playbin \
78 79
    elements/playbin-complex elements/streamsynchronizer \
    elements/playsink
80 81 82 83
else
check_playback =
endif

84
if USE_THEORA
85
check_theora = pipelines/theoraenc
86 87 88 89
else
check_theora =
endif

90 91 92 93 94 95 96 97 98 99
if USE_VORBIS
if USE_THEORA
check_encodebin = elements/encodebin
else
check_encodebin =
endif
else
check_encodebin =
endif

100 101 102 103 104 105
if USE_PLUGIN_TYPEFIND
check_typefind = gst/typefindfunctions
else
check_typefind =
endif

106 107 108 109 110 111
if USE_PLUGIN_RAWPARSE
check_rawparse = elements/rawaudioparse elements/rawvideoparse
else
check_rawparse =
endif

112 113 114 115 116 117
if USE_PLUGIN_SUBPARSE
check_subparse = elements/subparse
else
check_subparse =
endif

118 119 120 121 122 123 124 125 126 127 128 129 130
if USE_PLUGIN_VIDEOCONVERT
check_videoconvert = elements/videoconvert
else
check_videoconvert =
endif

if USE_PLUGIN_VIDEORATE
check_videorate = elements/videorate
else
check_videorate =
endif

if USE_PLUGIN_VIDEOSCALE
131 132 133
check_videoscale = elements/videoscale elements/videoscale-1 \
        elements/videoscale-2 elements/videoscale-3 elements/videoscale-4 \
        elements/videoscale-5 elements/videoscale-6
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155
else
check_videoscale =
endif

if USE_PLUGIN_VIDEOTESTSRC
check_videotestsrc = elements/videotestsrc
else
check_videotestsrc =
endif

if USE_PLUGIN_VOLUME
check_volume = elements/volume
else
check_volume =
endif

if USE_PLUGIN_ADDER
check_adder = elements/adder
else
check_adder =
endif

David Schleef's avatar
David Schleef committed
156
if HAVE_ORC
157
check_orc = orc/video orc/audio orc/adder orc/volume orc/videotestsrc
David Schleef's avatar
David Schleef committed
158 159 160 161
else
check_orc =
endif

162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180
if USE_PLUGIN_GIO
check_gio = pipelines/gio
else
check_gio =
endif

if USE_PLUGIN_APP
check_app = elements/appsink elements/appsrc
else
check_app =
endif

if USE_PLUGIN_AUDIORATE
check_audiorate = elements/audiorate
else
check_audiorate =
endif

if USE_PLUGIN_TCP
181 182 183
if USE_PLUGIN_APP
check_tcp = elements/multifdsink elements/multisocketsink pipelines/tcp
else
184
check_tcp = elements/multifdsink elements/multisocketsink
185
endif
186 187 188 189 190 191 192 193 194 195
else
check_tcp =
endif

if USE_PLUGIN_AUDIORESAMPLE
check_audioresample = elements/audioresample
else
check_audioresample =
endif

196 197 198 199 200 201
if HAVE_CXX
cxx_checks = libs/gstlibscpp
else
cxx_checks =
endif

202
check_PROGRAMS = \
203
	generic/clock-selection \
204
	generic/states \
205
	libs/libsabi \
206
	libs/allocators \
207
	libs/audio \
208
	libs/audiocdsrc \
209
	libs/audiodecoder \
210
	libs/audioencoder \
211
	libs/baseaudiovisualizer \
212
	libs/discoverer \
213
	libs/fft \
214
	libs/navigation \
215
	libs/pbutils \
Edward Hervey's avatar
Edward Hervey committed
216
	libs/profile \
217
	libs/mikey \
218
	libs/rtp \
219 220
	libs/rtpbasedepayload \
	libs/rtpbasepayload \
221
	libs/rtsp \
222
	libs/rtspconnection \
223
	libs/sdp \
224
	libs/tag \
225
	libs/video \
226
	libs/videodecoder \
227
	libs/videoencoder \
228
	libs/videotimecode \
229
	libs/xmpwriter \
230
	pipelines/simple-launch-lines \
Wim Taymans's avatar
Wim Taymans committed
231 232
	pipelines/basetime \
	pipelines/capsfilter-renegotiation \
233
	pipelines/streamsynchronizer \
234 235 236 237 238 239 240 241 242
	$(check_adder) \
	$(check_app) \
	$(check_audioconvert) \
	$(check_audiorate) \
	$(check_audioresample) \
	$(check_audiotestsrc) \
	$(check_encodebin) \
	$(check_gio) \
	$(check_ogg) \
243
	$(check_opus) \
244 245
	$(check_pango) \
	$(check_playback) \
246
	$(check_rawparse) \
247 248 249 250 251 252
	$(check_subparse) \
	$(check_tcp) \
	$(check_theora) \
	$(check_typefind) \
	$(check_videoconvert) \
	$(check_videorate) \
253
	$(check_videoscale) \
254 255 256 257 258
	$(check_videotestsrc) \
	$(check_volume) \
	$(check_vorbis) \
	$(cxx_checks) \
	$(check_orc)
259

260 261 262 263 264
# TORTURE_TO_FIX = \
#       elements/adder

# videoconvert takes too long, so disabled for now
VALGRIND_TO_FIX = \
265
	$(check_orc)
266

267
# these tests don't even pass
268
noinst_PROGRAMS = $(check_libvisual)
269

270
noinst_HEADERS = \
271
	libs/struct_arm.h     \
272 273
	libs/struct_i386.h     \
	libs/struct_i386_osx.h \
274
	libs/struct_ppc32.h \
275
	libs/struct_ppc64.h \
276
	libs/struct_x86_64.h
277

278 279 280
AM_CFLAGS = -I$(top_srcdir)/gst-libs -I$(top_builddir)/gst-libs \
	$(GST_CFLAGS) $(GST_CHECK_CFLAGS) \
	-DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\"" \
281
	-DGST_CHECK_TEST_ENVIRONMENT_BEACON="\"GST_PLUGIN_LOADING_WHITELIST\"" \
282
	-UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS $(PTHREAD_CFLAGS)
283 284
AM_CXXFLAGS = -I$(top_srcdir)/gst-libs -I$(top_builddir)/gst-libs \
	$(GST_CXXFLAGS) $(GST_CHECK_CFLAGS) \
285
	-DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\"" \
286
	-DGST_CHECK_TEST_ENVIRONMENT_BEACON="\"GST_PLUGIN_LOADING_WHITELIST\"" \
287
	-UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS $(PTHREAD_CFLAGS)
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
288
LDADD = $(GST_LIBS) $(GST_CHECK_LIBS)
289 290

# valgrind testing
291
VALGRIND_TESTS_DISABLE = $(VALGRIND_TO_FIX)
292

293
SUPPRESSIONS = $(top_srcdir)/common/gst.supp $(srcdir)/gst-plugins-base.supp
294

295 296 297 298 299 300
libs_libsabi_CFLAGS = \
	$(GST_PLUGINS_BASE_CFLAGS) \
	$(GST_BASE_CFLAGS) \
	$(AM_CFLAGS)

libs_libsabi_LDADD = \
Sebastian Dröge's avatar
Sebastian Dröge committed
301 302 303 304 305 306 307 308
	$(top_builddir)/gst-libs/gst/app/libgstapp-@GST_API_VERSION@.la \
	$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \
	$(top_builddir)/gst-libs/gst/fft/libgstfft-@GST_API_VERSION@.la \
	$(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_API_VERSION@.la \
	$(top_builddir)/gst-libs/gst/rtp/libgstrtp-@GST_API_VERSION@.la \
	$(top_builddir)/gst-libs/gst/rtsp/libgstrtsp-@GST_API_VERSION@.la \
	$(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_API_VERSION@.la \
	$(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \
309 310 311
	$(GST_BASE_LIBS) \
	$(LDADD)

312 313 314 315 316 317 318 319 320 321
libs_allocators_CFLAGS = \
	$(GST_PLUGINS_BASE_CFLAGS) \
	$(GST_BASE_CFLAGS) \
	$(AM_CFLAGS)

libs_allocators_LDADD = \
	$(top_builddir)/gst-libs/gst/allocators/libgstallocators-@GST_API_VERSION@.la \
	$(GST_BASE_LIBS) \
	$(LDADD)

322
libs_audio_CFLAGS = \
323
	$(GST_PLUGINS_BASE_CFLAGS) \
324 325 326
	$(GST_BASE_CFLAGS) \
	$(AM_CFLAGS)

327
libs_audio_LDADD = \
Sebastian Dröge's avatar
Sebastian Dröge committed
328
	$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \
329
	$(GST_BASE_LIBS) \
330 331
	$(LDADD)

332 333 334 335 336 337 338 339 340 341
libs_audiodecoder_CFLAGS = \
	$(GST_PLUGINS_BASE_CFLAGS) \
	$(GST_BASE_CFLAGS) \
	$(AM_CFLAGS)

libs_audiodecoder_LDADD = \
	$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \
	$(GST_BASE_LIBS) \
	$(LDADD)

342 343 344 345 346 347 348 349 350 351
libs_audioencoder_CFLAGS = \
	$(GST_PLUGINS_BASE_CFLAGS) \
	$(GST_BASE_CFLAGS) \
	$(AM_CFLAGS)

libs_audioencoder_LDADD = \
	$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \
	$(GST_BASE_LIBS) \
	$(LDADD)

352
libs_audiocdsrc_CFLAGS = \
353
	$(GST_PLUGINS_BASE_CFLAGS) \
354 355 356
	$(GST_BASE_CFLAGS) \
	$(AM_CFLAGS)

357
libs_audiocdsrc_LDADD = \
Sebastian Dröge's avatar
Sebastian Dröge committed
358 359
	$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \
	$(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_API_VERSION@.la \
360
	$(GST_BASE_LIBS) \
361
	$(LDADD)
362

363 364 365
libs_baseaudiovisualizer_SOURCES = libs/baseaudiovisualizer.c
libs_baseaudiovisualizer_CFLAGS = \
        $(GST_PLUGINS_BASE_CFLAGS) \
366
        $(GST_CFLAGS) $(AM_CFLAGS)
367
libs_baseaudiovisualizer_LDADD = \
368
        $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_API_VERSION@.la \
369 370
        $(GST_LIBS) $(LDADD)

371 372 373 374 375
libs_discoverer_CFLAGS = \
	$(GST_PLUGINS_BASE_CFLAGS) \
	$(AM_CFLAGS) \
	-DGST_TEST_FILE="\"$(abs_top_srcdir)/tests/files/partialframe.mjpeg\""
libs_discoverer_LDADD = \
Sebastian Dröge's avatar
Sebastian Dröge committed
376
	$(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_API_VERSION@.la \
377 378
	$(GST_BASE_LIBS) $(LDADD)

379 380 381 382 383 384
libs_fft_CFLAGS = \
	$(GST_PLUGINS_BASE_CFLAGS) \
	$(GST_BASE_CFLAGS) \
	$(AM_CFLAGS)

libs_fft_LDADD = \
Sebastian Dröge's avatar
Sebastian Dröge committed
385
	$(top_builddir)/gst-libs/gst/fft/libgstfft-@GST_API_VERSION@.la \
386 387 388
	$(GST_BASE_LIBS) \
	$(LDADD)

389 390 391 392 393 394
libs_navigation_CFLAGS = \
	$(GST_PLUGINS_BASE_CFLAGS) \
        $(GST_BASE_CFLAGS) \
        $(AM_CFLAGS)

libs_navigation_LDADD = \
395
	$(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \
396 397 398
        $(GST_BASE_LIBS) \
        $(LDADD)

399 400 401 402 403 404 405
libs_sdp_CFLAGS = \
	$(GST_PLUGINS_BASE_CFLAGS) \
	$(AM_CFLAGS)
libs_sdp_LDADD = \
	$(top_builddir)/gst-libs/gst/sdp/libgstsdp-@GST_API_VERSION@.la \
	$(GST_BASE_LIBS) $(LDADD)

406 407 408 409
libs_rtp_CFLAGS = \
	$(GST_PLUGINS_BASE_CFLAGS) \
	$(AM_CFLAGS)
libs_rtp_LDADD = \
Sebastian Dröge's avatar
Sebastian Dröge committed
410
	$(top_builddir)/gst-libs/gst/rtp/libgstrtp-@GST_API_VERSION@.la \
Thiago Santos's avatar
Thiago Santos committed
411
	$(GST_BASE_LIBS) $(LDADD)
412

413 414 415 416 417 418 419
libs_mikey_CFLAGS = \
	$(GST_PLUGINS_BASE_CFLAGS) \
	$(AM_CFLAGS)
libs_mikey_LDADD = \
	$(top_builddir)/gst-libs/gst/sdp/libgstsdp-@GST_API_VERSION@.la \
	$(GST_BASE_LIBS) $(LDADD)

420
libs_rtpbasepayload_CFLAGS = \
421 422
	$(GST_PLUGINS_BASE_CFLAGS) \
	$(AM_CFLAGS)
423 424 425 426 427 428 429 430
libs_rtpbasepayload_LDADD = \
	$(top_builddir)/gst-libs/gst/rtp/libgstrtp-@GST_API_VERSION@.la \
	$(GST_BASE_LIBS) $(LDADD)

libs_rtpbasedepayload_CFLAGS = \
	$(GST_PLUGINS_BASE_CFLAGS) \
	$(AM_CFLAGS)
libs_rtpbasedepayload_LDADD = \
431 432 433
	$(top_builddir)/gst-libs/gst/rtp/libgstrtp-@GST_API_VERSION@.la \
	$(GST_BASE_LIBS) $(LDADD)

434 435 436 437
libs_rtsp_CFLAGS = \
	$(GST_PLUGINS_BASE_CFLAGS) \
	$(AM_CFLAGS)
libs_rtsp_LDADD = \
Sebastian Dröge's avatar
Sebastian Dröge committed
438
	$(top_builddir)/gst-libs/gst/rtsp/libgstrtsp-@GST_API_VERSION@.la \
439 440
	$(GST_BASE_LIBS) $(LDADD)

441 442 443 444 445 446 447 448
libs_rtspconnection_CFLAGS = \
	$(GST_PLUGINS_BASE_CFLAGS) \
	$(GIO_CFLAGS) \
	$(AM_CFLAGS)
libs_rtspconnection_LDADD = \
	$(top_builddir)/gst-libs/gst/rtsp/libgstrtsp-@GST_API_VERSION@.la \
	$(GST_BASE_LIBS) $(GIO_LIBS) $(LDADD)

449 450
libs_tag_CFLAGS = \
	$(GST_PLUGINS_BASE_CFLAGS) \
451
	$(GST_BASE_CFLAGS) \
452
	$(AM_CFLAGS)
453
libs_tag_LDADD = \
Sebastian Dröge's avatar
Sebastian Dröge committed
454
	$(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_API_VERSION@.la \
455
	$(GST_BASE_LIBS) $(LDADD)
456

457
libs_pbutils_CFLAGS = \
458 459
	$(GST_PLUGINS_BASE_CFLAGS) \
	$(AM_CFLAGS)
460
libs_pbutils_LDADD = \
Sebastian Dröge's avatar
Sebastian Dröge committed
461 462
	$(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_API_VERSION@.la \
	$(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \
Thiago Santos's avatar
Thiago Santos committed
463
	$(GST_BASE_LIBS) $(LDADD)
464

Edward Hervey's avatar
Edward Hervey committed
465 466 467 468
libs_profile_CFLAGS = \
	$(GST_PLUGINS_BASE_CFLAGS) \
	$(AM_CFLAGS)
libs_profile_LDADD = \
Sebastian Dröge's avatar
Sebastian Dröge committed
469
	$(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_API_VERSION@.la $(LDADD)
Edward Hervey's avatar
Edward Hervey committed
470

471 472 473 474 475 476
libs_xmpwriter_CFLAGS = \
	$(GST_PLUGINS_BASE_CFLAGS) \
        $(GST_BASE_CFLAGS) \
        $(AM_CFLAGS)

libs_xmpwriter_LDADD = \
Sebastian Dröge's avatar
Sebastian Dröge committed
477
	$(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_API_VERSION@.la \
478 479 480 481
        $(GST_BASE_LIBS) \
        $(LDADD)


482 483
libs_gstlibscpp_SOURCES = libs/gstlibscpp.cc

484 485 486 487 488
elements_appsink_CFLAGS = \
	$(GST_PLUGINS_BASE_CFLAGS) \
	$(AM_CFLAGS)

elements_appsink_LDADD = \
Sebastian Dröge's avatar
Sebastian Dröge committed
489
	$(top_builddir)/gst-libs/gst/app/libgstapp-@GST_API_VERSION@.la \
490 491
	$(LDADD)

492 493 494 495 496
elements_appsrc_CFLAGS = \
	$(GST_PLUGINS_BASE_CFLAGS) \
	$(AM_CFLAGS)

elements_appsrc_LDADD = \
Sebastian Dröge's avatar
Sebastian Dröge committed
497
	$(top_builddir)/gst-libs/gst/app/libgstapp-@GST_API_VERSION@.la \
498 499
	$(LDADD)

500
elements_audioconvert_CFLAGS = \
501
	$(GST_PLUGINS_BASE_CFLAGS) \
502 503 504
	$(GST_BASE_CFLAGS) \
	$(AM_CFLAGS)

505
elements_audioconvert_LDADD = \
Sebastian Dröge's avatar
Sebastian Dröge committed
506
	$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \
507
	$(GST_BASE_LIBS) \
508 509
	$(LDADD)

510
elements_audiorate_LDADD = \
Sebastian Dröge's avatar
Sebastian Dröge committed
511
	$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \
512 513
	$(GST_BASE_LIBS) \
	$(LDADD)
514
elements_audiorate_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
515

516 517 518
elements_libvisual_LDADD =  $(LDADD)
elements_libvisual_CFLAGS = $(CFLAGS) $(AM_CFLAGS)

519 520 521
elements_playbin_LDADD = $(GST_BASE_LIBS) $(LDADD)
elements_playbin_CFLAGS = $(GST_BASE_CFLAGS) $(AM_CFLAGS)

522
elements_playbin_complex_LDADD = $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la $(GST_BASE_LIBS) $(LDADD)
523
elements_playbin_complex_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS)
524

525 526 527
elements_decodebin_LDADD = $(GST_BASE_LIBS) $(LDADD)
elements_decodebin_CFLAGS = $(GST_BASE_CFLAGS) $(AM_CFLAGS)

Sebastian Dröge's avatar
Sebastian Dröge committed
528
elements_encodebin_LDADD = $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_API_VERSION@.la $(GST_BASE_LIBS) $(LDADD)
Edward Hervey's avatar
Edward Hervey committed
529 530
elements_encodebin_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS)

531 532 533 534 535 536
elements_rawaudioparse_LDADD = $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la $(GST_BASE_LIBS) -lgstbase-@GST_API_VERSION@ $(LDADD)
elements_rawaudioparse_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS)

elements_rawvideoparse_LDADD = $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la $(GST_BASE_LIBS) -lgstbase-@GST_API_VERSION@ $(LDADD)
elements_rawvideoparse_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS)

537 538 539
elements_subparse_LDADD =  $(LDADD)
elements_subparse_CFLAGS = $(CFLAGS) $(AM_CFLAGS)

540 541 542
elements_adder_LDADD = $(GST_BASE_LIBS) $(LDADD)
elements_adder_CFLAGS = $(GST_BASE_CFLAGS) $(AM_CFLAGS)

543
elements_audioresample_CFLAGS = \
544 545 546 547
	$(GST_PLUGINS_BASE_CFLAGS) \
	$(GST_BASE_CFLAGS) \
	$(AM_CFLAGS)

548
elements_audioresample_LDADD = \
Sebastian Dröge's avatar
Sebastian Dröge committed
549 550
	$(top_builddir)/gst-libs/gst/fft/libgstfft-@GST_API_VERSION@.la \
	$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \
551 552 553
	$(GST_BASE_LIBS) \
	$(LDADD)

554 555
elements_textoverlay_LDADD = $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la $(GST_BASE_LIBS) $(LDADD)
elements_textoverlay_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS)
556

557
elements_volume_LDADD = \
Sebastian Dröge's avatar
Sebastian Dröge committed
558
	$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \
559
	$(GST_CONTROLLER_LIBS) \
560 561 562 563
	$(GST_BASE_LIBS) \
	$(LDADD)

elements_volume_CFLAGS = \
564
	$(GST_PLUGINS_BASE_CFLAGS) \
565
	$(GST_CONTROLLER_CFLAGS) \
566
	$(GST_BASE_CFLAGS) \
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
567
	$(AM_CFLAGS)
568

569 570
elements_vorbisdec_LDADD = \
	$(LDADD) \
571 572
	$(VORBIS_LIBS) \
	$(VORBISENC_LIBS)
573 574 575 576 577 578 579

elements_vorbisdec_CFLAGS = \
	$(GST_PLUGINS_BASE_CFLAGS) \
	$(AM_CFLAGS) \
	$(VORBIS_CFLAGS) \
	$(CFLAGS)

580
elements_vorbistag_LDADD = \
581
	$(LDADD) \
582 583
	$(VORBIS_LIBS) \
	$(VORBISENC_LIBS)
584 585

elements_vorbistag_CFLAGS = \
586
	$(GST_PLUGINS_BASE_CFLAGS) \
587
	$(AM_CFLAGS) \
588
	$(VORBIS_CFLAGS) \
589
	$(CFLAGS)
590

591 592 593 594 595 596 597 598
elements_videoconvert_CFLAGS = \
	$(GST_PLUGINS_BASE_CFLAGS) \
	$(GST_BASE_CFLAGS) \
	$(AM_CFLAGS)
elements_videoconvert_LDADD = \
	$(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \
	$(GST_BASE_LIBS) $(LDADD)

599 600 601 602 603
elements_videoscale_CFLAGS = \
	$(GST_PLUGINS_BASE_CFLAGS) \
	$(GST_BASE_CFLAGS) \
	$(AM_CFLAGS)
elements_videoscale_LDADD = \
Sebastian Dröge's avatar
Sebastian Dröge committed
604
	$(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \
605 606
	$(GST_BASE_LIBS) $(LDADD)

607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625
elements_videoscale_1_SOURCES = elements/videoscale.c
elements_videoscale_1_CFLAGS = $(elements_videoscale_CFLAGS) -DVSCALE_TEST_GROUP=1
elements_videoscale_1_LDADD = $(elements_videoscale_LDADD)
elements_videoscale_2_SOURCES = elements/videoscale.c
elements_videoscale_2_CFLAGS = $(elements_videoscale_CFLAGS) -DVSCALE_TEST_GROUP=2
elements_videoscale_2_LDADD = $(elements_videoscale_LDADD)
elements_videoscale_3_SOURCES = elements/videoscale.c
elements_videoscale_3_CFLAGS = $(elements_videoscale_CFLAGS) -DVSCALE_TEST_GROUP=3
elements_videoscale_3_LDADD = $(elements_videoscale_LDADD)
elements_videoscale_4_SOURCES = elements/videoscale.c
elements_videoscale_4_CFLAGS = $(elements_videoscale_CFLAGS) -DVSCALE_TEST_GROUP=4
elements_videoscale_4_LDADD = $(elements_videoscale_LDADD)
elements_videoscale_5_SOURCES = elements/videoscale.c
elements_videoscale_5_CFLAGS = $(elements_videoscale_CFLAGS) -DVSCALE_TEST_GROUP=5
elements_videoscale_5_LDADD = $(elements_videoscale_LDADD)
elements_videoscale_6_SOURCES = elements/videoscale.c
elements_videoscale_6_CFLAGS = $(elements_videoscale_CFLAGS) -DVSCALE_TEST_GROUP=6
elements_videoscale_6_LDADD = $(elements_videoscale_LDADD)

626 627 628
gst_typefindfunctions_CFLAGS = $(GST_BASE_CFLAGS) $(AM_CFLAGS)
gst_typefindfunctions_LDADD = $(GST_BASE_LIBS) $(LDADD)

629
libs_video_CFLAGS = \
630
	$(GST_PLUGINS_BASE_CFLAGS) \
631 632 633
	$(GST_BASE_CFLAGS) \
	$(AM_CFLAGS)

634
libs_video_LDADD = \
Sebastian Dröge's avatar
Sebastian Dröge committed
635
	$(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \
636
	$(GST_BASE_LIBS) \
637 638
	$(LDADD)

639 640 641 642 643 644 645 646 647 648
libs_videodecoder_CFLAGS = \
	$(GST_PLUGINS_BASE_CFLAGS) \
	$(GST_BASE_CFLAGS) \
	$(AM_CFLAGS)

libs_videodecoder_LDADD = \
	$(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \
	$(GST_BASE_LIBS) \
	$(LDADD)

649 650 651 652 653 654 655 656 657 658
libs_videoencoder_CFLAGS = \
	$(GST_PLUGINS_BASE_CFLAGS) \
	$(GST_BASE_CFLAGS) \
	$(AM_CFLAGS)

libs_videoencoder_LDADD = \
	$(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \
	$(GST_BASE_LIBS) \
	$(LDADD)

659 660 661 662 663 664 665 666 667 668
libs_videotimecode_CFLAGS = \
	$(GST_PLUGINS_BASE_CFLAGS) \
	$(GST_BASE_CFLAGS) \
	$(AM_CFLAGS)

libs_videotimecode_LDADD = \
	$(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \
	$(GST_BASE_LIBS) \
	$(LDADD)

669 670 671
elements_multisocketsink_CFLAGS = $(GIO_CFLAGS) $(AM_CFLAGS)
elements_multisocketsink_LDADD = $(GIO_LIBS) $(LDADD)

672 673 674 675 676
if USE_GIO_UNIX_2_0
GIO_UNIX_2_0_DEFINED=-DHAVE_GIO_UNIX_2_0=1
endif

pipelines_tcp_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_NET_CFLAGS) $(GIO_CFLAGS) $(GIO_UNIX_2_0_CFLAGS) $(GIO_UNIX_2_0_DEFINED) $(AM_CFLAGS)
677 678
pipelines_tcp_LDADD =  $(top_builddir)/gst-libs/gst/app/libgstapp-@GST_API_VERSION@.la \
	$(GST_NET_LIBS) $(GIO_LIBS) $(GIO_UNIX_2_0_LIBS) $(LDADD)
679

Jan Schmidt's avatar
Jan Schmidt committed
680 681 682
pipelines_gio_CFLAGS = $(GIO_CFLAGS) $(AM_CFLAGS)
pipelines_gio_LDADD = $(GIO_LIBS) $(LDADD)

683 684 685 686
pipelines_vorbisenc_CFLAGS = \
        $(GST_PLUGINS_BASE_CFLAGS) \
        $(AM_CFLAGS)

687 688 689 690 691
# this seemingly useless CFLAGS line is here only to avoid
# vorbisdec.$(OBJEXT) by triggering creation of pipelines_vorbisdec.$(OBJEXT)
# instead
pipelines_vorbisdec_CFLAGS = $(AM_CFLAGS)

692
pipelines_oggmux_LDADD = $(LDADD) $(OGG_LIBS)
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
693
pipelines_oggmux_CFLAGS = $(AM_CFLAGS) $(OGG_CFLAGS)
694

695
pipelines_theoraenc_CFLAGS = $(AM_CFLAGS) $(THEORA_CFLAGS)
696 697
pipelines_theoraenc_LDADD = $(LDADD) $(THEORA_LIBS)

698 699 700 701
pipelines_simple_launch_lines_CFLAGS = \
	$(GST_BASE_CFLAGS) \
	$(AM_CFLAGS)

702
pipelines_simple_launch_lines_LDADD = \
Sebastian Dröge's avatar
Sebastian Dröge committed
703
	$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \
704
	$(GST_BASE_LIBS) \
705 706
	$(LDADD)

707 708 709 710 711 712
orc_video_CFLAGS = $(ORC_CFLAGS)
orc_video_LDADD = $(ORC_LIBS) -lorc-test-0.4
nodist_orc_video_SOURCES = orc/video.c
orc_audio_CFLAGS = $(ORC_CFLAGS)
orc_audio_LDADD = $(ORC_LIBS) -lorc-test-0.4
nodist_orc_audio_SOURCES = orc/audio.c
David Schleef's avatar
David Schleef committed
713 714
orc_adder_CFLAGS = $(ORC_CFLAGS)
orc_adder_LDADD = $(ORC_LIBS) -lorc-test-0.4
715
nodist_orc_adder_SOURCES = orc/adder.c
David Schleef's avatar
David Schleef committed
716 717
orc_volume_CFLAGS = $(ORC_CFLAGS)
orc_volume_LDADD = $(ORC_LIBS) -lorc-test-0.4
718
nodist_orc_volume_SOURCES = orc/volume.c
David Schleef's avatar
David Schleef committed
719 720
orc_videotestsrc_CFLAGS = $(ORC_CFLAGS)
orc_videotestsrc_LDADD = $(ORC_LIBS) -lorc-test-0.4
721
nodist_orc_videotestsrc_SOURCES = orc/videotestsrc.c
David Schleef's avatar
David Schleef committed
722

723 724 725 726 727 728 729 730
orc/video.c: $(top_srcdir)/gst-libs/gst/video/video-orc.orc
	$(MKDIR_P) orc/
	$(ORCC) --test -o $@ $<

orc/audio.c: $(top_srcdir)/gst-libs/gst/audio/gstaudiopack.orc
	$(MKDIR_P) orc/
	$(ORCC) --test -o $@ $<

David Schleef's avatar
David Schleef committed
731 732 733 734 735 736 737 738 739 740 741 742 743
orc/adder.c: $(top_srcdir)/gst/adder/gstadderorc.orc
	$(MKDIR_P) orc/
	$(ORCC) --test -o $@ $<

orc/volume.c: $(top_srcdir)/gst/volume/gstvolumeorc.orc
	$(MKDIR_P) orc/
	$(ORCC) --test -o $@ $<

orc/videotestsrc.c: $(top_srcdir)/gst/videotestsrc/gstvideotestsrcorc.orc
	$(MKDIR_P) orc/
	$(ORCC) --test -o $@ $<


744
distclean-local-orc:
David Schleef's avatar
David Schleef committed
745 746
	rm -rf orc

747
EXTRA_DIST = gst-plugins-base.supp