mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-18 07:44:43 +01:00
bc45567208
Makefile.audacious.am: * Add test/ subdirectory to the Autotools build * Add version.h to EXTRA_DIST so that "make distcheck" passes audacious/Makefile.audacious.am: * Install Audacious plug-in into the appropriate directory * No need to include CXXFLAGS in AM_CXXFLAGS, as the former is already included in the compiler invocation configure.ac: * Need to link to libvorbis in order for static-library builds (--disable-shared) to link correctly * Only add GCC-specific compiler flags if GCC is detected * Tightened up the GCC warning flags * Don't set LIBS, so that different targets can link against different libraries * Generate makefile for test/ subdirectory src/Makefile.audacious.am: * Install libvgmstream into the library directory * Removed GCC-specific flag from AM_CFLAGS * No need to include CFLAGS in AM_CFLAGS, as the former is already included in the compiler invocation * Add libvgmstream dependencies via LIBADD instead of global LIBS var test/Makefile.audacious.am: * New makefile template for test/ subdirectory unbootstrap: * Also remove "compile" script from bootstrap
16 lines
707 B
Makefile
16 lines
707 B
Makefile
## audacious-vgmstream automake script
|
|
|
|
#inputplugindir = $(libdir)/audacious/$(INPUT_PLUGIN_DIR)
|
|
inputplugindir = $(plugindir)/$(INPUT_PLUGIN_DIR)
|
|
|
|
inputplugin_LTLIBRARIES = libvgmstream.la
|
|
|
|
AM_MAKEFLAGS=-f Makefile.audacious
|
|
AM_CXXFLAGS = -DVERSION=\"VGMSTREAM_VERSION\" -Wall -std=c++11 -fpermissive -I$(top_builddir) -I$(top_srcdir) -I$(top_srcdir)/ext_includes/ $(AUDACIOUS_CFLAGS) $(GTK_CFLAGS)
|
|
AM_LIBS =
|
|
|
|
# sources/headers are updated automatically by ./bootstrap script (not all headers are needed though)
|
|
libvgmstream_la_LDFLAGS = -no-undefined -module -avoid-version -export-symbols-regex get_plugin_info ../src/libvgmstream.la
|
|
libvgmstream_la_SOURCES = (auto-updated)
|
|
EXTRA_DIST = (auto-updated)
|