Makefile.am 14.2 KB
Newer Older
1
###############################################################################
2 3 4
# Automake targets and declarations
###############################################################################

5
AUTOMAKE_OPTIONS = subdir-objects
6
SUBDIRS = . test
7

8
NULL =
9
EXTRA_DIST = extras/COPYING \
10
	misc/beos_specific.cpp \
11
	libvlc.pc.in \
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
12
	vlc-plugin.pc.in \
13
	libvlc.sym \
14
	libvlccore.sym
15

16
BUILT_SOURCES = ../include/vlc_about.h
Christophe Mutricy's avatar
Christophe Mutricy committed
17
CLEANFILES = $(BUILT_SOURCES)
18

19 20
SUFFIXES = .pc.in .pc

21 22 23 24
###############################################################################
# Headers
###############################################################################

25
pluginsincludedir = $(pkgincludedir)/plugins
26

27
pkginclude_HEADERS = \
28
	../include/vlc/vlc.h \
29
	../include/vlc/deprecated.h \
30
	../include/vlc/libvlc.h \
31
	../include/vlc/libvlc_events.h \
32 33 34 35 36 37 38 39
	../include/vlc/libvlc_media.h \
	../include/vlc/libvlc_media_discoverer.h \
	../include/vlc/libvlc_media_library.h \
	../include/vlc/libvlc_media_list.h \
	../include/vlc/libvlc_media_list_player.h \
	../include/vlc/libvlc_media_list_view.h \
	../include/vlc/libvlc_media_player.h \
	../include/vlc/libvlc_structures.h \
40
	../include/vlc/libvlc_vlm.h \
41 42 43 44
	../include/vlc/mediacontrol.h \
	../include/vlc/mediacontrol_structures.h \
	$(NULL)

45
pluginsinclude_HEADERS = \
46 47
	../include/vlc_access.h \
	../include/vlc_acl.h \
48
	../include/vlc_aout.h \
49
	../include/vlc_aout_mixer.h \
50
	../include/vlc_arrays.h \
Pierre Ynard's avatar
Pierre Ynard committed
51
	../include/vlc_art_finder.h \
52
	../include/vlc_avcodec.h \
53 54 55 56 57
	../include/vlc_bits.h \
	../include/vlc_block.h \
	../include/vlc_block_helper.h \
	../include/vlc_charset.h \
	../include/vlc_codec.h \
58 59
	../include/vlc_common.h \
	../include/vlc_config.h \
60
	../include/vlc_config_cat.h \
61
	../include/vlc_configuration.h \
62
	../include/vlc_cpu.h \
63
	../include/vlc_dialog.h \
64
	../include/vlc_demux.h \
65
	../include/vlc_epg.h \
66
	../include/vlc_es.h \
67 68
	../include/vlc_es_out.h \
	../include/vlc_events.h \
69
	../include/vlc_filter.h \
70
	../include/vlc_fourcc.h \
71
	../include/vlc_gcrypt.h \
72
	../include/vlc_http.h \
73
	../include/vlc_httpd.h \
74
	../include/vlc_image.h \
75
	../include/vlc_inhibit.h \
76
	../include/vlc_input.h \
77
	../include/vlc_input_item.h \
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
78
	../include/vlc_main.h \
79
	../include/vlc_md5.h \
80
	../include/vlc_messages.h \
81
	../include/vlc_meta.h \
82
	../include/vlc_modules.h \
Pierre Ynard's avatar
Pierre Ynard committed
83
	../include/vlc_mouse.h \
84 85
	../include/vlc_mtime.h \
	../include/vlc_objects.h \
86
	../include/vlc_picture.h \
87 88
	../include/vlc_picture_fifo.h \
	../include/vlc_picture_pool.h \
89
	../include/vlc_playlist.h \
90
	../include/vlc_plugin.h \
91
	../include/vlc_probe.h \
92 93
	../include/vlc_rand.h \
	../include/vlc_services_discovery.h \
Srikanth Raju's avatar
Srikanth Raju committed
94
	../include/vlc_sql.h \
95
	../include/vlc_sout.h \
96 97
	../include/vlc_stream.h \
	../include/vlc_strings.h \
98
	../include/vlc_subpicture.h \
99
	../include/vlc_threads.h \
100
	../include/vlc_url.h \
101 102
	../include/vlc_variables.h \
	../include/vlc_vlm.h \
103
	../include/vlc_video_splitter.h \
104
	../include/vlc_vout.h \
105
	../include/vlc_vout_display.h \
106
	../include/vlc_vout_opengl.h \
107
	../include/vlc_vout_window.h \
108
	../include/vlc_xml.h \
109
	$(NULL)
110

111
noinst_HEADERS = \
112
	../include/vlc_codec_synchro.h \
113
	../include/vlc_codecs.h \
Pierre Ynard's avatar
Pierre Ynard committed
114
	../include/vlc_extensions.h \
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
115
	../include/vlc_fixups.h \
116
	../include/vlc_interface.h \
117
	../include/vlc_intf_strings.h \
118
	../include/vlc_iso_lang.h \
119
	../include/vlc_keys.h \
Pierre Ynard's avatar
Pierre Ynard committed
120
	../include/vlc_memory.h \
121
	../include/vlc_network.h \
122
	../include/vlc_osd.h \
Rémi Denis-Courmont's avatar
Tabs  
Rémi Denis-Courmont committed
123
	../include/vlc_pgpkey.h \
124
	../include/vlc_tls.h \
125 126
	../include/vlc_update.h \
	../include/vlc_vod.h \
Pierre Ynard's avatar
Pierre Ynard committed
127
	../include/vlc_vout_wrapper.h \
128 129
	$(NULL)

130 131 132 133 134
../include/vlc_about.h: Makefile.am $(top_srcdir)/COPYING $(top_srcdir)/THANKS $(top_srcdir)/AUTHORS
	rm -f -- "$@.tmp"
	mkdir -p -- ../include
	echo "/* Automatically generated file - DO NOT EDIT */" > "$@.tmp"
	echo "static const char psz_license[] =" >> "$@.tmp"
JP Dinger's avatar
JP Dinger committed
135
	sed 's/"/\\"/g;s/^.*$$/\"&\\n\"/' "$(top_srcdir)/COPYING" >> "$@.tmp"
136 137
	echo ";" >> "$@.tmp"
	echo "static const char psz_thanks[] =" >> "$@.tmp"
JP Dinger's avatar
JP Dinger committed
138 139
	sed '/\$$Id:/d;s/"/\\"/g;s/<.*.> //;s/^.*$$/\"&\\n\"/' \
		"$(top_srcdir)/THANKS" >> "$@.tmp"
140 141
	echo ";" >> "$@.tmp"
	echo "static const char psz_authors[] =" >> "$@.tmp"
JP Dinger's avatar
JP Dinger committed
142 143
	sed -n '/^N: /{;s///;s/"/\\"/g;s/^.*$$/\"&\\n\"/;p;}' \
		"$(top_srcdir)/AUTHORS" >> "$@.tmp"
144
	echo ";" >> "$@.tmp"
JP Dinger's avatar
JP Dinger committed
145

146
	mv -f -- "$@.tmp" "$@"
147

148 149 150 151 152
###############################################################################
# pkg-config integration
###############################################################################

pkgconfigdir = $(libdir)/pkgconfig
153
pkgconfig_DATA = libvlc.pc vlc-plugin.pc
154 155
CLEANFILES += $(pkgconfig_DATA)

156 157 158 159
.pc.in.pc: $(top_builddir)/config.status
	cd "$(top_builddir)" && \
	$(SHELL) ./config.status --file="src/$@"

160 161 162 163
###############################################################################
# Building libvlc
###############################################################################

164 165 166
nice:
	$(top_builddir)/compile

167
lib_LTLIBRARIES = libvlccore.la libvlc.la
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
168

169
AM_LDFLAGS = -no-undefined
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
170
if HAVE_WIN32
171
AM_LDFLAGS += -avoid-version
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
172
endif
173 174 175
if HAVE_WINCE
AM_LDFLAGS += -avoid-version
endif
176

177
libvlccore_la_SOURCES = $(SOURCES_libvlc)
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
178
nodist_libvlccore_la_SOURCES = revision.c
179
libvlccore_la_CFLAGS = `$(VLC_CONFIG) --cflags libvlccore` \
180
	-DMODULE_STRING=\"main\" \
181
	-DLOCALEDIR=\"$(localedir)\" \
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
182
	-DSYSCONFDIR=\"$(sysconfdir)\" \
183
	-DDATA_PATH=\"$(vlcdatadir)\" \
184
	-DLIBDIR=\"$(libdir)\" \
185
	-DPLUGIN_PATH=\"$(vlclibdir)\"
186
libvlccore_la_LDFLAGS = `$(VLC_CONFIG) --ldflags libvlccore` $(AM_LDFLAGS) \
187
	-no-undefined \
188
	-export-symbols $(srcdir)/libvlccore.sym \
189
	-version-info 4:0:0
190
libvlccore_la_LIBADD = `$(VLC_CONFIG) -libs libvlccore` $(AM_LIBADD) \
191
	$(LTLIBINTL) ../compat/libcompat.la
192
libvlccore_la_DEPENDENCIES = libvlccore.sym
193
if HAVE_WIN32
194 195
libvlccore_la_DEPENDENCIES += libvlc_win32_rc.$(OBJEXT)
libvlccore_la_LDFLAGS += -Wl,libvlc_win32_rc.$(OBJEXT)
196
endif
197

198 199 200
libvlc_win32_rc.$(OBJEXT): $(top_builddir)/share/libvlc_win32_rc.rc
	$(WINDRES) --include-dir $(top_srcdir)/share -i $< -o $@

201
libvlc_la_SOURCES = $(SOURCES_libvlc_control)
202
nodist_libvlc_la_SOURCES = revision.c
203 204
libvlc_la_LIBADD = `$(VLC_CONFIG) -libs libvlc` \
	libvlccore.la ../compat/libcompat.la
205
libvlc_la_CFLAGS = `$(VLC_CONFIG) --cflags libvlc`
206
libvlc_la_LDFLAGS = $(AM_LDFLAGS) `$(VLC_CONFIG) --ldflags libvlc` \
207
	-version-info 5:0:0 \
208
	-export-symbols $(srcdir)/libvlc.sym
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
209
libvlc_la_DEPENDENCIES = libvlc.sym libvlccore.la
210
if HAVE_WIN32
211 212
libvlc_la_DEPENDENCIES += $(DATA_win32_rc_lib)
libvlc_la_LDFLAGS += -Wl,$(DATA_win32_rc_lib)
213 214
endif

215

216
EXTRA_libvlccore_la_SOURCES = \
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
217 218
	$(SOURCES_libvlc_beos) \
	$(SOURCES_libvlc_darwin) \
219
	$(SOURCES_libvlc_linux) \
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
220
	$(SOURCES_libvlc_win32) \
221
	$(SOURCES_libvlc_other) \
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
222 223
	$(SOURCES_libvlc_dirent) \
	$(SOURCES_libvlc_getopt) \
224
	$(SOURCES_libvlc_httpd) \
225
	$(SOURCES_libvlc_sout) \
226
	$(SOURCES_libvlc_vlm) \
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
227
	$(NULL)
228
if HAVE_BEOS
229
libvlccore_la_SOURCES += $(SOURCES_libvlc_beos)
230
else
231
if HAVE_DARWIN
232
libvlccore_la_SOURCES += $(SOURCES_libvlc_darwin)
233 234
else
if HAVE_LINUX
235
libvlccore_la_SOURCES += $(SOURCES_libvlc_linux)
236
else
237
if HAVE_WIN32
238
libvlccore_la_SOURCES += $(SOURCES_libvlc_win32)
239
else
240
if HAVE_WINCE
241
libvlccore_la_SOURCES += $(SOURCES_libvlc_win32)
242
else
243
libvlccore_la_SOURCES += $(SOURCES_libvlc_other)
244
endif
245 246 247 248
endif
endif
endif
endif
249
if BUILD_DIRENT
250
libvlccore_la_SOURCES += $(SOURCES_libvlc_dirent)
251 252
endif
if BUILD_GETOPT
253
libvlccore_la_SOURCES += $(SOURCES_libvlc_getopt)
254
endif
255 256 257
if BUILD_HTTPD
libvlccore_la_SOURCES += $(SOURCES_libvlc_httpd)
endif
258
if ENABLE_SOUT
259
libvlccore_la_SOURCES += $(SOURCES_libvlc_sout)
260 261 262
if ENABLE_VLM
libvlccore_la_SOURCES += $(SOURCES_libvlc_vlm)
endif
263
endif
264

265
SOURCES_libvlc_beos = \
266
	misc/pthread.c \
267 268 269
	$(NULL)

SOURCES_libvlc_darwin = \
270
	config/dirs_macos.c \
271
	misc/pthread.c \
272
	misc/darwin_specific.c \
273 274
	$(NULL)

275
SOURCES_libvlc_linux = \
276
	config/dirs_xdg.c \
277
	misc/pthread.c \
278 279 280
	misc/linux_specific.c \
	$(NULL)

281
SOURCES_libvlc_win32 = \
282 283 284 285
	win32/dirs.c \
	win32/specific.c \
	win32/thread.c \
	win32/winsock.c \
286 287
	$(NULL)

288
SOURCES_libvlc_other = \
289
	config/dirs_xdg.c \
290 291
	misc/pthread.c \
	misc/not_specific.c
292

293 294 295 296 297 298 299 300 301 302 303 304 305
SOURCES_libvlc_dirent = \
	extras/dirent.c \
	$(NULL)

SOURCES_libvlc_getopt = \
	extras/getopt.c \
	extras/getopt.h \
	extras/getopt1.c \
	$(NULL)

SOURCES_libvlc_common = \
	libvlc.c \
	libvlc.h \
306
	libvlc-module.c \
307
	missing.c \
308
	version.c \
309
	interface/dialog.c \
310 311
	interface/interface.c \
	interface/intf_eject.c \
312
	playlist/playlist_internal.h \
313
	playlist/art.c \
Christophe Mutricy's avatar
Christophe Mutricy committed
314
	playlist/art.h \
315 316 317
	playlist/thread.c \
	playlist/control.c \
	playlist/engine.c \
318
	playlist/fetcher.c \
Christophe Mutricy's avatar
Christophe Mutricy committed
319
	playlist/fetcher.h \
320 321
	playlist/sort.c \
	playlist/loadsave.c \
322
	playlist/preparser.c \
Christophe Mutricy's avatar
Christophe Mutricy committed
323
	playlist/preparser.h \
324
	playlist/tree.c \
325
	playlist/item.c \
326
	playlist/search.c \
327
	playlist/services_discovery.c \
328
	input/item.c \
329 330 331 332
	input/access.c \
	input/clock.c \
	input/control.c \
	input/decoder.c \
333
	input/decoder_synchro.c \
334 335
	input/demux.c \
	input/es_out.c \
336
	input/es_out_timeshift.c \
337
	input/event.c \
338
	input/input.c \
339
	input/meta.c \
340
	input/access.h \
341 342
	input/clock.h \
	input/decoder.h \
343
	input/demux.h \
344
	input/es_out.h \
345
	input/es_out_timeshift.h \
346
	input/event.h \
347
	input/item.h \
348
	input/stream.h \
349
	input/input_internal.h \
350
	input/input_interface.h \
351
	input/vlm_internal.h \
Laurent Aimar's avatar
Laurent Aimar committed
352
	input/vlm_event.h \
353 354
	input/resource.h \
	input/resource.c \
355
	input/stream.c \
356
	input/stream_demux.c \
357
	input/stream_filter.c \
358
	input/stream_memory.c \
359 360
	input/subtitles.c \
	input/var.c \
361 362
	video_output/display.c \
	video_output/display.h \
Pierre Ynard's avatar
Pierre Ynard committed
363
	video_output/event.h \
364 365
	video_output/inhibit.c \
	video_output/inhibit.h \
366 367
	video_output/snapshot.c \
	video_output/snapshot.h \
368
	video_output/statistic.h \
369 370 371 372 373 374
	video_output/video_output.c \
	video_output/vout_pictures.c \
	video_output/vout_pictures.h \
	video_output/video_text.c \
	video_output/video_widgets.c \
	video_output/vout_subpictures.c \
375
	video_output/window.c \
376
	video_output/vout_intf.c \
Laurent Aimar's avatar
Laurent Aimar committed
377
	video_output/vout_internal.h \
378
	video_output/vout_control.h \
Clément Stenac's avatar
Clément Stenac committed
379
	audio_output/aout_internal.h \
380 381 382
	audio_output/common.c \
	audio_output/dec.c \
	audio_output/filters.c \
383
	audio_output/input.c \
384 385 386 387 388 389 390 391 392 393 394
	audio_output/mixer.c \
	audio_output/output.c \
	audio_output/intf.c \
	osd/osd.c \
	osd/osd_text.c \
	osd/osd_widgets.c \
	network/acl.c \
	network/getaddrinfo.c \
	network/io.c \
	network/tcp.c \
	network/udp.c \
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
395
	network/rootbind.c \
396
	network/tls.c \
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
397
	network/poll.c \
398 399 400
	text/charset.c \
	text/strings.c \
	text/unicode.c \
401
	text/filesystem.c \
402
	text/wincp.c \
403 404
	text/iso_lang.c \
	text/iso-639_def.h \
405
	misc/md5.c \
406
	misc/probe.c \
407
	misc/rand.c \
408 409
	misc/mtime.c \
	misc/block.c \
410
	misc/fourcc.c \
411
	misc/es_format.c \
412 413
	misc/picture_fifo.c \
	misc/picture_pool.c \
414 415
	modules/modules.h \
	modules/modules.c \
416
	modules/cache.c \
417
	modules/entry.c \
418
	modules/os.c \
419 420 421
	misc/threads.c \
	misc/stats.c \
	misc/cpu.c \
422
	misc/action.c \
423
	misc/epg.c \
424
	config/configuration.h \
425 426 427
	config/core.c \
	config/chain.c \
	config/file.c \
428
	config/intf.c \
429
	config/keys.c \
430
	config/cmdline.c \
431
	config/dirs.c \
432
	misc/events.c \
433 434 435
	misc/image.c \
	misc/messages.c \
	misc/objects.c \
Clément Stenac's avatar
Clément Stenac committed
436
	misc/variables.h \
437 438
	misc/variables.c \
	misc/error.c \
Rafaël Carré's avatar
Typo  
Rafaël Carré committed
439
	misc/update.h \
440
	misc/update.c \
441
	misc/update_crypto.c \
442 443
	misc/xml.c \
	extras/libc.c \
444
	extras/tdestroy.c \
Laurent Aimar's avatar
Laurent Aimar committed
445
	misc/filter.c \
446
	misc/filter_chain.c \
447
	misc/http_auth.c \
Srikanth Raju's avatar
Srikanth Raju committed
448
	misc/sql.c \
449 450
	$(NULL)

451 452 453 454
SOURCES_libvlc_httpd = \
	network/httpd.c \
	$(NULL)

455 456 457 458 459 460 461 462
SOURCES_libvlc_sout = \
	stream_output/stream_output.c \
	stream_output/stream_output.h \
	stream_output/announce.c \
	stream_output/sap.c \
	stream_output/sdp.c \
	$(NULL)

463 464
SOURCES_libvlc_vlm = \
	input/vlm.c \
Laurent Aimar's avatar
Laurent Aimar committed
465
	input/vlm_event.c \
466 467 468
	input/vlmshell.c \
	$(NULL)

469 470 471 472 473 474 475 476 477
SOURCES_libvlc = \
	$(SOURCES_libvlc_common) \
	$(OPT_SOURCES_libvlc_beos) \
	$(OPT_SOURCES_libvlc_darwin) \
	$(OPT_SOURCES_libvlc_win32) \
	$(OPT_SOURCES_libvlc_dirent) \
	$(OPT_SOURCES_libvlc_getopt) \
	$(NULL)

478
SOURCES_libvlc_control = \
Clément Stenac's avatar
Clément Stenac committed
479
	control/libvlc_internal.h \
480
	control/event_internal.h \
481 482 483 484
	control/media_internal.h \
	control/media_list_internal.h \
	control/media_list_view_internal.h \
	control/media_player_internal.h \
485
	control/core.c \
486
	control/error.c \
487 488 489 490 491
	control/log.c \
	control/playlist.c \
	control/vlm.c \
	control/video.c \
	control/audio.c \
Filippo Carone's avatar
Filippo Carone committed
492
	control/event.c \
493
	control/event_async.c \
494
	control/flat_media_list_view.c \
495
	control/hierarchical_media_list_view.c \
496
	control/hierarchical_node_media_list_view.c \
497 498
	control/media.c \
	control/media_player.c \
499
	control/media_list.c \
500
	control/media_list_path.h \
501
	control/media_list_player.c \
502
	control/media_list_view.c \
503
	control/media_library.c \
Clément Stenac's avatar
Clément Stenac committed
504
	control/mediacontrol_internal.h \
505 506
	control/mediacontrol_core.c \
	control/mediacontrol_util.c \
507
	control/mediacontrol_audio_video.c \
508
	control/media_discoverer.c
509

Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
510 511 512 513 514 515 516 517 518
###############################################################################
# GIT revision
###############################################################################

BUILT_SOURCES += stamp-revision
CLEANFILES += revision.txt revision.c

revision.c: revision.txt
	rm -f -- revision.c
519
	echo "const char psz_vlc_changeset[] = \"$$(cat revision.txt)\";" \
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
520 521
		> revision.c

522
revision.txt: Makefile.am
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
523 524 525 526 527
	$(MAKE) stamp-revision
	touch revision.txt

stamp-revision:
	rm -f -- revision.tmp
528
	(git --git-dir="$(top_srcdir)/.git/" describe --tags --long \
529
		--match '?.*.*' --always || echo exported) > revision.tmp
530 531 532 533 534
	if diff revision.tmp revision.txt >/dev/null; then \
		rm -f -- revision.tmp; \
	else \
		mv -f -- revision.tmp revision.txt; \
	fi 2>&1
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
535

536 537 538
###############################################################################
# Unit/regression test
###############################################################################
539

540
dist_check_SCRIPTS = check_symbols check_headers
541
TESTS = check_symbols
542

543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558
check_DATA = libvlc-headers.sym libvlc-sorted.sym
CLEANFILES += $(check_DATA)

libvlc-sorted.sym: libvlccore.sym
	rm -f libvlc-sorted.sym
	sort -fdu < "$(srcdir)/libvlccore.sym" > libvlc-sorted.sym

libvlc-headers.sym:
	rm -f libvlc-headers.sym
	cat ${srcdir}/../include/vlc_*.h ${srcdir}/control/*.h | \
	sed -n -e 's/^[ ]*VLC_EXPORT[ ]*([^,]*,\([^,]*\),.*/\1/p' | \
	sed -e 's/[^a-zA-Z0-9_]*//' | \
	sort -fdu > libvlc-headers.sym

.PHONY: libvlc-headers.sym

559
check-local:
560
	for h in `echo $(pkginclude_HEADERS) | sed -e s,\.\./include/,,g`; \
561 562 563 564 565 566 567 568
	do \
		echo grep - "#include <$$h>" $(srcdir)/test/headers.c ; \
		if ! grep -- "#include <$$h>" $(srcdir)/test/headers.c ; \
		then \
			echo "Header $$h not included in test/headers.c!"; \
			exit 1; \
		fi ; \
	done
569
	$(srcdir)/check_headers $(pkginclude_HEADERS)
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
570
	$(srcdir)/check_headers $(pluginsinclude_HEADERS)
571

572
FORCE:
573 574 575 576
	@echo "Generated source cannot be phony. Go away." >&2
	@exit 1

.PHONY: FORCE