Sebastian Dröge | b0d89da | 2012-04-04 13:13:52 +0200 | [diff] [blame] | 1 | lib_LTLIBRARIES = libgstcheck-@GST_API_VERSION@.la |
Thomas Vander Stichele | 8ce827c | 2005-08-20 12:14:28 +0000 | [diff] [blame] | 2 | |
Tim-Philipp Müller | ecbea36 | 2009-08-06 17:27:12 +0100 | [diff] [blame] | 3 | SYMBOLS_FILE = exports.sym |
| 4 | |
Sebastian Dröge | b0d89da | 2012-04-04 13:13:52 +0200 | [diff] [blame] | 5 | libgstcheck_@GST_API_VERSION@_la_DEPENDENCIES = \ |
| 6 | $(top_builddir)/gst/libgstreamer-@GST_API_VERSION@.la \ |
Tim-Philipp Müller | ecbea36 | 2009-08-06 17:27:12 +0100 | [diff] [blame] | 7 | $(SYMBOLS_FILE) |
Sebastian Dröge | b0d89da | 2012-04-04 13:13:52 +0200 | [diff] [blame] | 8 | libgstcheck_@GST_API_VERSION@_la_SOURCES = \ |
Andy Wingo | 1cd7bc4 | 2006-07-21 15:48:04 +0000 | [diff] [blame] | 9 | gstbufferstraw.c \ |
Edward Hervey | dcdc73d | 2009-07-13 09:22:06 +0200 | [diff] [blame] | 10 | gstcheck.c \ |
Sebastian Rasmussen | e58da2a | 2012-08-29 16:11:10 +0200 | [diff] [blame] | 11 | gstconsistencychecker.c \ |
Havard Graff | 66e25da | 2013-12-16 10:47:47 +0100 | [diff] [blame] | 12 | gstharness.c \ |
Sebastian Rasmussen | e58da2a | 2012-08-29 16:11:10 +0200 | [diff] [blame] | 13 | gsttestclock.c |
Thomas Vander Stichele | 8ce827c | 2005-08-20 12:14:28 +0000 | [diff] [blame] | 14 | |
Sebastian Dröge | b0d89da | 2012-04-04 13:13:52 +0200 | [diff] [blame] | 15 | libgstcheck_@GST_API_VERSION@_la_CFLAGS = $(GST_OBJ_CFLAGS) \ |
Tim-Philipp Müller | b5cc885 | 2014-04-12 19:48:15 +0100 | [diff] [blame] | 16 | -UG_DISABLE_ASSERT \ |
David Schleef | ebe0954 | 2009-09-14 12:47:26 -0700 | [diff] [blame] | 17 | -I$(top_builddir)/libs \ |
Tim-Philipp Müller | ecbea36 | 2009-08-06 17:27:12 +0100 | [diff] [blame] | 18 | -I$(top_builddir)/libs/gst/check \ |
| 19 | -I$(top_builddir)/libs/gst/check/libcheck |
Sebastian Dröge | b0d89da | 2012-04-04 13:13:52 +0200 | [diff] [blame] | 20 | libgstcheck_@GST_API_VERSION@_la_LIBADD = $(GST_OBJ_LIBS) \ |
Tim-Philipp Müller | ecbea36 | 2009-08-06 17:27:12 +0100 | [diff] [blame] | 21 | $(top_builddir)/libs/gst/check/libcheck/libcheckinternal.la \ |
| 22 | $(LIBM) |
Sebastian Dröge | b0d89da | 2012-04-04 13:13:52 +0200 | [diff] [blame] | 23 | libgstcheck_@GST_API_VERSION@_la_LDFLAGS = \ |
Tim-Philipp Müller | 2d42fd4 | 2009-07-19 17:04:58 +0100 | [diff] [blame] | 24 | -export-symbols $(SYMBOLS_FILE) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS) |
Thomas Vander Stichele | 8ce827c | 2005-08-20 12:14:28 +0000 | [diff] [blame] | 25 | |
Sebastian Dröge | b0d89da | 2012-04-04 13:13:52 +0200 | [diff] [blame] | 26 | libgstcheck_@GST_API_VERSION@includedir = \ |
| 27 | $(includedir)/gstreamer-@GST_API_VERSION@/gst/check |
Thomas Vander Stichele | 8ce827c | 2005-08-20 12:14:28 +0000 | [diff] [blame] | 28 | |
Sebastian Rasmussen | e58da2a | 2012-08-29 16:11:10 +0200 | [diff] [blame] | 29 | libgstcheck_@GST_API_VERSION@include_HEADERS = \ |
Sebastian Dröge | e58dabc | 2012-12-12 16:44:14 +0000 | [diff] [blame] | 30 | check.h \ |
Tim-Philipp Müller | 357e7c7 | 2018-03-12 23:03:26 +0000 | [diff] [blame] | 31 | check-prelude.h \ |
Andy Wingo | 1cd7bc4 | 2006-07-21 15:48:04 +0000 | [diff] [blame] | 32 | gstbufferstraw.h \ |
Edward Hervey | dcdc73d | 2009-07-13 09:22:06 +0200 | [diff] [blame] | 33 | gstcheck.h \ |
Sebastian Rasmussen | e58da2a | 2012-08-29 16:11:10 +0200 | [diff] [blame] | 34 | gstconsistencychecker.h \ |
Havard Graff | 66e25da | 2013-12-16 10:47:47 +0100 | [diff] [blame] | 35 | gstharness.h \ |
Sebastian Rasmussen | e58da2a | 2012-08-29 16:11:10 +0200 | [diff] [blame] | 36 | gsttestclock.h |
Thomas Vander Stichele | 3c3bbc8 | 2006-07-01 23:26:06 +0000 | [diff] [blame] | 37 | |
Sebastian Dröge | b0d89da | 2012-04-04 13:13:52 +0200 | [diff] [blame] | 38 | nodist_libgstcheck_@GST_API_VERSION@include_HEADERS = \ |
Sebastian Rasmussen | 0b09573 | 2014-12-14 12:54:32 +0100 | [diff] [blame] | 39 | internal-check.h |
Stefan Kost | dbfebe4 | 2010-04-05 00:01:56 +0300 | [diff] [blame] | 40 | |
Sebastian Rasmussen | 0b09573 | 2014-12-14 12:54:32 +0100 | [diff] [blame] | 41 | CLEANFILES = *.gcno *.gcda *.gcov $(SYMBOLS_FILE) |
Thomas Vander Stichele | 3c3bbc8 | 2006-07-01 23:26:06 +0000 | [diff] [blame] | 42 | |
Sebastian Dröge | b0d89da | 2012-04-04 13:13:52 +0200 | [diff] [blame] | 43 | %.c.gcov: .libs/libgstcheck_@GST_API_VERSION@_la-%.gcda %.c |
Thomas Vander Stichele | 3c3bbc8 | 2006-07-01 23:26:06 +0000 | [diff] [blame] | 44 | $(GCOV) -b -f -o $^ > $@.out |
| 45 | |
Sebastian Dröge | b0d89da | 2012-04-04 13:13:52 +0200 | [diff] [blame] | 46 | gcov: $(libgstcheck_@GST_API_VERSION@_la_SOURCES:=.gcov) |
Tim-Philipp Müller | ecbea36 | 2009-08-06 17:27:12 +0100 | [diff] [blame] | 47 | |
| 48 | SUBDIRS = libcheck |
| 49 | |
Tim-Philipp Müller | 2d42fd4 | 2009-07-19 17:04:58 +0100 | [diff] [blame] | 50 | LIBGSTCHECK_EXPORTED_VARS = \ |
| 51 | _gst_check_threads_running \ |
Tim-Philipp Müller | ecbea36 | 2009-08-06 17:27:12 +0100 | [diff] [blame] | 52 | _gst_check_raised_critical \ |
| 53 | _gst_check_raised_warning \ |
Tim-Philipp Müller | 2d42fd4 | 2009-07-19 17:04:58 +0100 | [diff] [blame] | 54 | _gst_check_expecting_log \ |
Tim-Philipp Müller | 6354b57 | 2016-12-16 18:14:29 +0000 | [diff] [blame] | 55 | _gst_check_list_tests \ |
Tim-Philipp Müller | 2d42fd4 | 2009-07-19 17:04:58 +0100 | [diff] [blame] | 56 | buffers \ |
| 57 | check_cond \ |
| 58 | check_debug \ |
| 59 | check_mutex \ |
| 60 | mutex \ |
| 61 | start_cond \ |
| 62 | sync_cond \ |
| 63 | thread_list |
| 64 | |
| 65 | LIBGSTCHECK_EXPORTED_FUNCS = \ |
Tim-Philipp Müller | ecbea36 | 2009-08-06 17:27:12 +0100 | [diff] [blame] | 66 | _gst_check_run_test_func \ |
Tim-Philipp Müller | ecbea36 | 2009-08-06 17:27:12 +0100 | [diff] [blame] | 67 | gst_buffer_straw_get_buffer \ |
| 68 | gst_buffer_straw_start_pipeline \ |
| 69 | gst_buffer_straw_stop_pipeline \ |
| 70 | gst_check_abi_list \ |
| 71 | gst_check_caps_equal \ |
Wim Taymans | 826a7d8 | 2011-03-28 15:52:17 +0200 | [diff] [blame] | 72 | gst_check_buffer_data \ |
Tim-Philipp Müller | ecbea36 | 2009-08-06 17:27:12 +0100 | [diff] [blame] | 73 | gst_check_chain_func \ |
| 74 | gst_check_drop_buffers \ |
| 75 | gst_check_element_push_buffer \ |
| 76 | gst_check_element_push_buffer_list \ |
| 77 | gst_check_init \ |
Stian Selnes | 0c36e57 | 2016-05-24 14:57:54 +0200 | [diff] [blame] | 78 | gst_check_add_log_filter \ |
| 79 | gst_check_remove_log_filter \ |
| 80 | gst_check_clear_log_filter \ |
Tim-Philipp Müller | ecbea36 | 2009-08-06 17:27:12 +0100 | [diff] [blame] | 81 | gst_check_message_error \ |
| 82 | gst_check_run_suite \ |
| 83 | gst_check_setup_element \ |
Nicolas Dufresne | a1866e6 | 2013-05-09 17:17:14 -0400 | [diff] [blame] | 84 | gst_check_setup_events \ |
Jonas Holmberg | 0ea8748 | 2013-07-01 11:10:00 +0200 | [diff] [blame] | 85 | gst_check_setup_events_with_stream_id \ |
Tim-Philipp Müller | ecbea36 | 2009-08-06 17:27:12 +0100 | [diff] [blame] | 86 | gst_check_setup_sink_pad \ |
Sebastian Dröge | 917a033 | 2014-04-15 12:58:59 +0200 | [diff] [blame] | 87 | gst_check_setup_sink_pad_from_template \ |
Tim-Philipp Müller | ecbea36 | 2009-08-06 17:27:12 +0100 | [diff] [blame] | 88 | gst_check_setup_sink_pad_by_name \ |
Edward Hervey | 145517a | 2014-04-16 07:59:27 +0200 | [diff] [blame] | 89 | gst_check_setup_sink_pad_by_name_from_template \ |
Tim-Philipp Müller | ecbea36 | 2009-08-06 17:27:12 +0100 | [diff] [blame] | 90 | gst_check_setup_src_pad \ |
Sebastian Dröge | 917a033 | 2014-04-15 12:58:59 +0200 | [diff] [blame] | 91 | gst_check_setup_src_pad_from_template \ |
Tim-Philipp Müller | ecbea36 | 2009-08-06 17:27:12 +0100 | [diff] [blame] | 92 | gst_check_setup_src_pad_by_name \ |
Sebastian Dröge | 917a033 | 2014-04-15 12:58:59 +0200 | [diff] [blame] | 93 | gst_check_setup_src_pad_by_name_from_template \ |
Tim-Philipp Müller | ecbea36 | 2009-08-06 17:27:12 +0100 | [diff] [blame] | 94 | gst_check_teardown_element \ |
| 95 | gst_check_teardown_pad_by_name \ |
| 96 | gst_check_teardown_sink_pad \ |
Tim-Philipp Müller | 2d42fd4 | 2009-07-19 17:04:58 +0100 | [diff] [blame] | 97 | gst_check_teardown_src_pad \ |
Thibault Saunier | 87a7967 | 2014-09-11 15:52:32 +0200 | [diff] [blame] | 98 | gst_check_objects_destroyed_on_unref \ |
| 99 | gst_check_object_destroyed_on_unref \ |
Tim-Philipp Müller | 17985ac | 2012-03-05 00:34:36 +0000 | [diff] [blame] | 100 | gst_consistency_checker_add_pad \ |
Tim-Philipp Müller | 2d42fd4 | 2009-07-19 17:04:58 +0100 | [diff] [blame] | 101 | gst_consistency_checker_new \ |
| 102 | gst_consistency_checker_reset \ |
Sebastian Rasmussen | e58da2a | 2012-08-29 16:11:10 +0200 | [diff] [blame] | 103 | gst_consistency_checker_free \ |
Havard Graff | cc4e4ae | 2015-12-09 13:43:38 +1100 | [diff] [blame] | 104 | gst_harness_add_element_full \ |
Havard Graff | 66e25da | 2013-12-16 10:47:47 +0100 | [diff] [blame] | 105 | gst_harness_add_element_src_pad \ |
Matthew Waters | 3afc575 | 2017-11-24 13:58:01 +1100 | [diff] [blame] | 106 | gst_harness_add_element_sink_pad \ |
Havard Graff | cc4e4ae | 2015-12-09 13:43:38 +1100 | [diff] [blame] | 107 | gst_harness_add_parse \ |
Havard Graff | 66e25da | 2013-12-16 10:47:47 +0100 | [diff] [blame] | 108 | gst_harness_add_probe \ |
| 109 | gst_harness_add_sink \ |
Havard Graff | c97f82e | 2015-07-20 16:18:06 +0200 | [diff] [blame] | 110 | gst_harness_add_sink_harness \ |
Havard Graff | 66e25da | 2013-12-16 10:47:47 +0100 | [diff] [blame] | 111 | gst_harness_add_sink_parse \ |
| 112 | gst_harness_add_src \ |
Havard Graff | c97f82e | 2015-07-20 16:18:06 +0200 | [diff] [blame] | 113 | gst_harness_add_src_harness \ |
Havard Graff | 66e25da | 2013-12-16 10:47:47 +0100 | [diff] [blame] | 114 | gst_harness_add_src_parse \ |
Havard Graff | 66e25da | 2013-12-16 10:47:47 +0100 | [diff] [blame] | 115 | gst_harness_buffers_in_queue \ |
Matthew Waters | 3afc575 | 2017-11-24 13:58:01 +1100 | [diff] [blame] | 116 | gst_harness_buffers_received \ |
Havard Graff | 66e25da | 2013-12-16 10:47:47 +0100 | [diff] [blame] | 117 | gst_harness_crank_multiple_clock_waits \ |
| 118 | gst_harness_crank_single_clock_wait \ |
| 119 | gst_harness_create_buffer \ |
| 120 | gst_harness_dump_to_file \ |
Havard Graff | 66e25da | 2013-12-16 10:47:47 +0100 | [diff] [blame] | 121 | gst_harness_events_in_queue \ |
Matthew Waters | 3afc575 | 2017-11-24 13:58:01 +1100 | [diff] [blame] | 122 | gst_harness_events_received \ |
Havard Graff | 66e25da | 2013-12-16 10:47:47 +0100 | [diff] [blame] | 123 | gst_harness_find_element \ |
| 124 | gst_harness_get \ |
| 125 | gst_harness_get_allocator \ |
| 126 | gst_harness_get_last_pushed_timestamp \ |
| 127 | gst_harness_get_testclock \ |
| 128 | gst_harness_new \ |
Havard Graff | cc4e4ae | 2015-12-09 13:43:38 +1100 | [diff] [blame] | 129 | gst_harness_new_empty \ |
Havard Graff | 66e25da | 2013-12-16 10:47:47 +0100 | [diff] [blame] | 130 | gst_harness_new_full \ |
| 131 | gst_harness_new_parse \ |
| 132 | gst_harness_new_with_element \ |
| 133 | gst_harness_new_with_padnames \ |
| 134 | gst_harness_new_with_templates \ |
| 135 | gst_harness_play \ |
| 136 | gst_harness_pull \ |
| 137 | gst_harness_pull_event \ |
| 138 | gst_harness_pull_upstream_event \ |
| 139 | gst_harness_push \ |
| 140 | gst_harness_push_and_pull \ |
| 141 | gst_harness_push_event \ |
| 142 | gst_harness_push_from_src \ |
| 143 | gst_harness_push_to_sink \ |
| 144 | gst_harness_query_latency \ |
| 145 | gst_harness_push_upstream_event \ |
| 146 | gst_harness_set \ |
| 147 | gst_harness_set_caps \ |
| 148 | gst_harness_set_caps_str \ |
| 149 | gst_harness_set_drop_buffers \ |
| 150 | gst_harness_set_blocking_push_mode \ |
Havard Graff | 28100e0 | 2015-07-24 00:41:57 +0200 | [diff] [blame] | 151 | gst_harness_set_forwarding \ |
Havard Graff | 66e25da | 2013-12-16 10:47:47 +0100 | [diff] [blame] | 152 | gst_harness_set_propose_allocator \ |
| 153 | gst_harness_set_sink_caps \ |
| 154 | gst_harness_set_src_caps \ |
| 155 | gst_harness_set_src_caps_str \ |
| 156 | gst_harness_set_sink_caps_str \ |
| 157 | gst_harness_set_time \ |
| 158 | gst_harness_set_upstream_latency \ |
| 159 | gst_harness_sink_push_many \ |
| 160 | gst_harness_src_crank_and_push_many \ |
| 161 | gst_harness_src_push_event \ |
| 162 | gst_harness_stress_custom_start \ |
| 163 | gst_harness_stress_property_start_full \ |
| 164 | gst_harness_stress_push_buffer_start_full \ |
| 165 | gst_harness_stress_push_buffer_with_cb_start_full \ |
| 166 | gst_harness_stress_push_event_start_full \ |
Stian Selnes | 778160b | 2016-01-21 13:28:23 +0100 | [diff] [blame] | 167 | gst_harness_stress_push_event_with_cb_start_full \ |
Havard Graff | 66e25da | 2013-12-16 10:47:47 +0100 | [diff] [blame] | 168 | gst_harness_stress_push_upstream_event_start_full \ |
Stian Selnes | 778160b | 2016-01-21 13:28:23 +0100 | [diff] [blame] | 169 | gst_harness_stress_push_upstream_event_with_cb_start_full \ |
Havard Graff | 66e25da | 2013-12-16 10:47:47 +0100 | [diff] [blame] | 170 | gst_harness_stress_requestpad_start_full \ |
| 171 | gst_harness_stress_statechange_start_full \ |
| 172 | gst_harness_stress_thread_stop \ |
Tim-Philipp Müller | d8e7fc4 | 2017-12-05 15:28:43 +0000 | [diff] [blame] | 173 | gst_harness_take_all_data \ |
| 174 | gst_harness_take_all_data_as_buffer \ |
| 175 | gst_harness_take_all_data_as_bytes \ |
Havard Graff | 66e25da | 2013-12-16 10:47:47 +0100 | [diff] [blame] | 176 | gst_harness_teardown \ |
| 177 | gst_harness_try_pull \ |
| 178 | gst_harness_try_pull_event \ |
| 179 | gst_harness_try_pull_upstream_event \ |
Havard Graff | 66e25da | 2013-12-16 10:47:47 +0100 | [diff] [blame] | 180 | gst_harness_upstream_events_in_queue \ |
Matthew Waters | 3afc575 | 2017-11-24 13:58:01 +1100 | [diff] [blame] | 181 | gst_harness_upstream_events_received \ |
Havard Graff | 66e25da | 2013-12-16 10:47:47 +0100 | [diff] [blame] | 182 | gst_harness_use_systemclock \ |
| 183 | gst_harness_use_testclock \ |
| 184 | gst_harness_wait_for_clock_id_waits \ |
Havard Graff | 668b321 | 2016-01-14 21:54:42 +0100 | [diff] [blame] | 185 | gst_test_clock_advance_time \ |
| 186 | gst_test_clock_crank \ |
| 187 | gst_test_clock_get_next_entry_time \ |
Sebastian Rasmussen | e58da2a | 2012-08-29 16:11:10 +0200 | [diff] [blame] | 188 | gst_test_clock_get_type \ |
Havard Graff | 668b321 | 2016-01-14 21:54:42 +0100 | [diff] [blame] | 189 | gst_test_clock_has_id \ |
| 190 | gst_test_clock_id_list_get_latest_time \ |
Sebastian Rasmussen | e58da2a | 2012-08-29 16:11:10 +0200 | [diff] [blame] | 191 | gst_test_clock_new \ |
| 192 | gst_test_clock_new_with_start_time \ |
Sebastian Rasmussen | 4eeb471 | 2012-08-30 01:58:41 +0200 | [diff] [blame] | 193 | gst_test_clock_peek_id_count \ |
Sebastian Rasmussen | 4eeb471 | 2012-08-30 01:58:41 +0200 | [diff] [blame] | 194 | gst_test_clock_peek_next_pending_id \ |
Havard Graff | 3892cc4 | 2013-12-16 10:01:37 +0100 | [diff] [blame] | 195 | gst_test_clock_process_id_list \ |
Havard Graff | 668b321 | 2016-01-14 21:54:42 +0100 | [diff] [blame] | 196 | gst_test_clock_process_next_clock_id \ |
| 197 | gst_test_clock_set_time \ |
| 198 | gst_test_clock_wait_for_multiple_pending_ids \ |
| 199 | gst_test_clock_wait_for_next_pending_id \ |
| 200 | gst_test_clock_wait_for_pending_id_count |
Havard Graff | 3892cc4 | 2013-12-16 10:01:37 +0100 | [diff] [blame] | 201 | |
Sebastian Dröge | ee3db74 | 2015-01-21 18:07:09 +0100 | [diff] [blame] | 202 | # For backwards compatibility with GStreamer < 1.5 |
| 203 | LIBGSTCHECK_EXPORTED_COMPAT_FUNCS = \ |
| 204 | _fail_unless |
Tim-Philipp Müller | 2d42fd4 | 2009-07-19 17:04:58 +0100 | [diff] [blame] | 205 | |
| 206 | LIBGSTCHECK_EXPORTED_SYMBOLS = \ |
| 207 | $(LIBGSTCHECK_EXPORTED_VARS) \ |
Sebastian Dröge | ee3db74 | 2015-01-21 18:07:09 +0100 | [diff] [blame] | 208 | $(LIBGSTCHECK_EXPORTED_FUNCS) \ |
| 209 | $(LIBGSTCHECK_EXPORTED_COMPAT_FUNCS) |
Tim-Philipp Müller | 2d42fd4 | 2009-07-19 17:04:58 +0100 | [diff] [blame] | 210 | |
Priit Laes | 6b234d7 | 2009-11-16 15:47:57 +0200 | [diff] [blame] | 211 | # Please do not even think about changing the alphabet below into A-Za-z. |
| 212 | # It is there for purpose. (Bug #602093) |
| 213 | CHECK_SYMS=`$(SED) -n -e 's/^..*CK_EXPORT[ ]\{1,\}\([_0-9ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]\{1,\}\)..*$$/\1/p' @top_srcdir@/libs/gst/check/libcheck/check.h.in` |
Tim-Philipp Müller | 2d42fd4 | 2009-07-19 17:04:58 +0100 | [diff] [blame] | 214 | print-check-symbols: |
Sebastian Dröge | ce74a1a | 2010-02-26 16:03:47 +0100 | [diff] [blame] | 215 | @for s in $(CHECK_SYMS); do \ |
Tim-Philipp Müller | 2d42fd4 | 2009-07-19 17:04:58 +0100 | [diff] [blame] | 216 | echo $$s; \ |
| 217 | done; |
Tim-Philipp Müller | ecbea36 | 2009-08-06 17:27:12 +0100 | [diff] [blame] | 218 | |
Sebastian Rasmussen | 0b09573 | 2014-12-14 12:54:32 +0100 | [diff] [blame] | 219 | $(SYMBOLS_FILE): $(libgstcheck_@GST_API_VERSION@include_HEADERS) internal-check.h |
Sebastian Dröge | ce74a1a | 2010-02-26 16:03:47 +0100 | [diff] [blame] | 220 | $(AM_V_GEN)rm -f $(SYMBOLS_FILE) 2>/dev/null; \ |
Priit Laes | 6b234d7 | 2009-11-16 15:47:57 +0200 | [diff] [blame] | 221 | for s in $(LIBGSTCHECK_EXPORTED_SYMBOLS) $(CHECK_SYMS); do \ |
Tim-Philipp Müller | ecbea36 | 2009-08-06 17:27:12 +0100 | [diff] [blame] | 222 | echo $$s >> $(SYMBOLS_FILE); \ |
| 223 | done |
| 224 | |
Sebastian Dröge | 1b37155 | 2009-09-05 09:27:04 +0200 | [diff] [blame] | 225 | if HAVE_INTROSPECTION |
Sebastian Dröge | b0d89da | 2012-04-04 13:13:52 +0200 | [diff] [blame] | 226 | BUILT_GIRSOURCES = GstCheck-@GST_API_VERSION@.gir |
Sebastian Dröge | 1b37155 | 2009-09-05 09:27:04 +0200 | [diff] [blame] | 227 | |
Edward Hervey | 0bfc375 | 2013-08-14 07:21:06 +0200 | [diff] [blame] | 228 | gir_headers=$(patsubst %,$(srcdir)/%, $(libgstcheck_@GST_API_VERSION@include_HEADERS)) |
Sebastian Dröge | b0d89da | 2012-04-04 13:13:52 +0200 | [diff] [blame] | 229 | gir_sources=$(patsubst %,$(srcdir)/%, $(libgstcheck_@GST_API_VERSION@_la_SOURCES)) |
Sebastian Dröge | 1b37155 | 2009-09-05 09:27:04 +0200 | [diff] [blame] | 230 | |
Sebastian Dröge | b0d89da | 2012-04-04 13:13:52 +0200 | [diff] [blame] | 231 | GstCheck-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstcheck-@GST_API_VERSION@.la |
Edward Hervey | e4d07e1 | 2015-03-31 11:15:10 +0200 | [diff] [blame] | 232 | $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" GI_SCANNER_DISABLE_CACHE=yes\ |
Tim-Philipp Müller | 3d8d81e | 2017-04-29 11:30:54 +0100 | [diff] [blame] | 233 | GST_PLUGIN_SYSTEM_PATH_1_0="" GST_PLUGIN_PATH_1_0="" GST_REGISTRY_DISABLE=yes \ |
Tim-Philipp Müller | 0274650 | 2016-05-24 00:40:27 +0100 | [diff] [blame] | 234 | CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" PKG_CONFIG="$(PKG_CONFIG)" DLLTOOL="$(DLLTOOL)" \ |
Sebastian Dröge | 3c1f41e | 2009-09-12 13:52:00 +0200 | [diff] [blame] | 235 | $(INTROSPECTION_SCANNER) -v --namespace GstCheck \ |
Sebastian Dröge | b0d89da | 2012-04-04 13:13:52 +0200 | [diff] [blame] | 236 | --nsversion=@GST_API_VERSION@ \ |
Reynaldo H. Verdejo Pinochet | 63a9130 | 2015-12-02 15:02:25 -0800 | [diff] [blame] | 237 | --identifier-prefix=Gst \ |
| 238 | --symbol-prefix=gst \ |
Edward Hervey | deb8e74 | 2011-11-10 13:50:23 +0100 | [diff] [blame] | 239 | --warn-all \ |
Sebastian Dröge | 1b37155 | 2009-09-05 09:27:04 +0200 | [diff] [blame] | 240 | -I$(top_srcdir) \ |
Edward Hervey | d1eb8a1 | 2010-12-07 13:19:10 +0100 | [diff] [blame] | 241 | -I$(top_srcdir)/libs \ |
Edward Hervey | c62c009 | 2010-12-11 10:10:04 +0100 | [diff] [blame] | 242 | -I$(top_builddir) \ |
| 243 | -I$(top_builddir)/libs \ |
Sebastian Dröge | e58dabc | 2012-12-12 16:44:14 +0000 | [diff] [blame] | 244 | --c-include "gst/check/check.h" \ |
Sebastian Dröge | 4b7518a | 2009-09-05 12:04:59 +0200 | [diff] [blame] | 245 | --add-include-path=$(top_builddir)/gst \ |
Tim-Philipp Müller | 1ae28ed | 2011-01-11 13:47:38 +0000 | [diff] [blame] | 246 | --library-path=$(top_builddir)/gst \ |
Tim-Philipp Müller | 073c09a | 2012-10-29 13:26:10 +0000 | [diff] [blame] | 247 | --library=libgstcheck-@GST_API_VERSION@.la \ |
Sebastian Dröge | b0d89da | 2012-04-04 13:13:52 +0200 | [diff] [blame] | 248 | --include=Gst-@GST_API_VERSION@ \ |
Antoine Jacoutot | 3e24bbe | 2014-04-09 16:44:07 +0200 | [diff] [blame] | 249 | --libtool="${LIBTOOL}" \ |
Sebastian Dröge | b0d89da | 2012-04-04 13:13:52 +0200 | [diff] [blame] | 250 | --pkg gstreamer-@GST_API_VERSION@ \ |
| 251 | --pkg-export gstreamer-check-@GST_API_VERSION@ \ |
Nicolas Dufresne | 632431a | 2015-06-16 18:08:24 -0400 | [diff] [blame] | 252 | --add-init-section="$(INTROSPECTION_INIT)" \ |
Sebastian Dröge | 1b37155 | 2009-09-05 09:27:04 +0200 | [diff] [blame] | 253 | --output $@ \ |
| 254 | $(gir_headers) \ |
| 255 | $(gir_sources) |
| 256 | |
| 257 | # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to |
| 258 | # install anything - we need to install inside our prefix. |
| 259 | girdir = $(datadir)/gir-1.0 |
| 260 | gir_DATA = $(BUILT_GIRSOURCES) |
| 261 | |
| 262 | typelibsdir = $(libdir)/girepository-1.0/ |
| 263 | |
| 264 | typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) |
| 265 | |
| 266 | %.typelib: %.gir $(INTROSPECTION_COMPILER) |
Sebastian Dröge | ce74a1a | 2010-02-26 16:03:47 +0100 | [diff] [blame] | 267 | $(AM_V_GEN)$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) --includedir=$(top_builddir)/gst $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) |
Sebastian Dröge | 1b37155 | 2009-09-05 09:27:04 +0200 | [diff] [blame] | 268 | |
| 269 | CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA) |
| 270 | endif |