contrib/gpg-error: simplify darwin triplet handling
[vlc.git] / src / Makefile.am
blob0760faeef999e2ad146f827a091a3404a084a887
1 ###############################################################################
2 # Automake targets and declarations
3 ###############################################################################
5 AUTOMAKE_OPTIONS = subdir-objects
7 NULL =
8 EXTRA_DIST = \
9         vlc-plugin.pc.in \
10         libvlccore.sym \
11         revision.txt
13 BUILT_SOURCES = $(nodist_pluginsinclude_HEADERS)
14 CLEANFILES = $(BUILT_SOURCES)
16 SUFFIXES = .pc.in .pc .rc.in .rc
18 ###############################################################################
19 # Headers
20 ###############################################################################
22 pluginsincludedir = $(pkgincludedir)/plugins
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_decoder.h \
46         ../include/vlc_dialog.h \
47         ../include/vlc_demux.h \
48         ../include/vlc_epg.h \
49         ../include/vlc_es.h \
50         ../include/vlc_es_out.h \
51         ../include/vlc_events.h \
52         ../include/vlc_filter.h \
53         ../include/vlc_fourcc.h \
54         ../include/vlc_fs.h \
55         ../include/vlc_gcrypt.h \
56         ../include/vlc_opengl.h \
57         ../include/vlc_http.h \
58         ../include/vlc_httpd.h \
59         ../include/vlc_image.h \
60         ../include/vlc_inhibit.h \
61         ../include/vlc_input.h \
62         ../include/vlc_input_item.h \
63         ../include/vlc_interface.h \
64         ../include/vlc_keystore.h \
65         ../include/vlc_list.h \
66         ../include/vlc_md5.h \
67         ../include/vlc_media_source.h \
68         ../include/vlc_messages.h \
69         ../include/vlc_meta.h \
70         ../include/vlc_meta_fetcher.h \
71         ../include/vlc_media_library.h \
72         ../include/vlc_memstream.h \
73         ../include/vlc_mime.h \
74         ../include/vlc_modules.h \
75         ../include/vlc_mouse.h \
76         ../include/vlc_network.h \
77         ../include/vlc_objects.h \
78         ../include/vlc_picture.h \
79         ../include/vlc_picture_fifo.h \
80         ../include/vlc_picture_pool.h \
81         ../include/vlc_player.h \
82         ../include/vlc_playlist.h \
83         ../include/vlc_playlist_export.h \
84         ../include/vlc_plugin.h \
85         ../include/vlc_probe.h \
86         ../include/vlc_rand.h \
87         ../include/vlc_services_discovery.h \
88         ../include/vlc_fingerprinter.h \
89         ../include/vlc_interrupt.h \
90         ../include/vlc_renderer_discovery.h \
91         ../include/vlc_sort.h \
92         ../include/vlc_sout.h \
93         ../include/vlc_spu.h \
94         ../include/vlc_stream.h \
95         ../include/vlc_stream_extractor.h \
96         ../include/vlc_strings.h \
97         ../include/vlc_subpicture.h \
98         ../include/vlc_text_style.h \
99         ../include/vlc_threads.h \
100         ../include/vlc_tick.h \
101         ../include/vlc_timestamp_helper.h \
102         ../include/vlc_thumbnailer.h \
103         ../include/vlc_tls.h \
104         ../include/vlc_url.h \
105         ../include/vlc_variables.h \
106         ../include/vlc_vector.h \
107         ../include/vlc_viewpoint.h \
108         ../include/vlc_vlm.h \
109         ../include/vlc_video_splitter.h \
110         ../include/vlc_vout.h \
111         ../include/vlc_vout_display.h \
112         ../include/vlc_vout_osd.h \
113         ../include/vlc_vout_window.h \
114         ../include/vlc_xml.h \
115         ../include/vlc_xlib.h \
116         $(NULL)
117 nodist_pluginsinclude_HEADERS = ../include/vlc_about.h
119 noinst_HEADERS = \
120         ../include/vlc_codecs.h \
121         ../include/vlc_extensions.h \
122         ../include/vlc_fixups.h \
123         ../include/vlc_intf_strings.h \
124         ../include/vlc_iso_lang.h \
125         ../include/vlc_pgpkey.h \
126         ../include/vlc_update.h \
127         $(NULL)
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" "$@"
146 ###############################################################################
147 # pkg-config integration
148 ###############################################################################
150 pkgconfigdir = $(libdir)/pkgconfig
151 pkgconfig_DATA = vlc-plugin.pc
152 CLEANFILES += $(pkgconfig_DATA)
154 .pc.in.pc: $(top_builddir)/config.status
155         $(AM_V_GEN)cd "$(top_builddir)" && \
156         $(SHELL) ./config.status --file="src/$@"
158 ##############################################################################
159 # Windows resource files
160 ##############################################################################
162 if HAVE_WIN32
163 noinst_DATA = libvlc_win32_rc.rc
164 endif
165 EXTRA_DIST += libvlc_win32_rc.rc.in
167 .rc.in.rc: $(top_builddir)/config.status
168         cd "$(top_builddir)" && \
169         $(SHELL) ./config.status --file="src/$@"
171 ###############################################################################
172 # Building libvlc
173 ###############################################################################
175 lib_LTLIBRARIES = libvlccore.la
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
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/content.c \
225         playlist/content.h \
226         playlist/control.c \
227         playlist/control.h \
228         playlist/export.c \
229         playlist/item.c \
230         playlist/item.h \
231         playlist/notify.c \
232         playlist/notify.h \
233         playlist/player.c \
234         playlist/player.h \
235         playlist/playlist.c \
236         playlist/playlist.h \
237         playlist/preparse.c \
238         playlist/preparse.h \
239         playlist/randomizer.c \
240         playlist/randomizer.h \
241         playlist/request.c \
242         playlist/shuffle.c \
243         playlist/sort.c \
244         preparser/art.c \
245         preparser/art.h \
246         preparser/fetcher.c \
247         preparser/fetcher.h \
248         preparser/preparser.c \
249         preparser/preparser.h \
250         input/item.c \
251         input/access.c \
252         clock/clock_internal.c \
253         clock/input_clock.c \
254         clock/clock.c \
255         input/decoder.c \
256         input/decoder_helpers.c \
257         input/demux.c \
258         input/demux_chained.c \
259         input/es_out.c \
260         input/es_out_source.c \
261         input/es_out_timeshift.c \
262         input/input.c \
263         input/info.h \
264         input/meta.c \
265         player/player.c \
266         player/player.h \
267         player/input.c \
268         player/timer.c \
269         player/track.c \
270         player/title.c \
271         player/aout.c \
272         player/vout.c \
273         player/osd.c \
274         player/medialib.c \
275         clock/input_clock.h \
276         clock/clock.h \
277         clock/clock_internal.h \
278         input/decoder.h \
279         input/demux.h \
280         input/es_out.h \
281         input/event.h \
282         input/item.h \
283         input/mrl_helpers.h \
284         input/stream.h \
285         input/input_internal.h \
286         input/input_interface.h \
287         input/vlm_internal.h \
288         input/vlm_event.h \
289         input/resource.h \
290         input/resource.c \
291         input/services_discovery.c \
292         input/stats.c \
293         input/stream.c \
294         input/stream_fifo.c \
295         input/stream_extractor.c \
296         input/stream_filter.c \
297         input/stream_memory.c \
298         input/subtitles.c \
299         input/thumbnailer.c \
300         input/var.c \
301         audio_output/aout_internal.h \
302         audio_output/common.c \
303         audio_output/dec.c \
304         audio_output/filters.c \
305         audio_output/output.c \
306         audio_output/volume.c \
307         video_output/chrono.h \
308         video_output/control.c \
309         video_output/control.h \
310         video_output/display.c \
311         video_output/display.h \
312         video_output/inhibit.c \
313         video_output/inhibit.h \
314         video_output/interlacing.c \
315         video_output/interlacing.h \
316         video_output/snapshot.c \
317         video_output/snapshot.h \
318         video_output/statistic.h \
319         video_output/video_output.c \
320         video_output/video_text.c \
321         video_output/video_epg.c \
322         video_output/video_widgets.c \
323         video_output/vout_subpictures.c \
324         video_output/vout_spuregion_helper.h \
325         video_output/vout_wrapper.h \
326         video_output/window.c \
327         video_output/window.h \
328         video_output/opengl.c \
329         video_output/vout_intf.c \
330         video_output/vout_internal.h \
331         video_output/vout_wrapper.c \
332         network/getaddrinfo.c \
333         network/http_auth.c \
334         network/httpd.c \
335         network/io.c \
336         network/tcp.c \
337         network/udp.c \
338         network/rootbind.c \
339         network/stream.c \
340         network/tls.c \
341         text/charset.c \
342         text/memstream.c \
343         text/strings.c \
344         text/unicode.c \
345         text/url.c \
346         text/filesystem.c \
347         text/iso_lang.c \
348         text/iso-639_def.h \
349         misc/actions.c \
350         misc/background_worker.c \
351         misc/background_worker.h \
352         misc/md5.c \
353         misc/probe.c \
354         misc/rand.c \
355         misc/mtime.c \
356         misc/block.c \
357         misc/fifo.c \
358         misc/fourcc.c \
359         misc/fourcc_list.h \
360         misc/es_format.c \
361         misc/picture.c \
362         misc/picture.h \
363         misc/picture_fifo.c \
364         misc/picture_pool.c \
365         misc/interrupt.h \
366         misc/interrupt.c \
367         misc/keystore.c \
368         misc/renderer_discovery.c \
369         misc/threads.c \
370         misc/cpu.c \
371         misc/epg.c \
372         misc/exit.c \
373         misc/events.c \
374         misc/image.c \
375         misc/messages.c \
376         misc/mime.c \
377         misc/objects.c \
378         misc/objres.c \
379         misc/variables.h \
380         misc/variables.c \
381         misc/xml.c \
382         misc/addons.c \
383         misc/filter.c \
384         misc/filter_chain.c \
385         misc/httpcookies.c \
386         misc/fingerprinter.c \
387         misc/text_style.c \
388         misc/sort.c \
389         misc/subpicture.c \
390         misc/subpicture.h \
391         misc/medialibrary.c \
392         misc/viewpoint.c
393 libvlccore_la_LIBADD = $(LIBS_libvlccore) \
394         ../compat/libcompat.la \
395         $(LTLIBINTL) $(LTLIBICONV) \
396         $(IDN_LIBS) $(SOCKET_LIBS) $(ATOMIC_LIB) $(LIBRT) $(LIBDL) $(LIBM)
398 if HAVE_WIN32
399 libvlccore_la_SOURCES += \
400         win32/dirs.c \
401         win32/error.c \
402         win32/filesystem.c \
403         win32/netconf.c \
404         win32/plugin.c \
405         win32/rand.c \
406         win32/specific.c \
407         win32/thread.c \
408         win32/winsock.c
409 if HAVE_WINSTORE
410 libvlccore_la_SOURCES += posix/timer.c
411 else
412 libvlccore_la_SOURCES += win32/timer.c
413 endif
414 endif
416 if HAVE_OS2
417 libvlccore_la_SOURCES += \
418         os2/dirs.c \
419         darwin/error.c \
420         os2/filesystem.c \
421         os2/getaddrinfo.c \
422         os2/netconf.c \
423         os2/plugin.c \
424         os2/specific.c \
425         os2/rand.c \
426         os2/thread.c
427 endif
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 endif
440 if HAVE_DARWIN
441 libvlccore_la_SOURCES += \
442         darwin/error.c \
443         darwin/specific.c \
444         darwin/thread.c
445 libvlccore_objc_la_SOURCES = \
446         darwin/dirs.m \
447         darwin/netconf.m
448 noinst_LTLIBRARIES = libvlccore_objc.la
449 endif
451 if HAVE_FREEBSD
452 libvlccore_la_SOURCES += \
453         freebsd/thread.c
454 endif
456 if HAVE_LINUX
457 libvlccore_la_SOURCES += \
458         linux/cpu.c \
459         linux/dirs.c \
460         linux/thread.c
461 if !HAVE_ANDROID
462 libvlccore_la_SOURCES += \
463         linux/filesystem.c
464 else
465 libvlccore_la_SOURCES += \
466         android/error.c \
467         android/specific.c \
468         android/thread.c
469 endif
470 endif
472 if !HAVE_WIN32
473 if !HAVE_OS2
474 if !HAVE_NACL
475 libvlccore_la_SOURCES += \
476         posix/filesystem.c \
477         posix/plugin.c \
478         posix/rand.c \
479         posix/timer.c
480 if !HAVE_LINUX
481 libvlccore_la_SOURCES += posix/wait.c
482 endif
483 if !HAVE_ANDROID
484 libvlccore_la_SOURCES += posix/sort.c
485 if !HAVE_DARWIN
486 libvlccore_la_SOURCES += \
487         posix/dirs.c \
488         posix/error.c \
489         posix/netconf.c \
490         posix/picture.c \
491         posix/specific.c \
492         posix/thread.c
493 if HAVE_LIBANL
494 libvlccore_la_SOURCES += \
495         linux/getaddrinfo.c
496 libvlccore_la_LIBADD += -lanl
497 else
498 libvlccore_la_SOURCES += \
499         posix/getaddrinfo.c
500 endif
501 endif
502 endif
503 endif
504 endif
505 endif
507 if ENABLE_SOUT
508 libvlccore_la_SOURCES += \
509         stream_output/sap.c stream_output/sdp.c \
510         stream_output/stream_output.c stream_output/stream_output.h
511 if ENABLE_VLM
512 libvlccore_la_SOURCES += input/vlm.c input/vlm_event.c input/vlmshell.c
513 endif
514 endif
516 if UPDATE_CHECK
517 libvlccore_la_SOURCES += \
518         misc/update.h misc/update.c \
519         misc/update_crypto.c
520 AM_CPPFLAGS += -DUPDATE_CHECK
521 AM_CFLAGS += $(GCRYPT_CFLAGS)
522 libvlccore_la_LIBADD += $(GCRYPT_LIBS)
523 endif
525 libvlccore_la_LDFLAGS = \
526         $(LDFLAGS_libvlccore) \
527         -no-undefined \
528         -export-symbols $(srcdir)/libvlccore.sym \
529         -version-info 9:0:0
530 libvlccore_la_DEPENDENCIES = libvlccore.sym
531 if HAVE_WIN32
532 libvlccore_la_DEPENDENCIES += libvlc_win32_rc.$(OBJEXT)
533 libvlccore_la_LDFLAGS += -Wl,libvlc_win32_rc.$(OBJEXT) -avoid-version -Wc,-static $(LIBCOM)
534 endif
535 if HAVE_OS2
536 libvlccore_la_LDFLAGS += -avoid-version
537 endif
538 if HAVE_DBUS
539 libvlccore_la_LIBADD += $(DBUS_LIBS)
540 endif
541 if HAVE_DARWIN
542 $(libvlccore_la_OBJECTS): libvlccore_objc.la
543 libvlccore_objc_la_OBJCFLAGS = $(AM_OBJCFLAGS) -fobjc-arc
544 libvlccore_objc_la_LDFLAGS = -static
545 libvlccore_la_LIBADD += libvlccore_objc.la
546 libvlccore_la_LDFLAGS +=  -Wl,-framework,Foundation -Xlinker -install_name -Xlinker @rpath/libvlccore.dylib
547 endif
549 libvlc_win32_rc.$(OBJEXT): libvlc_win32_rc.rc $(top_srcdir)/extras/package/win32/libvlc.dll.manifest
550         $(WINDRES) --include-dir $(top_srcdir)/share --include-dir $(top_srcdir)/extras/package/win32 -i $< -o $@
552 # FourCC tables
553 BUILT_SOURCES += fourcc_tables.h
554 EXTRA_DIST += misc/fourcc_gen.c
555 MOSTLYCLEANFILES = fourcc_gen$(BUILDEXEEXT)
557 fourcc_gen$(BUILDEXEEXT): misc/fourcc_gen.c misc/fourcc_list.h ../include/vlc_fourcc.h
558         $(AM_V_at)rm -f -- $@
559         $(AM_V_CC)$(BUILDCC) -I$(srcdir) -o $@ $<
561 fourcc_tables.h: fourcc_gen$(BUILDEXEEXT)
562         $(AM_V_at)rm -f -- $@.tmp
563         $(AM_V_GEN)$(builddir)/fourcc_gen$(BUILDEXEEXT) > $@.tmp
564         $(AM_V_at)mv -f -- $@.tmp $@
566 # Unit/regression tests
568 check_PROGRAMS = \
569         test_block \
570         test_dictionary \
571         test_i18n_atof \
572         test_interrupt \
573         test_list \
574         test_md5 \
575         test_picture_pool \
576         test_sort \
577         test_timer \
578         test_url \
579         test_utf8 \
580         test_xmlent \
581         test_headers \
582         test_mrl_helpers \
583         test_arrays \
584         test_vector \
585         test_shared_data_ptr \
586         test_playlist \
587         test_randomizer \
588         test_media_source \
589         test_extensions
591 TESTS = $(check_PROGRAMS) check_symbols
593 test_block_SOURCES = test/block_test.c
594 test_block_LDADD = $(LDADD) $(LIBS_libvlccore)
595 test_block_DEPENDENCIES =
597 test_dictionary_SOURCES = test/dictionary.c
598 test_i18n_atof_SOURCES = test/i18n_atof.c
599 test_interrupt_SOURCES = test/interrupt.c
600 test_interrupt_LDADD = $(LDADD) $(LIBS_libvlccore)
601 test_list_SOURCES = test/list.c
602 test_md5_SOURCES = test/md5.c
603 test_picture_pool_SOURCES = test/picture_pool.c
604 test_sort_SOURCES = test/sort.c
605 test_timer_SOURCES = test/timer.c
606 test_url_SOURCES = test/url.c
607 test_utf8_SOURCES = test/utf8.c
608 test_xmlent_SOURCES = test/xmlent.c
609 test_headers_SOURCES = test/headers.c
610 test_mrl_helpers_SOURCES = test/mrl_helpers.c
611 test_arrays_SOURCES = test/arrays.c
612 test_vector_SOURCES = test/vector.c
613 test_shared_data_ptr_SOURCES = test/shared_data_ptr.cpp
614 test_extensions_SOURCES = test/extensions.c 
615 test_playlist_SOURCES = playlist/test.c \
616         playlist/content.c \
617         playlist/control.c \
618         playlist/item.c \
619         playlist/notify.c \
620         playlist/player.c \
621         playlist/playlist.c \
622         playlist/preparse.c \
623         playlist/randomizer.c \
624         playlist/request.c \
625         playlist/shuffle.c \
626         playlist/sort.c
627 test_playlist_CFLAGS = -DTEST_PLAYLIST
628 test_randomizer_SOURCES = playlist/randomizer.c
629 test_randomizer_CFLAGS = -DTEST_RANDOMIZER
630 test_media_source_LDADD = $(LDADD) $(LIBS_libvlccore)
631 test_media_source_CFLAGS = -DTEST_MEDIA_SOURCE
632 test_media_source_SOURCES = media_source/test.c \
633         media_source/media_source.c \
634         media_source/media_tree.c
636 AM_LDFLAGS = -no-install
637 LDADD = libvlccore.la \
638         ../compat/libcompat.la
640 ###############################################################################
641 # GIT revision
642 ###############################################################################
644 BUILT_SOURCES += stamp-revision
645 MAINTAINERCLEANFILES = $(srcdir)/revision.txt $(srcdir)/revision.c
647 $(srcdir)/revision.c: $(srcdir)/revision.txt
648         $(AM_V_at)rm -f -- $@
649         $(AM_V_GEN)echo "const char psz_vlc_changeset[] = \"$$(cat $<)\";" \
650                 > $@
652 $(srcdir)/revision.txt:
653         $(AM_V_at)$(MAKE) stamp-revision
654         $(AM_V_GEN)touch $@
656 stamp-revision:
657         $(AM_V_at)rm -f -- revision.tmp
658         $(AM_V_GEN)if ! git \
659                         -C "$(top_srcdir)" describe \
660                         --tags --long --match '?.*.*' --always; then \
661                 cat $(srcdir)/revision.txt ; \
662         fi > revision.tmp
663         $(AM_V_at)if diff revision.tmp $(srcdir)/revision.txt >/dev/null 2>&1; then \
664                 rm -f -- revision.tmp; \
665         else \
666                 mv -f -- revision.tmp $(srcdir)/revision.txt; \
667         fi
668 #2>&1
670 ###############################################################################
671 # Unit/regression test
672 ###############################################################################
674 dist_check_SCRIPTS = check_headers check_symbols
676 check-local:
677         for h in `echo $(pkginclude_HEADERS) | sed -e s,\.\./include/,,g`; \
678         do \
679                 echo grep - "#include <$$h>" $(srcdir)/test/headers.c ; \
680                 if ! grep -- "#include <$$h>" $(srcdir)/test/headers.c ; \
681                 then \
682                         echo "Header $$h not included in test/headers.c!"; \
683                         exit 1; \
684                 fi ; \
685         done
686         $(SHELL) $(srcdir)/check_headers $(pluginsinclude_HEADERS)
688 FORCE:
689         @echo "Generated source cannot be phony. Go away." >&2
690         @exit 1
692 .PHONY: FORCE