mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 15:02:58 +02:00
45 lines
747 B
Makefile
45 lines
747 B
Makefile
noinst_LTLIBRARIES = libarmbox.la
|
|
|
|
AM_CPPFLAGS = \
|
|
-I$(top_srcdir)/common \
|
|
-I$(top_srcdir)/include
|
|
|
|
AM_CXXFLAGS = -fno-rtti -fno-exceptions -fno-strict-aliasing
|
|
|
|
AM_LDFLAGS = \
|
|
-lOpenThreads \
|
|
@AVFORMAT_LIBS@ \
|
|
@AVUTIL_LIBS@ \
|
|
@AVCODEC_LIBS@ \
|
|
@SWRESAMPLE_LIBS@ \
|
|
-lpthread -lass -lrt
|
|
|
|
libarmbox_la_SOURCES = \
|
|
hardware_caps.c \
|
|
dmx.cpp \
|
|
video.cpp \
|
|
audio.cpp \
|
|
init.cpp \
|
|
record.cpp
|
|
|
|
if ENABLE_GSTREAMER_10
|
|
libarmbox_la_SOURCES += \
|
|
playback_gst.cpp
|
|
|
|
AM_LDFLAGS += \
|
|
-lgstreamer-1.0 \
|
|
-lgsttag-1.0 \
|
|
-lgstmpegts-1.0
|
|
else
|
|
libarmbox_la_SOURCES += \
|
|
playback_libeplayer3.cpp
|
|
|
|
AM_CPPFLAGS += \
|
|
-I$(top_srcdir)/libeplayer3-arm/include
|
|
|
|
AM_LDFLAGS += \
|
|
-lass
|
|
endif
|
|
|
|
AM_CPPFLAGS += -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS
|