diff options
author | Cristian RodrÃguez <crrodriguez@opensuse.org> | 2012-04-07 19:24:21 -0300 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2012-04-08 09:03:03 +1000 |
commit | 9b7cb22f84bcdfaea83457efcb1ad0b144e9708b (patch) | |
tree | ad9941cb1a6d8ff5b66791890dd89874ceeb09fe /examples | |
parent | 8340ab3bc8f5bb35bb0ecf95ac4fb86ab576de62 (diff) | |
download | flac-9b7cb22f84bcdfaea83457efcb1ad0b144e9708b.tar.gz |
Update and improve autotools build
- INCLUDES is deprecated, and CPPFLAGS is an user-defined
variable, use the proper AM_CPPFLAGS instead
- Remove FLAC__INLINE definition, providing proper
replacement for MSVC compilers.
- Detect if we have C99 's lround and provide a replacement
for windows...
Diffstat (limited to 'examples')
-rw-r--r-- | examples/c/decode/file/Makefile.am | 2 | ||||
-rw-r--r-- | examples/c/encode/file/Makefile.am | 2 | ||||
-rw-r--r-- | examples/cpp/decode/file/Makefile.am | 2 | ||||
-rw-r--r-- | examples/cpp/encode/file/Makefile.am | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/examples/c/decode/file/Makefile.am b/examples/c/decode/file/Makefile.am index 11a48bf6..30f86916 100644 --- a/examples/c/decode/file/Makefile.am +++ b/examples/c/decode/file/Makefile.am @@ -19,7 +19,7 @@ EXTRA_DIST = \ Makefile.lite \ example_c_decode_file.dsp \ example_c_decode_file.vcproj - +AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include noinst_PROGRAMS = example_c_decode_file example_c_decode_file_LDADD = \ $(top_builddir)/src/libFLAC/libFLAC.la \ diff --git a/examples/c/encode/file/Makefile.am b/examples/c/encode/file/Makefile.am index 5ae7a639..0ed519a8 100644 --- a/examples/c/encode/file/Makefile.am +++ b/examples/c/encode/file/Makefile.am @@ -19,7 +19,7 @@ EXTRA_DIST = \ Makefile.lite \ example_c_encode_file.dsp \ example_c_encode_file.vcproj - +AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include noinst_PROGRAMS = example_c_encode_file example_c_encode_file_LDADD = \ $(top_builddir)/src/libFLAC/libFLAC.la \ diff --git a/examples/cpp/decode/file/Makefile.am b/examples/cpp/decode/file/Makefile.am index 7b807e60..f55555b4 100644 --- a/examples/cpp/decode/file/Makefile.am +++ b/examples/cpp/decode/file/Makefile.am @@ -19,7 +19,7 @@ EXTRA_DIST = \ Makefile.lite \ example_cpp_decode_file.dsp \ example_cpp_decode_file.vcproj - +AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include noinst_PROGRAMS = example_cpp_decode_file example_cpp_decode_file_LDADD = \ $(top_builddir)/src/libFLAC++/libFLAC++.la \ diff --git a/examples/cpp/encode/file/Makefile.am b/examples/cpp/encode/file/Makefile.am index 42589f06..d07064f6 100644 --- a/examples/cpp/encode/file/Makefile.am +++ b/examples/cpp/encode/file/Makefile.am @@ -19,7 +19,7 @@ EXTRA_DIST = \ Makefile.lite \ example_cpp_encode_file.dsp \ example_cpp_encode_file.vcproj - +AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include noinst_PROGRAMS = example_cpp_encode_file example_cpp_encode_file_LDADD = \ $(top_builddir)/src/libFLAC++/libFLAC++.la \ |