X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2FMakefile.am;h=fd718cad437ffcf90719b84449624c0f31f8eac5;hb=6a1516cc5df7eea5a09a845511cb3a99ceb0a646;hp=97520eaf6ab4c87a0eee912fd4cd99913426d849;hpb=88a2f3ed297cc89eb4f13e1ec4c673c04fdf5f29;p=vlc diff --git a/src/Makefile.am b/src/Makefile.am index 97520eaf6a..fd718cad43 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -96,7 +96,6 @@ noinst_HEADERS = \ ../include/vlc_network.h \ ../include/vlc_osd.h \ ../include/vlc_pgpkey.h \ - ../include/vlc_streaming.h \ ../include/vlc_tls.h \ ../include/vlc_update.h \ ../include/vlc_vod.h \ @@ -163,7 +162,7 @@ nice: lib_LTLIBRARIES = libvlccore.la libvlc.la -AM_LDFLAGS = -no-undefined -no-install +AM_LDFLAGS = -no-undefined if HAVE_WIN32 AM_LDFLAGS += -avoid-version endif @@ -201,6 +200,7 @@ EXTRA_libvlccore_la_SOURCES = \ $(SOURCES_libvlc_dirent) \ $(SOURCES_libvlc_getopt) \ $(SOURCES_libvlc_sout) \ + $(SOURCES_libvlc_vlm) \ $(NULL) if HAVE_BEOS libvlccore_la_SOURCES += $(SOURCES_libvlc_beos) @@ -231,6 +231,9 @@ libvlccore_la_SOURCES += $(SOURCES_libvlc_getopt) endif if ENABLE_SOUT libvlccore_la_SOURCES += $(SOURCES_libvlc_sout) +if ENABLE_VLM +libvlccore_la_SOURCES += $(SOURCES_libvlc_vlm) +endif endif SOURCES_libvlc_beos = \ @@ -365,16 +368,18 @@ SOURCES_libvlc_common = \ $(NULL) SOURCES_libvlc_sout = \ - input/vlm.c \ - input/vlmshell.c \ stream_output/stream_output.c \ stream_output/stream_output.h \ stream_output/announce.c \ - stream_output/profiles.c \ stream_output/sap.c \ stream_output/sdp.c \ $(NULL) +SOURCES_libvlc_vlm = \ + input/vlm.c \ + input/vlmshell.c \ + $(NULL) + SOURCES_libvlc = \ $(SOURCES_libvlc_common) \ $(OPT_SOURCES_libvlc_beos) \ @@ -487,29 +492,36 @@ dist_check_SCRIPTS = check_symbols check_headers TESTS = $(check_PROGRAMS) check_symbols CFLAGS_tests = `$(VLC_CONFIG) --cflags libvlc` +LDFLAGS_tests = $(AM_LDFLAGS) -no-install test_block_SOURCES = test/block.c test_block_LDADD = libvlccore.la test_block_CFLAGS = $(CFLAGS_tests) +test_block_LDFLAGS = $(LDFLAGS_tests) test_dictionary_SOURCES = test/dictionary.c test_dictionary_LDADD = libvlccore.la test_dictionary_CFLAGS = $(CFLAGS_tests) +test_dictionary_LDFLAGS = $(LDFLAGS_tests) test_i18n_atof_SOURCES = test/i18n_atof.c text/charset.c test_i18n_atof_LDADD = libvlccore.la test_i18n_atof_CFLAGS = $(CFLAGS_tests) +test_i18n_atof_LDFLAGS = $(LDFLAGS_tests) test_url_SOURCES = test/url.c test_url_LDADD = libvlccore.la test_url_CFLAGS = $(CFLAGS_tests) +test_url_LDFLAGS = $(LDFLAGS_tests) test_utf8_SOURCES = test/utf8.c test_utf8_LDADD = libvlccore.la test_utf8_CFLAGS = $(CFLAGS_tests) +test_utf8_LDFLAGS = $(LDFLAGS_tests) test_headers_SOURCES = test/headers.c test_headers_CFLAGS = $(CFLAGS_tests) +test_headers_LDFLAGS = $(LDFLAGS_tests) check-local: for h in `echo $(pkginclude_HEADERS) | sed -e s,\.\./include/,,g`; \