[libbluray-devel] build: simplify a bit the build makefile.
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:35:17 2013 -0800| [2a7e0c5d2bacfadd6b07fba4f5bff5d87b510cd6] | committer: Diego Elio Pettenò
build: simplify a bit the build makefile.
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=2a7e0c5d2bacfadd6b07fba4f5bff5d87b510cd6
---
src/Makefile.am | 43 ++++++++++++++++++++-----------------------
1 file changed, 20 insertions(+), 23 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 5a9683f..c4dae1a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -3,27 +3,11 @@ SET_INCLUDES = -I$(top_srcdir) -Ifile -Ilibbluray/bdnav
AM_CFLAGS = $(SET_FEATURES) $(SET_INCLUDES) $(LIBXML2_CFLAGS) $(FT2_CFLAGS)
-SOURCES_bdj = libbluray/bdj/bdj.h \
- libbluray/bdj/bdj_private.h \
- libbluray/bdj/bdj_util.h \
- libbluray/bdj/bdj_util.c \
- libbluray/bdj/bdj.c \
- libbluray/bdj/bdjo_parser.h \
- libbluray/bdj/bdjo_parser.c \
- libbluray/bdj/common.h \
- libbluray/bdj/native/java_awt_BDGraphics.h \
- libbluray/bdj/native/java_awt_BDGraphics.c \
- libbluray/bdj/native/java_awt_BDFontMetrics.h \
- libbluray/bdj/native/java_awt_BDFontMetrics.c \
- libbluray/bdj/native/org_videolan_Libbluray.h \
- libbluray/bdj/native/org_videolan_Libbluray.c \
- libbluray/bdj/native/register_native.h \
- libbluray/bdj/native/register_native.c
-
EXTRA_DIST = libbluray/bdj/build.xml libbluray/bdj/java
lib_LTLIBRARIES=libbluray.la
-libbluray_la_SOURCES=libbluray/bluray.h \
+libbluray_la_SOURCES = \
+ libbluray/bluray.h \
libbluray/bluray.c \
libbluray/bluray_internal.h \
libbluray/register.h \
@@ -103,7 +87,6 @@ pkginclude_HEADERS = \
util/log_control.h
if USING_BDJAVA
-
jardir=$(libdir)/libbluray/
jar_DATA=libbluray.jar
@@ -112,14 +95,28 @@ libbluray.jar:
-Dsrc_awt=:java-$(BDJ_TYPE) \
-Dbootclasspath="$(BDJ_BOOTCLASSPATH)"
-libbluray_la_SOURCES+=$(SOURCES_bdj)
-AM_CFLAGS+=@BDJAVA_CFLAGS@
+libbluray_la_SOURCES += \
+ libbluray/bdj/bdj.h \
+ libbluray/bdj/bdj_private.h \
+ libbluray/bdj/bdj_util.h \
+ libbluray/bdj/bdj_util.c \
+ libbluray/bdj/bdj.c \
+ libbluray/bdj/bdjo_parser.h \
+ libbluray/bdj/bdjo_parser.c \
+ libbluray/bdj/common.h \
+ libbluray/bdj/native/java_awt_BDGraphics.h \
+ libbluray/bdj/native/java_awt_BDGraphics.c \
+ libbluray/bdj/native/java_awt_BDFontMetrics.h \
+ libbluray/bdj/native/java_awt_BDFontMetrics.c \
+ libbluray/bdj/native/org_videolan_Libbluray.h \
+ libbluray/bdj/native/org_videolan_Libbluray.c \
+ libbluray/bdj/native/register_native.h \
+ libbluray/bdj/native/register_native.c
-all-local: libbluray.jar
+AM_CFLAGS += $(BDJAVA_CFLAGS)
clean-local:
ant -f $(top_srcdir)/src/libbluray/bdj/build.xml clean
-
endif
pkgconfigdir = $(libdir)/pkgconfig
More information about the libbluray-devel
mailing list