Makefile.am
上传用户:kjfoods
上传日期:2020-07-06
资源大小:29949k
文件大小:12k
源码类别:

midi

开发平台:

Unix_Linux

  1. ###############################################################################
  2. # Automake targets and declarations
  3. ###############################################################################
  4. AUTOMAKE_OPTIONS = subdir-objects
  5. SUBDIRS = . test
  6. NULL =
  7. EXTRA_DIST = extras/COPYING 
  8. misc/beos_specific.cpp 
  9. libvlc.pc.in 
  10. vlc-plugin.pc.in 
  11. libvlc.sym 
  12. libvlccore.sym
  13. BUILT_SOURCES = ../include/vlc_about.h
  14. CLEANFILES = $(BUILT_SOURCES)
  15. SUFFIXES = .pc.in .pc
  16. ###############################################################################
  17. # Headers
  18. ###############################################################################
  19. pluginsincludedir = $(pkgincludedir)/plugins
  20. pkginclude_HEADERS = 
  21. ../include/vlc/vlc.h 
  22. ../include/vlc/deprecated.h 
  23. ../include/vlc/libvlc.h 
  24. ../include/vlc/libvlc_events.h 
  25. ../include/vlc/libvlc_media.h 
  26. ../include/vlc/libvlc_media_discoverer.h 
  27. ../include/vlc/libvlc_media_library.h 
  28. ../include/vlc/libvlc_media_list.h 
  29. ../include/vlc/libvlc_media_list_player.h 
  30. ../include/vlc/libvlc_media_list_view.h 
  31. ../include/vlc/libvlc_media_player.h 
  32. ../include/vlc/libvlc_structures.h 
  33. ../include/vlc/libvlc_vlm.h 
  34. ../include/vlc/mediacontrol.h 
  35. ../include/vlc/mediacontrol_structures.h 
  36. $(NULL)
  37. pluginsinclude_HEADERS = 
  38. ../include/vlc_access.h 
  39. ../include/vlc_acl.h 
  40. ../include/vlc_aout.h 
  41. ../include/vlc_arrays.h 
  42. ../include/vlc_avcodec.h 
  43. ../include/vlc_bits.h 
  44. ../include/vlc_block.h 
  45. ../include/vlc_block_helper.h 
  46. ../include/vlc_charset.h 
  47. ../include/vlc_codec.h 
  48. ../include/vlc_common.h 
  49. ../include/vlc_config.h 
  50. ../include/vlc_config_cat.h 
  51. ../include/vlc_configuration.h 
  52. ../include/vlc_dialog.h 
  53. ../include/vlc_demux.h 
  54. ../include/vlc_epg.h 
  55. ../include/vlc_es.h 
  56. ../include/vlc_es_out.h 
  57. ../include/vlc_events.h 
  58. ../include/vlc_filter.h 
  59. ../include/vlc_gcrypt.h 
  60. ../include/vlc_httpd.h 
  61. ../include/vlc_image.h 
  62. ../include/vlc_input.h 
  63. ../include/vlc_input_item.h 
  64. ../include/vlc_main.h 
  65. ../include/vlc_md5.h 
  66. ../include/vlc_messages.h 
  67. ../include/vlc_meta.h 
  68. ../include/vlc_modules.h 
  69. ../include/vlc_mtime.h 
  70. ../include/vlc_objects.h 
  71. ../include/vlc_playlist.h 
  72. ../include/vlc_plugin.h 
  73. ../include/vlc_rand.h 
  74. ../include/vlc_services_discovery.h 
  75. ../include/vlc_sout.h 
  76. ../include/vlc_stream.h 
  77. ../include/vlc_strings.h 
  78. ../include/vlc_threads.h 
  79. ../include/vlc_url.h 
  80. ../include/vlc_variables.h 
  81. ../include/vlc_vlm.h 
  82. ../include/vlc_vout.h 
  83. ../include/vlc_window.h 
  84. ../include/vlc_xml.h 
  85. $(NULL)
  86. noinst_HEADERS = 
  87. ../include/mmx.h 
  88. ../include/vlc_codec_synchro.h 
  89. ../include/vlc_codecs.h 
  90. ../include/vlc_devices.h 
  91. ../include/vlc_fixups.h 
  92. ../include/vlc_interface.h 
  93. ../include/vlc_intf_strings.h 
  94. ../include/vlc_iso_lang.h 
  95. ../include/vlc_keys.h 
  96. ../include/vlc_network.h 
  97. ../include/vlc_osd.h 
  98. ../include/vlc_pgpkey.h 
  99. ../include/vlc_tls.h 
  100. ../include/vlc_update.h 
  101. ../include/vlc_vod.h 
  102. $(NULL)
  103. ../include/vlc_about.h: Makefile.am $(top_srcdir)/COPYING $(top_srcdir)/THANKS $(top_srcdir)/AUTHORS
  104. rm -f -- "$@.tmp"
  105. mkdir -p -- ../include
  106. echo "/* Automatically generated file - DO NOT EDIT */" > "$@.tmp"
  107. echo "static const char psz_license[] =" >> "$@.tmp"
  108. cat $(top_srcdir)/COPYING | sed s/'"'/'\"'/g | $(AWK) '{ print """$$0"\n"" }' >> "$@.tmp"
  109. echo ";" >> "$@.tmp"
  110. echo "static const char psz_thanks[] =" >> "$@.tmp"
  111. grep -v '$$Id:'  $(top_srcdir)/THANKS | sed s/'"'/'\"'/g | $(AWK) '{ print """$$0"\n"" }'|sed s/"<.*.> "// >> "$@.tmp"
  112. echo ";" >> "$@.tmp"
  113. echo "static const char psz_authors[] =" >> "$@.tmp"
  114. grep N: $(top_srcdir)/AUTHORS | cut -d" " -f 2- | sed s/'"'/'\"'/g | $(AWK) '{ print """$$0"\n"" }' >> "$@.tmp"
  115. echo ";" >> "$@.tmp"
  116. mv -f -- "$@.tmp" "$@"
  117. ###############################################################################
  118. # pkg-config integration
  119. ###############################################################################
  120. pkgconfigdir = $(libdir)/pkgconfig
  121. pkgconfig_DATA = libvlc.pc vlc-plugin.pc
  122. CLEANFILES += $(pkgconfig_DATA)
  123. .pc.in.pc: $(top_builddir)/config.status
  124. cd "$(top_builddir)" && 
  125. $(SHELL) ./config.status --file="src/$@"
  126. ###############################################################################
  127. # Building libvlc
  128. ###############################################################################
  129. nice:
  130. $(top_builddir)/compile
  131. lib_LTLIBRARIES = libvlccore.la libvlc.la
  132. AM_LDFLAGS = -no-undefined
  133. if HAVE_WIN32
  134. AM_LDFLAGS += -avoid-version
  135. endif
  136. if HAVE_WINCE
  137. AM_LDFLAGS += -avoid-version
  138. endif
  139. libvlccore_la_SOURCES = $(SOURCES_libvlc)
  140. libvlccore_la_CFLAGS = `$(VLC_CONFIG) --cflags libvlccore` 
  141. -DMODULE_STRING="main" 
  142. -DLOCALEDIR="$(localedir)" 
  143. -DSYSCONFDIR="$(sysconfdir)" 
  144. -DDATA_PATH="$(vlcdatadir)" 
  145. -DLIBDIR="$(libdir)" 
  146. -DPLUGIN_PATH="$(vlclibdir)"
  147. libvlccore_la_LDFLAGS = `$(VLC_CONFIG) --ldflags libvlccore` $(AM_LDFLAGS) 
  148. -no-undefined 
  149. -export-symbols $(srcdir)/libvlccore.sym 
  150. -version-info 3:1:1
  151. libvlccore_la_LIBADD = `$(VLC_CONFIG) -libs libvlccore` $(AM_LIBADD) 
  152. $(LTLIBINTL) ../compat/libcompat.la
  153. libvlccore_la_DEPENDENCIES = libvlccore.sym
  154. if HAVE_WIN32
  155. libvlccore_la_DEPENDENCIES += libvlc_win32_rc.$(OBJEXT)
  156. libvlccore_la_LDFLAGS += -Wl,libvlc_win32_rc.$(OBJEXT)
  157. endif
  158. libvlc_win32_rc.$(OBJEXT): $(top_builddir)/share/libvlc_win32_rc.rc
  159. $(WINDRES) --include-dir $(top_srcdir)/share -i $< -o $@
  160. libvlc_la_SOURCES = $(SOURCES_libvlc_control)
  161. libvlc_la_LIBADD = `$(VLC_CONFIG) -libs libvlc` 
  162. libvlccore.la ../compat/libcompat.la
  163. libvlc_la_CFLAGS = `$(VLC_CONFIG) --cflags libvlc`
  164. libvlc_la_LDFLAGS = $(AM_LDFLAGS) `$(VLC_CONFIG) --ldflags libvlc` 
  165. -version-info 4:1:2 
  166. -export-symbols $(srcdir)/libvlc.sym
  167. libvlc_la_DEPENDENCIES = libvlc.sym libvlccore.la
  168. if HAVE_WIN32
  169. libvlc_la_DEPENDENCIES += $(DATA_win32_rc_lib)
  170. libvlc_la_LDFLAGS += -Wl,$(DATA_win32_rc_lib)
  171. endif
  172. EXTRA_libvlccore_la_SOURCES = 
  173. $(SOURCES_libvlc_beos) 
  174. $(SOURCES_libvlc_darwin) 
  175. $(SOURCES_libvlc_linux) 
  176. $(SOURCES_libvlc_win32) 
  177. $(SOURCES_libvlc_other) 
  178. $(SOURCES_libvlc_dirent) 
  179. $(SOURCES_libvlc_getopt) 
  180. $(SOURCES_libvlc_httpd) 
  181. $(SOURCES_libvlc_sout) 
  182. $(SOURCES_libvlc_vlm) 
  183. $(NULL)
  184. if HAVE_BEOS
  185. libvlccore_la_SOURCES += $(SOURCES_libvlc_beos)
  186. else
  187. if HAVE_DARWIN
  188. libvlccore_la_SOURCES += $(SOURCES_libvlc_darwin)
  189. else
  190. if HAVE_LINUX
  191. libvlccore_la_SOURCES += $(SOURCES_libvlc_linux)
  192. else
  193. if HAVE_WIN32
  194. libvlccore_la_SOURCES += $(SOURCES_libvlc_win32)
  195. else
  196. if HAVE_WINCE
  197. libvlccore_la_SOURCES += $(SOURCES_libvlc_win32)
  198. else
  199. libvlccore_la_SOURCES += $(SOURCES_libvlc_other)
  200. endif
  201. endif
  202. endif
  203. endif
  204. endif
  205. if BUILD_DIRENT
  206. libvlccore_la_SOURCES += $(SOURCES_libvlc_dirent)
  207. endif
  208. if BUILD_GETOPT
  209. libvlccore_la_SOURCES += $(SOURCES_libvlc_getopt)
  210. endif
  211. if BUILD_HTTPD
  212. libvlccore_la_SOURCES += $(SOURCES_libvlc_httpd)
  213. endif
  214. if ENABLE_SOUT
  215. libvlccore_la_SOURCES += $(SOURCES_libvlc_sout)
  216. if ENABLE_VLM
  217. libvlccore_la_SOURCES += $(SOURCES_libvlc_vlm)
  218. endif
  219. endif
  220. SOURCES_libvlc_beos = 
  221. $(NULL)
  222. SOURCES_libvlc_darwin = 
  223. misc/darwin_specific.c 
  224. $(NULL)
  225. SOURCES_libvlc_linux = 
  226. misc/linux_specific.c 
  227. $(NULL)
  228. SOURCES_libvlc_win32 = 
  229. misc/win32_specific.c 
  230. network/winsock.c 
  231. $(NULL)
  232. SOURCES_libvlc_other = misc/not_specific.c
  233. SOURCES_libvlc_dirent = 
  234. extras/dirent.c 
  235. $(NULL)
  236. SOURCES_libvlc_getopt = 
  237. extras/getopt.c 
  238. extras/getopt.h 
  239. extras/getopt1.c 
  240. $(NULL)
  241. SOURCES_libvlc_common = 
  242. libvlc.c 
  243. libvlc.h 
  244. libvlc-module.c 
  245. missing.c 
  246. version.c 
  247. interface/dialog.c 
  248. interface/interface.c 
  249. interface/intf_eject.c 
  250. playlist/playlist_internal.h 
  251. playlist/art.c 
  252. playlist/art.h 
  253. playlist/thread.c 
  254. playlist/control.c 
  255. playlist/engine.c 
  256. playlist/fetcher.c 
  257. playlist/fetcher.h 
  258. playlist/sort.c 
  259. playlist/loadsave.c 
  260. playlist/preparser.c 
  261. playlist/preparser.h 
  262. playlist/tree.c 
  263. playlist/item.c 
  264. playlist/search.c 
  265. playlist/services_discovery.c 
  266. input/item.c 
  267. input/access.c 
  268. input/clock.c 
  269. input/control.c 
  270. input/decoder.c 
  271. input/decoder_synchro.c 
  272. input/demux.c 
  273. input/es_out.c 
  274. input/es_out_timeshift.c 
  275. input/event.c 
  276. input/input.c 
  277. input/meta.c 
  278. input/access.h 
  279. input/clock.h 
  280. input/decoder.h 
  281. input/demux.h 
  282. input/es_out.h 
  283. input/es_out_timeshift.h 
  284. input/event.h 
  285. input/item.h 
  286. input/stream.h 
  287. input/input_internal.h 
  288. input/input_interface.h 
  289. input/vlm_internal.h 
  290. input/vlm_event.h 
  291. input/resource.h 
  292. input/resource.c 
  293. input/stream.c 
  294. input/stream_demux.c 
  295. input/stream_filter.c 
  296. input/stream_memory.c 
  297. input/subtitles.c 
  298. input/var.c 
  299. video_output/video_output.c 
  300. video_output/vout_pictures.c 
  301. video_output/vout_pictures.h 
  302. video_output/video_text.c 
  303. video_output/video_widgets.c 
  304. video_output/vout_subpictures.c 
  305. video_output/vout_intf.c 
  306. video_output/vout_internal.h 
  307. video_output/vout_control.h 
  308. audio_output/aout_internal.h 
  309. audio_output/common.c 
  310. audio_output/dec.c 
  311. audio_output/filters.c 
  312. audio_output/input.c 
  313. audio_output/mixer.c 
  314. audio_output/output.c 
  315. audio_output/intf.c 
  316. osd/osd.c 
  317. osd/osd_text.c 
  318. osd/osd_widgets.c 
  319. network/acl.c 
  320. network/getaddrinfo.c 
  321. network/io.c 
  322. network/tcp.c 
  323. network/udp.c 
  324. network/rootbind.c 
  325. network/tls.c 
  326. network/poll.c 
  327. text/charset.c 
  328. text/strings.c 
  329. text/unicode.c 
  330. text/filesystem.c 
  331. text/wincp.c 
  332. text/iso_lang.c 
  333. text/iso-639_def.h 
  334. misc/md5.c 
  335. misc/rand.c 
  336. misc/mtime.c 
  337. misc/block.c 
  338. misc/es_format.c 
  339. modules/modules.h 
  340. modules/modules.c 
  341. modules/cache.c 
  342. modules/entry.c 
  343. modules/os.c 
  344. misc/threads.c 
  345. misc/stats.c 
  346. misc/cpu.c 
  347. misc/action.c 
  348. config/configuration.h 
  349. config/core.c 
  350. config/dirs.c 
  351. config/chain.c 
  352. config/file.c 
  353. config/intf.c 
  354. config/cmdline.c 
  355. misc/events.c 
  356. misc/image.c 
  357. misc/messages.c 
  358. misc/objects.c 
  359. misc/variables.h 
  360. misc/variables.c 
  361. misc/error.c 
  362. misc/update.h 
  363. misc/update.c 
  364. misc/xml.c 
  365. misc/devices.c 
  366. extras/libc.c 
  367. misc/filter_chain.c 
  368. $(NULL)
  369. SOURCES_libvlc_httpd = 
  370. network/httpd.c 
  371. $(NULL)
  372. SOURCES_libvlc_sout = 
  373. stream_output/stream_output.c 
  374. stream_output/stream_output.h 
  375. stream_output/announce.c 
  376. stream_output/sap.c 
  377. stream_output/sdp.c 
  378. $(NULL)
  379. SOURCES_libvlc_vlm = 
  380. input/vlm.c 
  381. input/vlm_event.c 
  382. input/vlmshell.c 
  383. $(NULL)
  384. SOURCES_libvlc = 
  385. $(SOURCES_libvlc_common) 
  386. $(OPT_SOURCES_libvlc_beos) 
  387. $(OPT_SOURCES_libvlc_darwin) 
  388. $(OPT_SOURCES_libvlc_win32) 
  389. $(OPT_SOURCES_libvlc_dirent) 
  390. $(OPT_SOURCES_libvlc_getopt) 
  391. $(NULL)
  392. SOURCES_libvlc_control = 
  393. control/libvlc_internal.h 
  394. control/event_internal.h 
  395. control/media_internal.h 
  396. control/media_list_internal.h 
  397. control/media_list_view_internal.h 
  398. control/media_player_internal.h 
  399. control/core.c 
  400. control/log.c 
  401. control/playlist.c 
  402. control/vlm.c 
  403. control/video.c 
  404. control/audio.c 
  405. control/event.c 
  406. control/event_async.c 
  407. control/flat_media_list_view.c 
  408. control/hierarchical_media_list_view.c 
  409. control/hierarchical_node_media_list_view.c 
  410. control/media.c 
  411. control/media_player.c 
  412. control/media_list.c 
  413. control/media_list_path.h 
  414. control/media_list_player.c 
  415. control/media_list_view.c 
  416. control/media_library.c 
  417. control/mediacontrol_internal.h 
  418. control/mediacontrol_core.c 
  419. control/mediacontrol_util.c 
  420. control/mediacontrol_audio_video.c 
  421. control/media_discoverer.c
  422. ###############################################################################
  423. # Unit/regression test
  424. ###############################################################################
  425. dist_check_SCRIPTS = check_symbols check_headers
  426. TESTS = check_symbols
  427. check-local:
  428. for h in `echo $(pkginclude_HEADERS) | sed -e s,../include/,,g`; 
  429. do 
  430. echo grep - "#include <$$h>" $(srcdir)/test/headers.c ; 
  431. if ! grep -- "#include <$$h>" $(srcdir)/test/headers.c ; 
  432. then 
  433. echo "Header $$h not included in test/headers.c!"; 
  434. exit 1; 
  435. fi ; 
  436. done
  437. $(srcdir)/check_headers $(pkginclude_HEADERS)
  438. $(srcdir)/check_headers $(pluginsinclude_HEADERS)
  439. FORCE:
  440. @echo "Generated source cannot be phony. Go away." >&2
  441. @exit 1
  442. .PHONY: FORCE