viewpoint: add euler to 4x4 matrix conversion
[vlc.git] / src / Makefile.am
1 ###############################################################################
2 # Automake targets and declarations
3 ###############################################################################
4
5 AUTOMAKE_OPTIONS = subdir-objects
6
7 NULL =
8 EXTRA_DIST = \
9         vlc-plugin.pc.in \
10         libvlccore.sym \
11         revision.txt
12
13 BUILT_SOURCES = $(nodist_pluginsinclude_HEADERS)
14 CLEANFILES = $(BUILT_SOURCES)
15
16 SUFFIXES = .pc.in .pc .rc.in .rc
17
18 ###############################################################################
19 # Headers
20 ###############################################################################
21
22 pluginsincludedir = $(pkgincludedir)/plugins
23
24 pluginsinclude_HEADERS = \
25         ../include/vlc_access.h \
26         ../include/vlc_actions.h \
27         ../include/vlc_addons.h \
28         ../include/vlc_aout.h \
29         ../include/vlc_aout_volume.h \
30         ../include/vlc_arrays.h \
31         ../include/vlc_atomic.h \
32         ../include/vlc_avcodec.h \
33         ../include/vlc_bits.h \
34         ../include/vlc_block.h \
35         ../include/vlc_block_helper.h \
36         ../include/vlc_boxes.h \
37         ../include/vlc_charset.h \
38         ../include/vlc_codec.h \
39         ../include/vlc_common.h \
40         ../include/vlc_config.h \
41         ../include/vlc_config_cat.h \
42         ../include/vlc_configuration.h \
43         ../include/vlc_cpu.h \
44         ../include/vlc_cxx_helpers.hpp \
45         ../include/vlc_dialog.h \
46         ../include/vlc_demux.h \
47         ../include/vlc_epg.h \
48         ../include/vlc_es.h \
49         ../include/vlc_es_out.h \
50         ../include/vlc_events.h \
51         ../include/vlc_filter.h \
52         ../include/vlc_fourcc.h \
53         ../include/vlc_fs.h \
54         ../include/vlc_gcrypt.h \
55         ../include/vlc_opengl.h \
56         ../include/vlc_http.h \
57         ../include/vlc_httpd.h \
58         ../include/vlc_image.h \
59         ../include/vlc_inhibit.h \
60         ../include/vlc_input.h \
61         ../include/vlc_input_item.h \
62         ../include/vlc_interface.h \
63         ../include/vlc_keystore.h \
64         ../include/vlc_list.h \
65         ../include/vlc_md5.h \
66         ../include/vlc_media_source.h \
67         ../include/vlc_messages.h \
68         ../include/vlc_meta.h \
69         ../include/vlc_meta_fetcher.h \
70         ../include/vlc_media_library.h \
71         ../include/vlc_memstream.h \
72         ../include/vlc_mime.h \
73         ../include/vlc_modules.h \
74         ../include/vlc_mouse.h \
75         ../include/vlc_network.h \
76         ../include/vlc_objects.h \
77         ../include/vlc_picture.h \
78         ../include/vlc_picture_fifo.h \
79         ../include/vlc_picture_pool.h \
80         ../include/vlc_playlist_legacy.h \
81         ../include/vlc_player.h \
82         ../include/vlc_playlist.h \
83         ../include/vlc_plugin.h \
84         ../include/vlc_probe.h \
85         ../include/vlc_rand.h \
86         ../include/vlc_services_discovery.h \
87         ../include/vlc_fingerprinter.h \
88         ../include/vlc_interrupt.h \
89         ../include/vlc_renderer_discovery.h \
90         ../include/vlc_sort.h \
91         ../include/vlc_sout.h \
92         ../include/vlc_spu.h \
93         ../include/vlc_stream.h \
94         ../include/vlc_stream_extractor.h \
95         ../include/vlc_strings.h \
96         ../include/vlc_subpicture.h \
97         ../include/vlc_text_style.h \
98         ../include/vlc_threads.h \
99         ../include/vlc_tick.h \
100         ../include/vlc_timestamp_helper.h \
101         ../include/vlc_thumbnailer.h \
102         ../include/vlc_tls.h \
103         ../include/vlc_url.h \
104         ../include/vlc_variables.h \
105         ../include/vlc_vector.h \
106         ../include/vlc_viewpoint.h \
107         ../include/vlc_vlm.h \
108         ../include/vlc_video_splitter.h \
109         ../include/vlc_vout.h \
110         ../include/vlc_vout_display.h \
111         ../include/vlc_vout_osd.h \
112         ../include/vlc_vout_window.h \
113         ../include/vlc_xml.h \
114         ../include/vlc_xlib.h \
115         $(NULL)
116 nodist_pluginsinclude_HEADERS = ../include/vlc_about.h
117
118 noinst_HEADERS = \
119         ../include/vlc_codecs.h \
120         ../include/vlc_extensions.h \
121         ../include/vlc_fixups.h \
122         ../include/vlc_intf_strings.h \
123         ../include/vlc_iso_lang.h \
124         ../include/vlc_pgpkey.h \
125         ../include/vlc_update.h \
126         ../include/vlc_vod.h \
127         $(NULL)
128
129 ../include/vlc_about.h: Makefile.am $(top_srcdir)/COPYING $(top_srcdir)/THANKS $(top_srcdir)/AUTHORS
130         $(AM_V_at)rm -f -- "$@.tmp"
131         $(AM_V_at)mkdir -p -- ../include
132         $(AM_V_GEN)(echo "/* Automatically generated file - DO NOT EDIT */" && \
133         echo "static const char psz_license[] =" && \
134         sed 's/"/\\"/g;s/^.*$$/\"&\\n\"/' "$(top_srcdir)/COPYING" && \
135         echo ";" && \
136         echo "static const char psz_thanks[] =" && \
137         sed '/\$$Id:/d;s/"/\\"/g;s/<.*.> //;s/^.*$$/\"&\\n\"/' \
138                 "$(top_srcdir)/THANKS" && \
139         echo ";" && \
140         echo "static const char psz_authors[] =" && \
141         sed '/\$$Id:/d;s/"/\\"/g;s/<.*.> //;s/^.*$$/\"&\\n\"/' \
142                 "$(top_srcdir)/AUTHORS" && \
143         echo ";") >> "$@.tmp"
144         $(AM_V_at)mv -f -- "$@.tmp" "$@"
145
146 ###############################################################################
147 # pkg-config integration
148 ###############################################################################
149
150 pkgconfigdir = $(libdir)/pkgconfig
151 pkgconfig_DATA = vlc-plugin.pc
152 CLEANFILES += $(pkgconfig_DATA)
153
154 .pc.in.pc: $(top_builddir)/config.status
155         $(AM_V_GEN)cd "$(top_builddir)" && \
156         $(SHELL) ./config.status --file="src/$@"
157
158 ##############################################################################
159 # Windows resource files
160 ##############################################################################
161
162 if HAVE_WIN32
163 noinst_DATA = libvlc_win32_rc.rc
164 endif
165 EXTRA_DIST += libvlc_win32_rc.rc.in
166
167 .rc.in.rc: $(top_builddir)/config.status
168         cd "$(top_builddir)" && \
169         $(SHELL) ./config.status --file="src/$@"
170
171 ###############################################################################
172 # Building libvlc
173 ###############################################################################
174
175 lib_LTLIBRARIES = libvlccore.la
176
177 AM_CPPFLAGS = $(INCICONV) $(IDN_CFLAGS) \
178         -DMODULE_STRING=\"core\" \
179         -DSYSDATADIR=\"$(datadir)\" \
180         -DLIBDIR=\"$(libdir)\" \
181         -DLIBEXECDIR=\"$(libexecdir)\" \
182         -DLOCALEDIR=\"$(localedir)\" \
183         -DPKGDATADIR=\"$(pkgdatadir)\" \
184         -DPKGLIBDIR=\"$(pkglibdir)\" \
185         -DPKGLIBEXECDIR=\"$(pkglibexecdir)\"
186 AM_CFLAGS = $(CFLAGS_libvlccore)
187 if HAVE_DYNAMIC_PLUGINS
188 AM_CPPFLAGS += -DHAVE_DYNAMIC_PLUGINS
189 endif
190 if HAVE_DBUS
191 AM_CPPFLAGS += -DHAVE_DBUS
192 AM_CFLAGS += $(DBUS_CFLAGS)
193 endif
194
195 libvlccore_la_SOURCES = \
196         libvlc.c \
197         libvlc.h \
198         libvlc-module.c \
199         missing.c \
200         revision.c \
201         version.c \
202         config/configuration.h \
203         config/core.c \
204         config/chain.c \
205         config/file.c \
206         config/help.c \
207         config/intf.c \
208         config/cmdline.c \
209         config/getopt.c \
210         config/vlc_getopt.h \
211         extras/libc.c \
212         media_source/media_source.c \
213         media_source/media_source.h \
214         media_source/media_tree.c \
215         media_source/media_tree.h \
216         modules/modules.h \
217         modules/modules.c \
218         modules/bank.c \
219         modules/cache.c \
220         modules/entry.c \
221         modules/textdomain.c \
222         interface/dialog.c \
223         interface/interface.c \
224         playlist_legacy/playlist_internal.h \
225         playlist_legacy/aout.c \
226         playlist_legacy/thread.c \
227         playlist_legacy/control.c \
228         playlist_legacy/engine.c \
229         playlist_legacy/sort.c \
230         playlist_legacy/loadsave.c \
231         playlist_legacy/tree.c \
232         playlist_legacy/item.c \
233         playlist_legacy/search.c \
234         playlist_legacy/services_discovery.c \
235         playlist_legacy/renderer.c \
236         playlist/content.c \
237         playlist/content.h \
238         playlist/control.c \
239         playlist/control.h \
240         playlist/item.c \
241         playlist/item.h \
242         playlist/notify.c \
243         playlist/notify.h \
244         playlist/player.c \
245         playlist/player.h \
246         playlist/playlist.c \
247         playlist/playlist.h \
248         playlist/preparse.c \
249         playlist/preparse.h \
250         playlist/randomizer.c \
251         playlist/randomizer.h \
252         playlist/request.c \
253         playlist/shuffle.c \
254         playlist/sort.c \
255         preparser/art.c \
256         preparser/art.h \
257         preparser/fetcher.c \
258         preparser/fetcher.h \
259         preparser/preparser.c \
260         preparser/preparser.h \
261         input/item.c \
262         input/access.c \
263         clock/clock_internal.c \
264         clock/input_clock.c \
265         input/control.c \
266         input/decoder.c \
267         input/decoder_helpers.c \
268         input/demux.c \
269         input/demux_chained.c \
270         input/es_out.c \
271         input/es_out_timeshift.c \
272         input/input.c \
273         input/player.c \
274         input/player.h \
275         input/info.h \
276         input/meta.c \
277         clock/input_clock.h \
278         clock/clock_internal.h \
279         input/decoder.h \
280         input/demux.h \
281         input/es_out.h \
282         input/event.h \
283         input/item.h \
284         input/mrl_helpers.h \
285         input/stream.h \
286         input/input_internal.h \
287         input/input_interface.h \
288         input/vlm_internal.h \
289         input/vlm_event.h \
290         input/resource.h \
291         input/resource.c \
292         input/services_discovery.c \
293         input/stats.c \
294         input/stream.c \
295         input/stream_fifo.c \
296         input/stream_extractor.c \
297         input/stream_filter.c \
298         input/stream_memory.c \
299         input/subtitles.c \
300         input/thumbnailer.c \
301         input/var.c \
302         audio_output/aout_internal.h \
303         audio_output/common.c \
304         audio_output/dec.c \
305         audio_output/filters.c \
306         audio_output/output.c \
307         audio_output/volume.c \
308         video_output/chrono.h \
309         video_output/control.c \
310         video_output/control.h \
311         video_output/display.c \
312         video_output/display.h \
313         video_output/inhibit.c \
314         video_output/inhibit.h \
315         video_output/interlacing.c \
316         video_output/interlacing.h \
317         video_output/snapshot.c \
318         video_output/snapshot.h \
319         video_output/statistic.h \
320         video_output/video_output.c \
321         video_output/video_text.c \
322         video_output/video_epg.c \
323         video_output/video_widgets.c \
324         video_output/vout_subpictures.c \
325         video_output/vout_spuregion_helper.h \
326         video_output/vout_wrapper.h \
327         video_output/window.c \
328         video_output/window.h \
329         video_output/opengl.c \
330         video_output/vout_intf.c \
331         video_output/vout_internal.h \
332         video_output/vout_wrapper.c \
333         network/getaddrinfo.c \
334         network/http_auth.c \
335         network/httpd.c \
336         network/io.c \
337         network/tcp.c \
338         network/udp.c \
339         network/rootbind.c \
340         network/stream.c \
341         network/tls.c \
342         text/charset.c \
343         text/memstream.c \
344         text/strings.c \
345         text/unicode.c \
346         text/url.c \
347         text/filesystem.c \
348         text/iso_lang.c \
349         text/iso-639_def.h \
350         misc/actions.c \
351         misc/background_worker.c \
352         misc/background_worker.h \
353         misc/md5.c \
354         misc/probe.c \
355         misc/rand.c \
356         misc/mtime.c \
357         misc/block.c \
358         misc/fifo.c \
359         misc/fourcc.c \
360         misc/fourcc_list.h \
361         misc/es_format.c \
362         misc/picture.c \
363         misc/picture.h \
364         misc/picture_fifo.c \
365         misc/picture_pool.c \
366         misc/interrupt.h \
367         misc/interrupt.c \
368         misc/keystore.c \
369         misc/renderer_discovery.c \
370         misc/threads.c \
371         misc/cpu.c \
372         misc/epg.c \
373         misc/exit.c \
374         misc/events.c \
375         misc/image.c \
376         misc/messages.c \
377         misc/mime.c \
378         misc/objects.c \
379         misc/objres.c \
380         misc/variables.h \
381         misc/variables.c \
382         misc/error.c \
383         misc/xml.c \
384         misc/addons.c \
385         misc/filter.c \
386         misc/filter_chain.c \
387         misc/httpcookies.c \
388         misc/fingerprinter.c \
389         misc/text_style.c \
390         misc/sort.c \
391         misc/subpicture.c \
392         misc/subpicture.h \
393         misc/medialibrary.c \
394         misc/viewpoint.c
395 libvlccore_la_LIBADD = $(LIBS_libvlccore) \
396         ../compat/libcompat.la \
397         $(LTLIBINTL) $(LTLIBICONV) \
398         $(IDN_LIBS) $(SOCKET_LIBS) $(LIBRT) $(LIBDL) $(LIBM)
399
400 if HAVE_WIN32
401 libvlccore_la_SOURCES += \
402         win32/dirs.c \
403         win32/error.c \
404         win32/filesystem.c \
405         win32/netconf.c \
406         win32/plugin.c \
407         win32/rand.c \
408         win32/specific.c \
409         win32/thread.c \
410         win32/winsock.c
411 if HAVE_WINSTORE
412 libvlccore_la_SOURCES += posix/timer.c
413 else
414 libvlccore_la_SOURCES += win32/timer.c
415 endif
416 else
417 if HAVE_OS2
418 libvlccore_la_SOURCES += \
419         os2/dirs.c \
420         darwin/error.c \
421         os2/filesystem.c \
422         os2/getaddrinfo.c \
423         os2/netconf.c \
424         os2/plugin.c \
425         os2/specific.c \
426         os2/rand.c \
427         os2/thread.c
428 else
429 if HAVE_NACL
430 libvlccore_la_SOURCES += \
431         android/error.c \
432         posix/dirs.c \
433         posix/filesystem.c \
434         posix/netconf.c \
435         posix/rand.c \
436         posix/specific.c \
437         posix/timer.c
438 else
439 libvlccore_la_SOURCES += \
440         posix/filesystem.c \
441         posix/plugin.c \
442         posix/rand.c \
443         posix/timer.c
444 if HAVE_ANDROID
445 libvlccore_la_SOURCES += \
446         android/error.c \
447         android/specific.c \
448         android/thread.c \
449         linux/cpu.c \
450         linux/dirs.c \
451         linux/thread.c
452 else
453
454 # All except OS2/WIN32/NACL/ANDROID
455 libvlccore_la_SOURCES += posix/sort.c
456
457 if HAVE_DARWIN
458 libvlccore_la_SOURCES += \
459         darwin/dirs.c \
460         darwin/error.c \
461         darwin/specific.c \
462         darwin/thread.c
463
464 libvlccore_objc_la_SOURCES = \
465         darwin/netconf.m
466 noinst_LTLIBRARIES = libvlccore_objc.la
467 else
468 libvlccore_la_SOURCES += \
469         posix/dirs.c \
470         posix/error.c \
471         posix/netconf.c \
472         posix/picture.c \
473         posix/specific.c \
474         posix/thread.c
475 if HAVE_LINUX
476 libvlccore_la_SOURCES += \
477         linux/cpu.c \
478         linux/dirs.c \
479         linux/filesystem.c \
480         linux/thread.c
481 endif
482 if HAVE_LIBANL
483 libvlccore_la_SOURCES += \
484         linux/getaddrinfo.c
485 libvlccore_la_LIBADD += -lanl
486 else
487 libvlccore_la_SOURCES += \
488         posix/getaddrinfo.c
489 endif
490 endif
491 endif
492 endif
493 endif
494 endif
495
496 if ENABLE_SOUT
497 libvlccore_la_SOURCES += \
498         stream_output/sap.c stream_output/sdp.c \
499         stream_output/stream_output.c stream_output/stream_output.h
500 if ENABLE_VLM
501 libvlccore_la_SOURCES += input/vlm.c input/vlm_event.c input/vlmshell.c
502 endif
503 endif
504
505 if UPDATE_CHECK
506 libvlccore_la_SOURCES += \
507         misc/update.h misc/update.c \
508         misc/update_crypto.c
509 AM_CPPFLAGS += -DUPDATE_CHECK
510 AM_CFLAGS += $(GCRYPT_CFLAGS)
511 libvlccore_la_LIBADD += $(GCRYPT_LIBS)
512 endif
513
514 libvlccore_la_LDFLAGS = \
515         $(LDFLAGS_libvlccore) \
516         -no-undefined \
517         -export-symbols $(srcdir)/libvlccore.sym \
518         -version-info 9:0:0
519 libvlccore_la_DEPENDENCIES = libvlccore.sym
520 if HAVE_WIN32
521 libvlccore_la_DEPENDENCIES += libvlc_win32_rc.$(OBJEXT)
522 libvlccore_la_LDFLAGS += -Wl,libvlc_win32_rc.$(OBJEXT) -avoid-version -Wc,-static $(LIBCOM)
523 endif
524 if HAVE_OS2
525 libvlccore_la_LDFLAGS += -avoid-version
526 endif
527 if HAVE_DBUS
528 libvlccore_la_LIBADD += $(DBUS_LIBS)
529 endif
530 if HAVE_DARWIN
531 $(libvlccore_la_OBJECTS): libvlccore_objc.la
532 libvlccore_objc_la_OBJCFLAGS = $(AM_OBJCFLAGS) -fobjc-arc
533 libvlccore_objc_la_LDFLAGS = -static
534 libvlccore_la_LIBADD += libvlccore_objc.la
535 libvlccore_la_LDFLAGS +=  -Wl,-framework,Foundation -Xlinker -install_name -Xlinker @rpath/libvlccore.dylib
536 endif
537
538 libvlc_win32_rc.$(OBJEXT): libvlc_win32_rc.rc $(top_srcdir)/extras/package/win32/libvlc.dll.manifest
539         $(WINDRES) --include-dir $(top_srcdir)/share --include-dir $(top_srcdir)/extras/package/win32 -i $< -o $@
540
541 # FourCC tables
542 BUILT_SOURCES += fourcc_tables.h
543 EXTRA_DIST += misc/fourcc_gen.c
544 MOSTLYCLEANFILES = fourcc_gen$(BUILDEXEEXT)
545
546 fourcc_gen$(BUILDEXEEXT): misc/fourcc_gen.c misc/fourcc_list.h ../include/vlc_fourcc.h
547         $(AM_V_at)rm -f -- $@
548         $(AM_V_CC)$(BUILDCC) -I$(srcdir) -o $@ $<
549
550 fourcc_tables.h: fourcc_gen$(BUILDEXEEXT)
551         $(AM_V_at)rm -f -- $@.tmp
552         $(AM_V_GEN)$(builddir)/fourcc_gen$(BUILDEXEEXT) > $@.tmp
553         $(AM_V_at)mv -f -- $@.tmp $@
554
555 # Unit/regression tests
556 #
557 check_PROGRAMS = \
558         test_block \
559         test_dictionary \
560         test_i18n_atof \
561         test_interrupt \
562         test_list \
563         test_md5 \
564         test_picture_pool \
565         test_sort \
566         test_timer \
567         test_url \
568         test_utf8 \
569         test_xmlent \
570         test_headers \
571         test_mrl_helpers \
572         test_arrays \
573         test_vector \
574         test_shared_data_ptr \
575         test_playlist \
576         test_randomizer \
577         test_media_source
578
579 TESTS = $(check_PROGRAMS) check_symbols
580
581 test_block_SOURCES = test/block_test.c
582 test_block_LDADD = $(LDADD) $(LIBS_libvlccore)
583 test_block_DEPENDENCIES =
584
585 test_dictionary_SOURCES = test/dictionary.c
586 test_i18n_atof_SOURCES = test/i18n_atof.c
587 test_interrupt_SOURCES = test/interrupt.c
588 test_interrupt_LDADD = $(LDADD) $(LIBS_libvlccore)
589 test_list_SOURCES = test/list.c
590 test_md5_SOURCES = test/md5.c
591 test_picture_pool_SOURCES = test/picture_pool.c
592 test_sort_SOURCES = test/sort.c
593 test_timer_SOURCES = test/timer.c
594 test_url_SOURCES = test/url.c
595 test_utf8_SOURCES = test/utf8.c
596 test_xmlent_SOURCES = test/xmlent.c
597 test_headers_SOURCES = test/headers.c
598 test_mrl_helpers_SOURCES = test/mrl_helpers.c
599 test_arrays_SOURCES = test/arrays.c
600 test_vector_SOURCES = test/vector.c
601 test_shared_data_ptr_SOURCES = test/shared_data_ptr.cpp
602 test_playlist_SOURCES = playlist/test.c \
603         playlist/content.c \
604         playlist/control.c \
605         playlist/item.c \
606         playlist/notify.c \
607         playlist/player.c \
608         playlist/playlist.c \
609         playlist/preparse.c \
610         playlist/randomizer.c \
611         playlist/request.c \
612         playlist/shuffle.c \
613         playlist/sort.c
614 test_playlist_CFLAGS = -DTEST_PLAYLIST
615 test_randomizer_SOURCES = playlist/randomizer.c
616 test_randomizer_CFLAGS = -DTEST_RANDOMIZER
617 test_media_source_LDADD = $(LDADD) $(LIBS_libvlccore)
618 test_media_source_CFLAGS = -DTEST_MEDIA_SOURCE
619 test_media_source_SOURCES = media_source/test.c \
620         media_source/media_source.c \
621         media_source/media_tree.c
622
623 AM_LDFLAGS = -no-install
624 LDADD = libvlccore.la \
625         ../compat/libcompat.la
626
627 ###############################################################################
628 # GIT revision
629 ###############################################################################
630
631 BUILT_SOURCES += stamp-revision
632 MAINTAINERCLEANFILES = $(srcdir)/revision.txt $(srcdir)/revision.c
633
634 $(srcdir)/revision.c: $(srcdir)/revision.txt
635         $(AM_V_at)rm -f -- $@
636         $(AM_V_GEN)echo "const char psz_vlc_changeset[] = \"$$(cat $<)\";" \
637                 > $@
638
639 $(srcdir)/revision.txt:
640         $(AM_V_at)$(MAKE) stamp-revision
641         $(AM_V_GEN)touch $@
642
643 stamp-revision:
644         $(AM_V_at)rm -f -- revision.tmp
645         $(AM_V_GEN)if ! git \
646                         --git-dir="$(top_srcdir)/.git" describe \
647                         --tags --long --match '?.*.*' --always; then \
648                 cat $(srcdir)/revision.txt ; \
649         fi > revision.tmp
650         $(AM_V_at)if diff revision.tmp $(srcdir)/revision.txt >/dev/null 2>&1; then \
651                 rm -f -- revision.tmp; \
652         else \
653                 mv -f -- revision.tmp $(srcdir)/revision.txt; \
654         fi
655 #2>&1
656
657 ###############################################################################
658 # Unit/regression test
659 ###############################################################################
660
661 dist_check_SCRIPTS = check_headers check_symbols
662
663 check-local:
664         for h in `echo $(pkginclude_HEADERS) | sed -e s,\.\./include/,,g`; \
665         do \
666                 echo grep - "#include <$$h>" $(srcdir)/test/headers.c ; \
667                 if ! grep -- "#include <$$h>" $(srcdir)/test/headers.c ; \
668                 then \
669                         echo "Header $$h not included in test/headers.c!"; \
670                         exit 1; \
671                 fi ; \
672         done
673         $(SHELL) $(srcdir)/check_headers $(pluginsinclude_HEADERS)
674
675 FORCE:
676         @echo "Generated source cannot be phony. Go away." >&2
677         @exit 1
678
679 .PHONY: FORCE