2018-01-04 22:59:07 +01:00
|
|
|
## vgmstream autotools script
|
2017-05-01 11:00:56 +02:00
|
|
|
|
2021-08-26 22:16:31 +02:00
|
|
|
#noinst_LTLIBRARIES = libvgmstream.la
|
2017-12-26 04:18:18 +01:00
|
|
|
lib_LTLIBRARIES = libvgmstream.la
|
2008-05-18 19:17:49 +02:00
|
|
|
|
2017-12-26 04:18:18 +01:00
|
|
|
AM_CFLAGS = -I$(top_builddir) -I$(top_srcdir) -I$(top_srcdir)/ext_includes/
|
2018-01-04 22:59:07 +01:00
|
|
|
AM_MAKEFLAGS=-f Makefile.autotools
|
2008-05-18 19:17:49 +02:00
|
|
|
|
2021-08-26 22:16:31 +02:00
|
|
|
SUBDIRS =
|
2008-05-18 19:17:49 +02:00
|
|
|
|
2017-05-01 13:33:45 +02:00
|
|
|
# sources/headers are updated automatically by ./bootstrap script (not all headers are needed though)
|
2021-08-26 22:16:31 +02:00
|
|
|
libvgmstream_la_LDFLAGS =
|
2017-05-01 13:33:45 +02:00
|
|
|
libvgmstream_la_SOURCES = (auto-updated)
|
2018-12-04 00:00:22 +01:00
|
|
|
libvgmstream_la_LIBADD = -lm
|
2017-05-01 13:33:45 +02:00
|
|
|
EXTRA_DIST = (auto-updated)
|
2018-08-20 19:21:51 +02:00
|
|
|
|
2021-08-26 22:16:31 +02:00
|
|
|
AM_CFLAGS += -DVGM_LOG_OUTPUT
|
|
|
|
|
2020-04-05 22:38:35 +02:00
|
|
|
AM_CFLAGS += -DVGM_USE_G7221
|
|
|
|
|
2018-08-20 19:21:51 +02:00
|
|
|
if HAVE_VORBIS
|
|
|
|
if HAVE_VORBISFILE
|
|
|
|
AM_CFLAGS += -DVGM_USE_VORBIS
|
|
|
|
libvgmstream_la_LIBADD += $(VORBISFILE_LIBS) $(VORBIS_LIBS)
|
|
|
|
endif
|
|
|
|
endif
|
2020-08-01 10:31:00 +02:00
|
|
|
|
2018-08-20 19:21:51 +02:00
|
|
|
if HAVE_LIBMPG123
|
|
|
|
AM_CFLAGS += -DVGM_USE_MPEG
|
|
|
|
libvgmstream_la_LIBADD += $(MPG123_LIBS)
|
|
|
|
endif
|
2020-08-01 10:31:00 +02:00
|
|
|
|
2021-01-23 15:51:27 +01:00
|
|
|
if HAVE_LIBSPEEX
|
|
|
|
AM_CFLAGS += -DVGM_USE_SPEEX
|
|
|
|
libvgmstream_la_LIBADD += $(SPEEX_LIBS)
|
|
|
|
endif
|
|
|
|
|
2020-08-01 10:31:00 +02:00
|
|
|
if HAVE_FFMPEG
|
|
|
|
AM_CFLAGS += -DVGM_USE_FFMPEG
|
|
|
|
libvgmstream_la_LIBADD += $(FFMPEG_LIBS)
|
|
|
|
endif
|