]> git.sesse.net Git - vlc/commitdiff
src: remove one level of makefile recursion
authorDiego Biurrun <diego@biurrun.de>
Tue, 4 Sep 2012 08:47:32 +0000 (11:47 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 4 Sep 2012 08:48:13 +0000 (11:48 +0300)
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
src/Makefile.am
src/test/Makefile.am [deleted file]

index afb35ada900dee1c6eb4be838e45d8496eeb7a4f..35b83d873b779c3d738f934b51c3f2dd68de58cc 100644 (file)
@@ -3,7 +3,6 @@
 ###############################################################################
 
 AUTOMAKE_OPTIONS = subdir-objects
-SUBDIRS = . test
 
 NULL =
 EXTRA_DIST = \
@@ -478,6 +477,38 @@ SOURCES_libvlc = \
        $(SOURCES_libvlc_common) \
        $(NULL)
 
+# Unit/regression tests
+#
+check_PROGRAMS = \
+       test_block \
+       test_dictionary \
+       test_i18n_atof \
+       test_md5 \
+       test_timer \
+       test_url \
+       test_utf8 \
+       test_xmlent \
+       test_headers
+
+TESTS = $(check_PROGRAMS)
+
+test_block_SOURCES = test/block_test.c
+test_block_LDADD = $(LDADD) $(LIBS_libvlccore)
+test_block_DEPENDENCIES =
+
+test_dictionary_SOURCES = test/dictionary.c
+test_i18n_atof_SOURCES = test/i18n_atof.c
+test_md5_SOURCES = test/md5.c
+test_timer_SOURCES = test/timer.c
+test_url_SOURCES = test/url.c
+test_utf8_SOURCES = test/utf8.c
+test_xmlent_SOURCES = test/xmlent.c
+test_headers_SOURCES = test/headers.c
+
+AM_LDFLAGS = -no-install
+LDADD = libvlccore.la \
+       ../compat/libcompat.la
+
 ###############################################################################
 # GIT revision
 ###############################################################################
diff --git a/src/test/Makefile.am b/src/test/Makefile.am
deleted file mode 100644 (file)
index 25e5d50..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-# Unit/regression tests
-#
-check_PROGRAMS = \
-       test_block \
-       test_dictionary \
-       test_i18n_atof \
-       test_md5 \
-       test_timer \
-       test_url \
-       test_utf8 \
-       test_xmlent \
-       test_headers
-
-TESTS = $(check_PROGRAMS)
-
-AM_CFLAGS = $(CFLAGS_libvlccore)
-AM_LDFLAGS = -no-install
-LDADD = ../libvlccore.la \
-       ../../compat/libcompat.la
-
-test_block_SOURCES = block_test.c ../misc/block.c
-test_block_LDADD = $(LDADD) $(LIBS_libvlccore)
-test_block_DEPENDENCIES =
-
-test_dictionary_SOURCES = dictionary.c
-test_i18n_atof_SOURCES = i18n_atof.c
-test_md5_SOURCES = md5.c
-test_timer_SOURCES = timer.c
-test_url_SOURCES = url.c
-test_utf8_SOURCES = utf8.c
-test_xmlent_SOURCES = xmlent.c
-test_headers_SOURCES = headers.c