modernize configure.ac and Makefile.am

autoconf-1.13 has new warnings, silence them by updating
the buildsystem
This commit is contained in:
Stefan Seyfried
2013-06-16 22:16:12 +02:00
parent 70a2f5bca0
commit 9338fc6d1f
6 changed files with 17 additions and 17 deletions

View File

@@ -1,8 +1,8 @@
INCLUDES = \
-I$(top_srcdir)/common
noinst_LTLIBRARIES = libazbox.la
AM_CPPFLAGS = \
-I$(top_srcdir)/common
AM_CXXFLAGS = -fno-rtti -fno-exceptions -fno-strict-aliasing
AM_LDFLAGS = -lpthread

View File

@@ -1,5 +1,5 @@
AC_INIT(libstb-hal,0.1.1)
AM_INIT_AUTOMAKE(libstb-hal,0.1.1)
AC_INIT([libstb-hal], [0.1.1])
AM_INIT_AUTOMAKE
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
AC_CONFIG_MACRO_DIR([m4])
AC_GNU_SOURCE

View File

@@ -1,9 +1,9 @@
INCLUDES = \
-I$(top_srcdir)/common
noinst_LTLIBRARIES = libgeneric.la
AM_CPPFLAGS = -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS
AM_CPPFLAGS += \
-I$(top_srcdir)/common
AM_CXXFLAGS = -fno-rtti -fno-exceptions -fno-strict-aliasing
AM_LDFLAGS = \

View File

@@ -2,7 +2,7 @@ noinst_LTLIBRARIES = libeplayer3.la
CXXFLAGS = -Wall
INCLUDES = \
AM_CPPFLAGS = \
-I$(srcdir)/include
libeplayer3_la_SOURCES = \
@@ -24,7 +24,7 @@ AM_CFLAGS += \
-Wno-unused -Wno-unused-parameter -Wno-unused-function -Wno-unused-variable \
-Wno-sign-compare -Wno-missing-field-initializers
# silence ffmpeg deprecation warnings
AM_CPPFLAGS = -Dattribute_deprecated=''
AM_CPPFLAGS += -Dattribute_deprecated=''
#libeplayer3_la_LIBADD = -lpthread -lavformat -lavcodec -lavutil -lz -lass -lm -lpng

View File

@@ -1,9 +1,9 @@
INCLUDES = \
noinst_LTLIBRARIES = libspark.la
AM_CPPFLAGS = \
-I$(top_srcdir)/common \
-I$(top_srcdir)/libeplayer3/include
noinst_LTLIBRARIES = libspark.la
AM_CXXFLAGS = -fno-rtti -fno-exceptions -fno-strict-aliasing
AM_LDFLAGS = -lpthread -lass
@@ -19,4 +19,4 @@ libspark_la_SOURCES = \
pwrmngr.cpp \
record.cpp
AM_CPPFLAGS = -DF_INTERRUPTS=20000 -DIRMP_EMBED -DLIRC_IRMP
AM_CPPFLAGS += -DF_INTERRUPTS=20000 -DIRMP_EMBED -DLIRC_IRMP

View File

@@ -1,9 +1,9 @@
INCLUDES = \
noinst_LTLIBRARIES = libtriple.la
AM_CPPFLAGS = \
-I$(top_srcdir)/common \
@DIRECTFB_CFLAGS@
noinst_LTLIBRARIES = libtriple.la
AM_CXXFLAGS = -fno-rtti -fno-exceptions -fno-strict-aliasing
AM_LDFLAGS = \
@DIRECTFB_LIBS@