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

Diego Elio Pettenò git at videolan.org
Fri Feb 15 04:07:42 CET 2013


libbluray | branch: flameeyes | Diego Elio Pettenò <flameeyes at flameeyes.eu> | Thu Feb 14 18:36:24 2013 -0800| [8d2cd38eb07f91e6607252e21b370538e7d986b0] | 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=8d2cd38eb07f91e6607252e21b370538e7d986b0
---

 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