mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +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
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
|