[libbluray-devel] build: make example build as EXTRA_PROGRAMS instead of noinst_PROGRAMS

Diego Elio Pettenò git at videolan.org
Mon Feb 25 07:51:36 CET 2013


libbluray | branch: flameeyes | Diego Elio Pettenò <flameeyes at flameeyes.eu> | Thu Feb 14 18:36:24 2013 -0800| [32983d89654bb2559dc8fcffe401e7227b2ad3a3] | committer: Diego Elio Pettenò

build: make example build as EXTRA_PROGRAMS instead of noinst_PROGRAMS

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=32983d89654bb2559dc8fcffe401e7227b2ad3a3
---

 src/examples/Makefile.am |   11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/src/examples/Makefile.am b/src/examples/Makefile.am
index a4cebe2..9057187 100644
--- a/src/examples/Makefile.am
+++ b/src/examples/Makefile.am
@@ -3,11 +3,8 @@ SET_INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src -I$(top_srcdir)/src/file -I$(
 
 AM_CFLAGS = $(SET_FEATURES) $(SET_INCLUDES)
 
-if USING_EXAMPLES
-
-noinst_PROGRAMS=bdsplice mpls_dump clpi_dump index_dump mobj_dump sound_dump \
-    libbluray_test list_titles hdmv_test
-bin_PROGRAMS=bd_info
+EXTRA_PROGRAMS=bdsplice mpls_dump clpi_dump index_dump mobj_dump sound_dump \
+    libbluray_test list_titles hdmv_test bd_info
 
 BLURAY_LIB = $(top_builddir)/src/libbluray.la
 
@@ -83,9 +80,7 @@ bd_info_SOURCES = \
 bd_info_LDADD = $(BLURAY_LIB)
 
 if USING_BDJAVA
-noinst_PROGRAMS+= bdj_test
+EXTRA_PROGRAMS+= bdj_test
 bdj_test_SOURCES = bdj_test.c
 bdj_test_LDADD = $(BLURAY_LIB)
 endif
-
-endif



More information about the libbluray-devel mailing list