mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
* 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
43 lines
802 B
Makefile
43 lines
802 B
Makefile
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
lib_LTLIBRARIES = libstb-hal.la
|
|
libstb_hal_la_SOURCES =
|
|
SUBDIRS = common tools
|
|
bin_PROGRAMS = libstb-hal-test
|
|
|
|
libstb_hal_la_LIBADD = \
|
|
common/libcommon.la
|
|
|
|
libstb_hal_test_SOURCES = libtest.cpp
|
|
libstb_hal_test_LDADD = \
|
|
libstb-hal.la \
|
|
-lpthread
|
|
|
|
if BOXTYPE_TRIPLE
|
|
libstb_hal_test_LDADD += \
|
|
@DIRECTFB_LIBS@
|
|
endif
|
|
|
|
# there has to be a better way to do this...
|
|
if BOXTYPE_TRIPLE
|
|
SUBDIRS += libtriple
|
|
libstb_hal_la_LIBADD += \
|
|
libtriple/libtriple.la
|
|
endif
|
|
if BOXTYPE_AZBOX
|
|
SUBDIRS += azbox
|
|
libstb_hal_la_LIBADD += \
|
|
azbox/libazbox.la
|
|
endif
|
|
if BOXTYPE_GENERIC
|
|
SUBDIRS += generic-pc
|
|
libstb_hal_la_LIBADD += \
|
|
generic-pc/libgeneric.la
|
|
endif
|
|
if BOXTYPE_SPARK
|
|
SUBDIRS += libspark libeplayer3
|
|
libstb_hal_la_LIBADD += \
|
|
libspark/libspark.la \
|
|
libeplayer3/libeplayer3.la
|
|
endif
|