]> git.sesse.net Git - vlc/blobdiff - src/Makefile.am
Revert "Increased version-info after modification in 1.0 branch."
[vlc] / src / Makefile.am
index bd710be0cbfdce6f2cc3b46ec97ec4f1d648c9b3..b0265991cef3f1995f239d2ad6de407a9f7bbc73 100644 (file)
@@ -29,7 +29,6 @@ pkginclude_HEADERS = \
        ../include/vlc/deprecated.h \
        ../include/vlc/libvlc.h \
        ../include/vlc/libvlc_events.h \
-       ../include/vlc/libvlc_media_list.h \
        ../include/vlc/libvlc_media.h \
        ../include/vlc/libvlc_media_discoverer.h \
        ../include/vlc/libvlc_media_library.h \
@@ -67,6 +66,7 @@ pluginsinclude_HEADERS = \
        ../include/vlc_filter.h \
        ../include/vlc_fourcc.h \
        ../include/vlc_gcrypt.h \
+       ../include/vlc_http.h \
        ../include/vlc_httpd.h \
        ../include/vlc_image.h \
        ../include/vlc_input.h \
@@ -93,6 +93,7 @@ pluginsinclude_HEADERS = \
        ../include/vlc_url.h \
        ../include/vlc_variables.h \
        ../include/vlc_vlm.h \
+       ../include/vlc_video_splitter.h \
        ../include/vlc_vout.h \
        ../include/vlc_window.h \
        ../include/vlc_xml.h \
@@ -121,14 +122,17 @@ noinst_HEADERS = \
        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"
+       sed 's/"/\\"/g;s/^.*$$/\"&\\n\"/' "$(top_srcdir)/COPYING" >> "$@.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"
+       sed '/\$$Id:/d;s/"/\\"/g;s/<.*.> //;s/^.*$$/\"&\\n\"/' \
+               "$(top_srcdir)/THANKS" >> "$@.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"
+       sed -n '/^N: /{;s///;s/"/\\"/g;s/^.*$$/\"&\\n\"/;p;}' \
+               "$(top_srcdir)/AUTHORS" >> "$@.tmp"
        echo ";" >> "$@.tmp"
+
        mv -f -- "$@.tmp" "$@"
 
 ###############################################################################
@@ -409,7 +413,9 @@ SOURCES_libvlc_common = \
        misc/xml.c \
        misc/devices.c \
        extras/libc.c \
+       misc/filter.c \
        misc/filter_chain.c \
+       misc/http_auth.c \
        $(NULL)
 
 SOURCES_libvlc_httpd = \
@@ -479,7 +485,7 @@ CLEANFILES += revision.txt revision.c
 
 revision.c: revision.txt
        rm -f -- revision.c
-       echo -n "const char psz_vlc_changeset[] = \"$$(cat revision.txt)\";" \
+       echo "const char psz_vlc_changeset[] = \"$$(cat revision.txt)\";" \
                > revision.c
 
 revision.txt:
@@ -500,6 +506,22 @@ stamp-revision:
 dist_check_SCRIPTS = check_symbols check_headers
 TESTS = check_symbols
 
+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
+
 check-local:
        for h in `echo $(pkginclude_HEADERS) | sed -e s,\.\./include/,,g`; \
        do \