deuglify library build

* build intermediate libraries for each subdirectory
* link those libs in main directory instead of single objects
* ugly hack in configure.ac to disable dynamic lib for now


Origin commit data
------------------
Branch: master
Commit: 7c46077051
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-12-01 (Sat, 01 Dec 2012)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2012-12-01 13:29:27 +01:00
parent b6a1b30218
commit d01bf34af3
8 changed files with 33 additions and 96 deletions

View File

@@ -1,11 +1,11 @@
noinst_LIBRARIES = libeplayer3.a
noinst_LTLIBRARIES = libeplayer3.la
CXXFLAGS = -Wall
INCLUDES = \
-I$(srcdir)/include
libeplayer3_a_SOURCES = \
libeplayer3_la_SOURCES = \
container/container.c container/container_ffmpeg.c container/text_srt.c \
container/text_ssa.c container/container_ass.c \
manager/audio.c manager/manager.c manager/subtitle.c manager/video.c \
@@ -28,7 +28,7 @@ AM_CPPFLAGS = -Dattribute_deprecated=''
#libeplayer3_la_LIBADD = -lpthread -lavformat -lavcodec -lavutil -lz -lass -lm -lpng
LIBEPLAYER3_LIBS = libeplayer3.a -lpthread -lavformat -lavcodec -lavutil -lz -lass -lm -lpng
LIBEPLAYER3_LIBS = libeplayer3.la -lpthread -lavformat -lavcodec -lavutil -lz -lass -lm -lpng
bin_PROGRAMS = eplayer3 meta
eplayer3_SOURCES = tools/eplayer2.c
eplayer3_LDADD = $(LIBEPLAYER3_LIBS)