]> git.sesse.net Git - vlc/blobdiff - src/Makefile.am
Qt4 - Preferences. Fix a small bug in the layout of the complete preferences that...
[vlc] / src / Makefile.am
index 278220a75e36853c60a191c86503c015d3278208..fa2fea220967ddc8ec6806af39870c01855f8907 100644 (file)
@@ -7,7 +7,7 @@ AUTOMAKE_OPTIONS = subdir-objects
 NULL =
 EXTRA_DIST = extras/COPYING modules/builtin.h.in libvlc.sym
 
-BUILT_SOURCES = modules/builtin.h misc/revision.c
+BUILT_SOURCES = modules/builtin.h misc/revision.c ../include/vlc_about.h
 CLEANFILES = $(BUILT_SOURCES)
 
 ###############################################################################
@@ -112,6 +112,20 @@ endif
 
 modules/modules.c: modules/builtin.h
 
+../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"
+       cat $(top_srcdir)/COPYING | sed s/'"'/'\\"'/g | $(AWK) '{ print "\""$$0"\\n\"" }' >> "$@.tmp"
+       echo ";" >> "$@.tmp"
+       echo "static const char psz_thanks[] =" >> "$@.tmp"
+       grep -v '$$Id:'  $(top_srcdir)/THANKS | sed s/'"'/'\\"'/g | $(AWK) '{ print "\""$$0"\\n\"" }'|sed s/"<.*.> "// >> "$@.tmp"
+       echo ";" >> "$@.tmp"
+       echo "static const char psz_authors[] =" >> "$@.tmp"
+       grep N: $(top_srcdir)/AUTHORS | cut -d" " -f 2- | sed s/'"'/'\\"'/g | $(AWK) '{ print "\""$$0"\\n\"" }' >> "$@.tmp"
+       echo ";" >> "$@.tmp"
+       mv -f -- "$@.tmp" "$@"
 ###############################################################################
 # Building libvlc
 ###############################################################################
@@ -145,7 +159,7 @@ libvlc_la_DEPENDENCIES = libvlc.sym
 libvlc_control_la_SOURCES = $(SOURCES_libvlc_control)
 libvlc_control_la_LIBADD = libvlc.la
 libvlc_control_la_CFLAGS = `$(VLC_CONFIG) --cflags libvlc`
-libvlc_control_la_LDFLAGS = $(AM_LDFLAGS) -version-info 0:0:0
+libvlc_control_la_LDFLAGS = $(AM_LDFLAGS) -version-info 1:0:0
 if HAVE_COMPILER_EXPORT
 libvlc_control_la_LDFLAGS += -export-dynamic
 else
@@ -257,7 +271,6 @@ SOURCES_libvlc_common = \
        stream_output/sap.c \
        stream_output/sdp.c \
        osd/osd.c \
-       osd/osd_parser.c \
        osd/osd_text.c \
        osd/osd_widgets.c \
        network/acl.c \
@@ -282,13 +295,17 @@ SOURCES_libvlc_common = \
        misc/block.c \
        modules/modules.h \
        modules/modules.c \
+       modules/cache.c \
        modules/entry.c \
+       modules/os.c \
        misc/threads.c \
        misc/stats.c \
        misc/cpu.c \
-       modules/configuration.h \
-       modules/configuration.c \
-       modules/configuration_chain.c \
+       config/config.h \
+       config/core.c \
+       config/chain.c \
+       config/file.c \
+       config/cmdline.c \
        misc/events.c \
        misc/image.c \
        misc/messages.c \
@@ -323,6 +340,8 @@ SOURCES_libvlc_control = \
        control/dynamic_media_list.c \
        control/event.c \
        control/flat_media_list_view.c \
+       control/hierarchical_media_list_view.c \
+       control/hierarchical_node_media_list_view.c \
        control/media_descriptor.c \
        control/media_instance.c \
        control/media_list.c \
@@ -351,8 +370,9 @@ misc/revision.c:
 ###############################################################################
 # Unit/regression test
 ###############################################################################
-check_PROGRAMS = test_i18n_atof test_url test_utf8
-TESTS = $(check_PROGRAMS)
+check_PROGRAMS = test_i18n_atof test_url test_utf8 test_control
+dist_check_SCRIPTS = check_symbols
+TESTS = $(check_PROGRAMS) $(dist_check_SCRIPTS)
 
 CFLAGS_tests = `$(VLC_CONFIG) --cflags libvlc`
 
@@ -367,6 +387,10 @@ test_utf8_SOURCES = test/utf8.c
 test_utf8_LDADD = libvlc.la
 test_utf8_CFLAGS = $(CFLAGS_tests)
 
+test_control_SOURCES = control/testapi.c
+test_control_LDADD = libvlc-control.la
+test_control_CFLAGS = $(CFLAGS_tests)
+
 FORCE:
        @echo "Generated source cannot be phony. Go away." >&2
        @exit 1