Commit a3fe13c3 authored by Petri Hintukainen's avatar Petri Hintukainen

Merge makefiles

parent a83104c1
include $(top_srcdir)/doxygen-include.am
SUBDIRS = src
ACLOCAL_AMFLAGS = -I m4
DISTCHECK_CONFIGURE_FLAGS = --enable-bdjava
MOSTLYCLEANFILES = $(DX_CLEANFILES)
SET_FEATURES = -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -D_REENTRANT
SET_INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/libbluray -I$(top_builddir)/src/libbluray $(BDJAVA_CFLAGS)
AM_CFLAGS = -std=c99 $(SET_FEATURES) $(SET_INCLUDES) $(LIBXML2_CFLAGS) $(FT2_CFLAGS) $(FONTCONFIG_CFLAGS)
ACLOCAL_AMFLAGS=-I m4
EXTRA_DIST = \
bootstrap \
ChangeLog \
COPYING \
doc \
player_wrappers \
README.txt \
src/libbluray/bdj/build.xml \
src/libbluray/bdj/java \
src/libbluray/bdj/java-j2me \
src/libbluray/bdj/java-j2se
EXTRA_DIST=bootstrap doc COPYING player_wrappers README.txt ChangeLog
lib_LTLIBRARIES=libbluray.la
libbluray_la_SOURCES = \
src/file/dirs.h \
src/file/dl.h \
src/file/file.h \
src/file/file.c \
src/file/filesystem.h \
src/file/filesystem.c \
src/file/mount.h \
src/libbluray/bluray.h \
src/libbluray/bluray.c \
src/libbluray/bluray_internal.h \
src/libbluray/bluray-version.h \
src/libbluray/keys.h \
src/libbluray/player_settings.h \
src/libbluray/register.h \
src/libbluray/register.c \
src/libbluray/bdnav/bdid_parse.h \
src/libbluray/bdnav/bdid_parse.c \
src/libbluray/bdnav/bdparse.h \
src/libbluray/bdnav/clpi_parse.c \
src/libbluray/bdnav/clpi_parse.h \
src/libbluray/bdnav/extdata_parse.h \
src/libbluray/bdnav/extdata_parse.c \
src/libbluray/bdnav/index_parse.h \
src/libbluray/bdnav/index_parse.c \
src/libbluray/bdnav/meta_data.h \
src/libbluray/bdnav/meta_parse.h \
src/libbluray/bdnav/meta_parse.c \
src/libbluray/bdnav/mpls_parse.h \
src/libbluray/bdnav/mpls_parse.c \
src/libbluray/bdnav/navigation.h \
src/libbluray/bdnav/navigation.c \
src/libbluray/bdnav/sound_parse.h \
src/libbluray/bdnav/sound_parse.c \
src/libbluray/bdnav/uo_mask_table.h \
src/libbluray/decoders/graphics_controller.h \
src/libbluray/decoders/graphics_controller.c \
src/libbluray/decoders/graphics_processor.h \
src/libbluray/decoders/graphics_processor.c \
src/libbluray/decoders/hdmv_pids.h \
src/libbluray/decoders/ig.h \
src/libbluray/decoders/ig_decode.h \
src/libbluray/decoders/ig_decode.c \
src/libbluray/decoders/m2ts_demux.h \
src/libbluray/decoders/m2ts_demux.c \
src/libbluray/decoders/m2ts_filter.h \
src/libbluray/decoders/m2ts_filter.c \
src/libbluray/decoders/overlay.h \
src/libbluray/decoders/pg.h \
src/libbluray/decoders/pg_decode.h \
src/libbluray/decoders/pg_decode.c \
src/libbluray/decoders/pes_buffer.h \
src/libbluray/decoders/pes_buffer.c \
src/libbluray/decoders/rle.h \
src/libbluray/decoders/rle.c \
src/libbluray/decoders/textst.h \
src/libbluray/decoders/textst_decode.h \
src/libbluray/decoders/textst_decode.c \
src/libbluray/decoders/textst_render.h \
src/libbluray/decoders/textst_render.c \
src/libbluray/disc/aacs.h \
src/libbluray/disc/aacs.c \
src/libbluray/disc/bdplus.h \
src/libbluray/disc/bdplus.c \
src/libbluray/disc/dec.h \
src/libbluray/disc/dec.c \
src/libbluray/disc/disc.h \
src/libbluray/disc/disc.c \
src/libbluray/disc/enc_info.h \
src/libbluray/hdmv/hdmv_insn.h \
src/libbluray/hdmv/hdmv_vm.h \
src/libbluray/hdmv/hdmv_vm.c \
src/libbluray/hdmv/mobj_data.h \
src/libbluray/hdmv/mobj_parse.h \
src/libbluray/hdmv/mobj_parse.c \
src/libbluray/hdmv/mobj_print.h \
src/libbluray/hdmv/mobj_print.c \
src/util/array.h \
src/util/array.c \
src/util/attributes.h \
src/util/bits.h \
src/util/bits.c \
src/util/logging.h \
src/util/logging.c \
src/util/log_control.h \
src/util/macro.h \
src/util/mutex.h \
src/util/mutex.c \
src/util/refcnt.h \
src/util/refcnt.c \
src/util/strutl.h \
src/util/strutl.c \
src/util/time.h
noinst_HEADERS=\
if HAVE_DARWIN
libbluray_la_SOURCES+= \
src/file/dir_posix.c \
src/file/dirs_darwin.c \
src/file/dl_posix.c \
src/file/file_posix.c \
src/file/mount_darwin.c
else
if HAVE_WIN32
libbluray_la_SOURCES+= \
src/file/dir_win32.c \
src/file/dirs_win32.c \
src/file/dl_win32.c \
src/file/file_win32.c \
src/file/mount.c
else
libbluray_la_SOURCES+= \
src/file/dir_posix.c \
src/file/dirs_xdg.c \
src/file/dl_posix.c \
src/file/file_posix.c \
src/file/mount.c
endif
endif
libbluray_la_LDFLAGS= -version-info $(LT_VERSION_INFO)
libbluray_la_LIBADD= $(LIBXML2_LIBS) $(FT2_LIBS) $(FONTCONFIG_LIBS)
noinst_HEADERS = \
jni/jni.h \
jni/linux/jni_md.h \
jni/win32/jni_md.h \
jni/darwin/jni_md.h
MOSTLYCLEANFILES = $(DX_CLEANFILES)
pkginclude_HEADERS = \
src/file/filesystem.h \
src/libbluray/bluray.h \
src/libbluray/bluray-version.h \
src/libbluray/keys.h \
src/libbluray/player_settings.h \
src/libbluray/bdnav/clpi_data.h \
src/libbluray/bdnav/meta_data.h \
src/libbluray/decoders/overlay.h \
src/util/log_control.h
DISTCHECK_CONFIGURE_FLAGS = --enable-bdjava
if USING_BDJAVA
jardir=$(datadir)/java/
jar_DATA=$(top_builddir)/.libs/libbluray-$(BDJ_TYPE)-$(VERSION).jar
$(top_builddir)/.libs/libbluray-$(BDJ_TYPE)-$(VERSION).jar: all-local
libbluray_la_SOURCES += \
src/libbluray/bdj/bdj.h \
src/libbluray/bdj/bdj.c \
src/libbluray/bdj/bdjo_data.h \
src/libbluray/bdj/bdjo_parse.h \
src/libbluray/bdj/bdjo_parse.c \
src/libbluray/bdj/native/bdjo.h \
src/libbluray/bdj/native/bdjo.c \
src/libbluray/bdj/native/java_awt_BDFontMetrics.h \
src/libbluray/bdj/native/java_awt_BDFontMetrics.c \
src/libbluray/bdj/native/java_awt_BDGraphics.h \
src/libbluray/bdj/native/java_awt_BDGraphics.c \
src/libbluray/bdj/native/org_videolan_Libbluray.h \
src/libbluray/bdj/native/org_videolan_Libbluray.c \
src/libbluray/bdj/native/org_videolan_Logger.h \
src/libbluray/bdj/native/org_videolan_Logger.c \
src/libbluray/bdj/native/register_native.h \
src/libbluray/bdj/native/register_native.c \
src/libbluray/bdj/native/util.h \
src/libbluray/bdj/native/util.c
AM_CFLAGS += $(BDJAVA_CFLAGS)
all-local:
ant -f $(top_srcdir)/src/libbluray/bdj/build.xml \
-Dbuild='$(abs_builddir)/src/libbluray/bdj/build' \
-Ddist='$(abs_builddir)/.libs' \
-Dsrc_awt=:java-$(BDJ_TYPE) \
-Dbootclasspath="$(BDJ_BOOTCLASSPATH)" \
-Dversion='$(BDJ_TYPE)-$(VERSION)'
clean-local:
ant -f $(top_srcdir)/src/libbluray/bdj/build.xml \
-Dbuild='$(abs_builddir)/src/libbluray/bdj/build' \
-Ddist='$(abs_builddir)/.libs' \
-Dversion='$(BDJ_TYPE)-$(VERSION)' \
clean
endif
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = src/libbluray.pc
#
# examples
#
if USING_EXAMPLES
noinst_PROGRAMS = \
bdjo_dump \
bdsplice \
clpi_dump \
hdmv_test \
index_dump \
libbluray_test \
list_titles \
mobj_dump \
mpls_dump \
sound_dump
if USING_BDJAVA
noinst_PROGRAMS += \
bdj_test
endif
bin_PROGRAMS = \
bd_info
bd_info_SOURCES = src/examples/bd_info.c
bd_info_LDADD = libbluray.la
bdsplice_SOURCES = src/examples/bdsplice.c
bdsplice_LDADD = libbluray.la
bdj_test_SOURCES = src/examples/bdj_test.c
bdj_test_LDADD = libbluray.la
bdjo_dump_SOURCES = src/examples/bdjo_dump.c
bdjo_dump_LDADD = libbluray.la
clpi_dump_CFLAGS = $(AM_CFLAGS)
clpi_dump_SOURCES = \
src/examples/clpi_dump.c \
src/examples/util.c \
src/examples/util.h
clpi_dump_LDADD = libbluray.la
hdmv_test_SOURCES = src/examples/hdmv_test.c
hdmv_test_LDADD = libbluray.la
index_dump_SOURCES = src/examples/index_dump.c
index_dump_LDADD = libbluray.la
libbluray_test_SOURCES = src/examples/libbluray_test.c
libbluray_test_LDADD = libbluray.la
list_titles_SOURCES = src/examples/list_titles.c
list_titles_LDADD = libbluray.la
mobj_dump_CFLAGS = $(AM_CFLAGS)
mobj_dump_SOURCES = src/examples/mobj_dump.c \
src/libbluray/hdmv/mobj_print.c
mobj_dump_LDADD = libbluray.la
mpls_dump_CFLAGS = $(AM_CFLAGS)
mpls_dump_SOURCES = \
src/examples/mpls_dump.c \
src/examples/util.c \
src/examples/util.h
mpls_dump_LDADD = libbluray.la
sound_dump_SOURCES = src/examples/sound_dump.c
sound_dump_LDADD = libbluray.la
endif
......@@ -254,7 +254,7 @@ AC_SUBST(LT_VERSION_INFO)
dnl generate output files
AC_SUBST(BDJAVA_CFLAGS)
AC_CONFIG_FILES([Makefile src/Makefile src/libbluray.pc src/libbluray/bluray-version.h])
AC_CONFIG_FILES([Makefile src/libbluray.pc src/libbluray/bluray-version.h])
AC_OUTPUT
......
SET_FEATURES = -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -D_REENTRANT
SET_INCLUDES = -I$(top_srcdir) -Ifile -Ilibbluray -Ilibbluray/bdnav -I$(top_srcdir)/src/libbluray $(BDJAVA_CFLAGS)
AM_CFLAGS = -std=c99 $(SET_FEATURES) $(SET_INCLUDES) $(LIBXML2_CFLAGS) $(FT2_CFLAGS) $(FONTCONFIG_CFLAGS)
EXTRA_DIST = \
libbluray/bdj/build.xml \
libbluray/bdj/java \
libbluray/bdj/java-j2me \
libbluray/bdj/java-j2se
lib_LTLIBRARIES=libbluray.la
libbluray_la_SOURCES = \
libbluray/bluray.h \
libbluray/bluray.c \
libbluray/bluray_internal.h \
libbluray/register.h \
libbluray/register.c \
libbluray/keys.h \
libbluray/bdnav/bdparse.h \
libbluray/bdnav/uo_mask_table.h \
libbluray/bdnav/navigation.h \
libbluray/bdnav/index_parse.c \
libbluray/bdnav/navigation.c \
libbluray/bdnav/sound_parse.c \
libbluray/bdnav/sound_parse.h \
libbluray/bdnav/mpls_parse.h \
libbluray/bdnav/clpi_parse.c \
libbluray/bdnav/mpls_parse.c \
libbluray/bdnav/index_parse.h \
libbluray/bdnav/clpi_parse.h \
libbluray/bdnav/meta_data.h \
libbluray/bdnav/meta_parse.c \
libbluray/bdnav/meta_parse.h \
libbluray/bdnav/extdata_parse.h \
libbluray/bdnav/extdata_parse.c \
libbluray/bdnav/bdid_parse.h \
libbluray/bdnav/bdid_parse.c \
libbluray/decoders/pes_buffer.h \
libbluray/decoders/pes_buffer.c \
libbluray/decoders/m2ts_demux.h \
libbluray/decoders/m2ts_demux.c \
libbluray/decoders/m2ts_filter.h \
libbluray/decoders/m2ts_filter.c \
libbluray/decoders/overlay.h \
libbluray/decoders/pg.h \
libbluray/decoders/pg_decode.h \
libbluray/decoders/pg_decode.c \
libbluray/decoders/ig.h \
libbluray/decoders/ig_decode.h \
libbluray/decoders/ig_decode.c \
libbluray/decoders/hdmv_pids.h \
libbluray/decoders/rle.h \
libbluray/decoders/rle.c \
libbluray/decoders/textst.h \
libbluray/decoders/textst_decode.h \
libbluray/decoders/textst_decode.c \
libbluray/decoders/textst_render.h \
libbluray/decoders/textst_render.c \
libbluray/decoders/graphics_processor.h \
libbluray/decoders/graphics_processor.c \
libbluray/decoders/graphics_controller.h \
libbluray/decoders/graphics_controller.c \
libbluray/disc/aacs.h \
libbluray/disc/aacs.c \
libbluray/disc/bdplus.h \
libbluray/disc/bdplus.c \
libbluray/disc/disc.h \
libbluray/disc/disc.c \
libbluray/disc/dec.h \
libbluray/disc/dec.c \
libbluray/disc/enc_info.h \
libbluray/hdmv/hdmv_insn.h \
libbluray/hdmv/hdmv_vm.h \
libbluray/hdmv/hdmv_vm.c \
libbluray/hdmv/mobj_data.h \
libbluray/hdmv/mobj_parse.h \
libbluray/hdmv/mobj_parse.c \
libbluray/hdmv/mobj_print.h \
libbluray/hdmv/mobj_print.c \
file/file.h \
file/file.c \
file/dirs.h \
file/dl.h \
file/mount.h \
file/filesystem.h \
file/filesystem.c \
util/array.h \
util/array.c \
util/attributes.h \
util/refcnt.h \
util/refcnt.c \
util/strutl.c \
util/strutl.h \
util/macro.h \
util/mutex.h \
util/mutex.c \
util/time.h \
util/logging.c \
util/log_control.h \
util/bits.h \
util/bits.c \
util/logging.h
if HAVE_DARWIN
libbluray_la_SOURCES+= \
file/file_posix.c \
file/dir_posix.c \
file/dl_posix.c \
file/dirs_darwin.c \
file/mount_darwin.c
else
if HAVE_WIN32
libbluray_la_SOURCES+= \
file/file_win32.c \
file/dir_win32.c \
file/dl_win32.c \
file/dirs_win32.c \
file/mount.c
else
libbluray_la_SOURCES+= \
file/file_posix.c \
file/dir_posix.c \
file/dl_posix.c \
file/dirs_xdg.c \
file/mount.c
endif
endif
libbluray_la_LDFLAGS= -version-info $(LT_VERSION_INFO)
libbluray_la_LIBADD= $(LIBXML2_LIBS) $(FT2_LIBS) $(FONTCONFIG_LIBS)
pkginclude_HEADERS = \
file/filesystem.h \
libbluray/bdnav/clpi_data.h \
libbluray/bdnav/meta_data.h \
libbluray/bluray-version.h \
libbluray/bluray.h \
libbluray/decoders/overlay.h \
libbluray/keys.h \
libbluray/player_settings.h \
util/log_control.h
if USING_BDJAVA
jardir=$(datadir)/java/
jar_DATA=$(top_builddir)/src/.libs/libbluray-$(BDJ_TYPE)-$(VERSION).jar
$(top_builddir)/src/.libs/libbluray-$(BDJ_TYPE)-$(VERSION).jar: all-local
libbluray_la_SOURCES += \
libbluray/bdj/bdj.h \
libbluray/bdj/bdj.c \
libbluray/bdj/bdjo_data.h \
libbluray/bdj/bdjo_parse.h \
libbluray/bdj/bdjo_parse.c \
libbluray/bdj/native/bdjo.h \
libbluray/bdj/native/bdjo.c \
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/org_videolan_Logger.h \
libbluray/bdj/native/org_videolan_Logger.c \
libbluray/bdj/native/register_native.h \
libbluray/bdj/native/register_native.c \
libbluray/bdj/native/util.h \
libbluray/bdj/native/util.c
AM_CFLAGS += $(BDJAVA_CFLAGS)
all-local:
ant -f $(top_srcdir)/src/libbluray/bdj/build.xml \
-Dbuild='$(abs_builddir)/libbluray/bdj/build' \
-Ddist='$(abs_builddir)/.libs' \
-Dsrc_awt=:java-$(BDJ_TYPE) \
-Dbootclasspath="$(BDJ_BOOTCLASSPATH)" \
-Dversion='$(BDJ_TYPE)-$(VERSION)'
clean-local:
ant -f $(top_srcdir)/src/libbluray/bdj/build.xml \
-Dbuild='$(abs_builddir)/libbluray/bdj/build' \
-Ddist='$(abs_builddir)/.libs' \
-Dversion='$(BDJ_TYPE)-$(VERSION)' \
clean
endif
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libbluray.pc
#
# examples
#
#SET_FEATURES = -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -D_REENTRANT
#SET_INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src -I$(top_srcdir)/src/file -I$(top_srcdir)/src/libbluray/bdnav
if USING_EXAMPLES
#AM_CFLAGS = -std=c99 $(SET_FEATURES) $(SET_INCLUDES)
noinst_PROGRAMS = \
bdjo_dump \
bdsplice \
clpi_dump \
hdmv_test \
index_dump \
libbluray_test \
list_titles \
mobj_dump \
mpls_dump \
sound_dump
if USING_BDJAVA
noinst_PROGRAMS += \
bdj_test
endif
bin_PROGRAMS = \
bd_info
bdsplice_SOURCES = examples/bdsplice.c
bdsplice_LDADD = libbluray.la
mpls_dump_CFLAGS = $(AM_CFLAGS)
mpls_dump_SOURCES = \
examples/mpls_dump.c \
examples/util.c \
examples/util.h
mpls_dump_LDADD = libbluray.la
clpi_dump_CFLAGS = $(AM_CFLAGS)
clpi_dump_SOURCES = \
examples/clpi_dump.c \
examples/util.c \
examples/util.h
clpi_dump_LDADD = libbluray.la
index_dump_SOURCES = examples/index_dump.c
index_dump_LDADD = libbluray.la
mobj_dump_CFLAGS = $(AM_CFLAGS)
mobj_dump_SOURCES = examples/mobj_dump.c \
libbluray/hdmv/mobj_print.c
mobj_dump_LDADD = libbluray.la
bdjo_dump_SOURCES = examples/bdjo_dump.c
bdjo_dump_LDADD = libbluray.la
sound_dump_SOURCES = examples/sound_dump.c
sound_dump_LDADD = libbluray.la
libbluray_test_SOURCES = examples/libbluray_test.c
libbluray_test_LDADD = libbluray.la
hdmv_test_SOURCES = examples/hdmv_test.c
hdmv_test_LDADD = libbluray.la
list_titles_SOURCES = examples/list_titles.c
list_titles_LDADD = libbluray.la
bd_info_SOURCES = examples/bd_info.c
bd_info_LDADD = libbluray.la
bdj_test_SOURCES = examples/bdj_test.c
bdj_test_LDADD = libbluray.la
endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment