- libarmbox/libmipsbox: simplify Makefile.am

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2021-11-07 00:57:01 +01:00
committed by Thilo Graf
parent 56d8dfec96
commit 02f4d28c66
3 changed files with 10 additions and 23 deletions

View File

@@ -1,8 +1,10 @@
noinst_LTLIBRARIES = libarmbox.la
AM_CPPFLAGS = \
AM_CPPFLAGS = -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS
AM_CPPFLAGS += \
-I$(top_srcdir)/common \
-I$(top_srcdir)/include
-I$(top_srcdir)/include \
-I$(top_srcdir)/libeplayer3/include
AM_CXXFLAGS = -fno-rtti -fno-exceptions -fno-strict-aliasing
@@ -23,11 +25,3 @@ libarmbox_la_SOURCES = \
record.cpp \
hdmi_cec.cpp \
playback_libeplayer3.cpp
AM_CPPFLAGS += \
-I$(top_srcdir)/libeplayer3/include
AM_LDFLAGS += \
-lass
AM_CPPFLAGS += -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS

View File

@@ -42,6 +42,7 @@ endif
if ENABLE_GSTREAMER
libgeneric_la_SOURCES += \
playback_gst.cpp
AM_LDFLAGS += \
-lgstreamer-1.0 \
-lgsttag-1.0 \

View File

@@ -1,8 +1,10 @@
noinst_LTLIBRARIES = libmipsbox.la
AM_CPPFLAGS = \
AM_CPPFLAGS = -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS
AM_CPPFLAGS += \
-I$(top_srcdir)/common \
-I$(top_srcdir)/include
-I$(top_srcdir)/include \
-I$(top_srcdir)/libeplayer3/include
AM_CXXFLAGS = -fno-rtti -fno-exceptions -fno-strict-aliasing
@@ -21,15 +23,5 @@ libmipsbox_la_SOURCES = \
audio.cpp \
init.cpp \
record.cpp \
hdmi_cec.cpp
libmipsbox_la_SOURCES += \
hdmi_cec.cpp \
playback_libeplayer3.cpp
AM_CPPFLAGS += \
-I$(top_srcdir)/libeplayer3/include
AM_LDFLAGS += \
-lass
AM_CPPFLAGS += -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS