diff options
Diffstat (limited to 'plugins')
28 files changed, 264 insertions, 22 deletions
diff --git a/plugins/adplug/Makefile.am b/plugins/adplug/Makefile.am index e35d4107..0d4e2a5d 100644 --- a/plugins/adplug/Makefile.am +++ b/plugins/adplug/Makefile.am @@ -1,3 +1,4 @@ +if HAVE_ADPLUG adplugpath=@top_srcdir@/plugins/adplug adlibdir = $(libdir)/$(PACKAGE) @@ -133,5 +134,4 @@ adplug_la_SOURCES = adplug-db.cpp\ adplug/xsm.h adplug_la_LDFLAGS = -module - - +endif diff --git a/plugins/alsa/Makefile.am b/plugins/alsa/Makefile.am index 179f8793..265c9b50 100644 --- a/plugins/alsa/Makefile.am +++ b/plugins/alsa/Makefile.am @@ -1,3 +1,4 @@ +if HAVE_ALSA alsadir = $(libdir)/$(PACKAGE) pkglib_LTLIBRARIES = alsa.la alsa_la_SOURCES = alsa.c @@ -5,3 +6,4 @@ alsa_la_LDFLAGS = -module alsa_la_LIBADD = $(LDADD) $(ALSA_DEPS_LIBS) AM_CFLAGS = $(CFLAGS) -std=c99 $(ALSA_DEPS_CFLAGS) +endif diff --git a/plugins/artwork/Makefile.am b/plugins/artwork/Makefile.am index de137844..403a30e2 100644 --- a/plugins/artwork/Makefile.am +++ b/plugins/artwork/Makefile.am @@ -1,8 +1,10 @@ +if HAVE_ARTWORK artworkdir = $(libdir)/$(PACKAGE) pkglib_LTLIBRARIES = artwork.la -artwork_la_SOURCES = artwork.h albumartorg.c artwork.c lastfm.c +artwork_la_SOURCES = artwork.c artwork.h albumartorg.c albumartorg.h lastfm.c lastfm.h artwork_la_LDFLAGS = -module artwork_la_LIBADD = $(LDADD) $(ARTWORK_DEPS_LIBS) $(CURL_LIBS) AM_CFLAGS = -std=c99 $(ARTWORK_DEPS_CFLAGS) +endif diff --git a/plugins/cdda/Makefile.am b/plugins/cdda/Makefile.am index 48e4a8d1..875cf9ae 100644 --- a/plugins/cdda/Makefile.am +++ b/plugins/cdda/Makefile.am @@ -1,3 +1,4 @@ +if HAVE_CDDA cddadir = $(libdir)/$(PACKAGE) pkglib_LTLIBRARIES = cdda.la cdda_la_SOURCES = cdda.c @@ -5,3 +6,4 @@ cdda_la_LDFLAGS = -module cdda_la_LIBADD = $(LDADD) $(CDDA_LIBS) AM_CFLAGS = $(CFLAGS) -std=c99 +endif diff --git a/plugins/dumb/Makefile.am b/plugins/dumb/Makefile.am index 5beff7a9..776fb3e7 100644 --- a/plugins/dumb/Makefile.am +++ b/plugins/dumb/Makefile.am @@ -1,3 +1,4 @@ +if HAVE_DUMB dumbpath=@top_srcdir@/plugins/dumb/dumb-kode54 EXTRA_DIST = $(dumbpath)/readme.txt $(dumbpath)/ChangeLog $(dumbpath)/licence.txt $(dumbpath)/release.txt $(dumbpath)/todo.txt @@ -103,4 +104,4 @@ dumb-kode54/src/helpers/resample.inc\ dumb-kode54/src/helpers/resamp2.inc\ dumb-kode54/src/helpers/resamp3.inc\ cdumb.c - +endif diff --git a/plugins/dumb/cdumb.c b/plugins/dumb/cdumb.c index d60c7397..92e27437 100644 --- a/plugins/dumb/cdumb.c +++ b/plugins/dumb/cdumb.c @@ -20,7 +20,7 @@ #include <string.h> #include "dumb.h" #include "internal/it.h" -#include "deadbeef.h" +#include "../../deadbeef.h" //#define trace(...) { fprintf(stderr, __VA_ARGS__); } #define trace(fmt,...) diff --git a/plugins/ffap/Makefile.am b/plugins/ffap/Makefile.am index cc43e294..a3671fbe 100644 --- a/plugins/ffap/Makefile.am +++ b/plugins/ffap/Makefile.am @@ -1,6 +1,8 @@ +if HAVE_FFAP ffapdir = $(libdir)/$(PACKAGE) pkglib_LTLIBRARIES = ffap.la ffap_la_SOURCES = ffap.c ffap_la_LDFLAGS = -module AM_CFLAGS = $(CFLAGS) -std=c99 +endif diff --git a/plugins/ffmpeg/Makefile.am b/plugins/ffmpeg/Makefile.am index c3ff18b2..0793990f 100644 --- a/plugins/ffmpeg/Makefile.am +++ b/plugins/ffmpeg/Makefile.am @@ -1,3 +1,4 @@ +if HAVE_FFMPEG ffmpegdir = $(libdir)/$(PACKAGE) pkglib_LTLIBRARIES = ffmpeg.la ffmpeg_la_SOURCES = ffmpeg.c @@ -5,3 +6,4 @@ ffmpeg_la_LDFLAGS = -module ffmpeg_la_LIBADD = $(LDADD) $(FFMPEG_DEPS_LIBS) AM_CFLAGS = $(CFLAGS) -std=c99 ${FFMPEG_DEPS_CFLAGS} +endif diff --git a/plugins/flac/Makefile.am b/plugins/flac/Makefile.am index 3072883e..1e8b09bc 100644 --- a/plugins/flac/Makefile.am +++ b/plugins/flac/Makefile.am @@ -1,3 +1,4 @@ +if HAVE_FLAC flacdir = $(libdir)/$(PACKAGE) pkglib_LTLIBRARIES = flac.la flac_la_SOURCES = flac.c @@ -5,3 +6,4 @@ flac_la_LDFLAGS = -module flac_la_LIBADD = $(LDADD) $(FLAC_LIBS) AM_CFLAGS = $(CFLAGS) -std=c99 +endif diff --git a/plugins/gme/Makefile.am b/plugins/gme/Makefile.am index 475e35c0..392c0789 100644 --- a/plugins/gme/Makefile.am +++ b/plugins/gme/Makefile.am @@ -1,12 +1,115 @@ +if HAVE_GME gmepath=@top_srcdir@/plugins/gme/Game_Music_Emu-0.5.2 -SUBDIRS = Game_Music_Emu-0.5.2 Game_Music_Emu-0.5.2/gme + +EXTRA_DIST = $(gmepath)/changes.txt $(gmepath)/design.txt $(gmepath)/gme.txt $(gmepath)/license.txt $(gmepath)/readme.txt gmedir = $(libdir)/$(PACKAGE) pkglib_LTLIBRARIES = gme.la -gme_la_SOURCES = cgme.c +gme_la_SOURCES = cgme.c\ +Game_Music_Emu-0.5.2/gme/Ay_Apu.cpp\ +Game_Music_Emu-0.5.2/gme/Gb_Apu.cpp\ +Game_Music_Emu-0.5.2/gme/Hes_Emu.cpp\ +Game_Music_Emu-0.5.2/gme/Nes_Fme7_Apu.cpp\ +Game_Music_Emu-0.5.2/gme/Sms_Apu.cpp\ +Game_Music_Emu-0.5.2/gme/Ay_Cpu.cpp\ +Game_Music_Emu-0.5.2/gme/Gb_Cpu.cpp\ +Game_Music_Emu-0.5.2/gme/Kss_Cpu.cpp\ +Game_Music_Emu-0.5.2/gme/Nes_Namco_Apu.cpp\ +Game_Music_Emu-0.5.2/gme/Snes_Spc.cpp\ +Game_Music_Emu-0.5.2/gme/Ay_Emu.cpp\ +Game_Music_Emu-0.5.2/gme/Gb_Oscs.cpp\ +Game_Music_Emu-0.5.2/gme/Kss_Emu.cpp\ +Game_Music_Emu-0.5.2/gme/Nes_Oscs.cpp\ +Game_Music_Emu-0.5.2/gme/Spc_Cpu.cpp\ +Game_Music_Emu-0.5.2/gme/Blip_Buffer.cpp\ +Game_Music_Emu-0.5.2/gme/Gbs_Emu.cpp\ +Game_Music_Emu-0.5.2/gme/Kss_Scc_Apu.cpp\ +Game_Music_Emu-0.5.2/gme/Nes_Vrc6_Apu.cpp\ +Game_Music_Emu-0.5.2/gme/Spc_Dsp.cpp\ +Game_Music_Emu-0.5.2/gme/Classic_Emu.cpp\ +Game_Music_Emu-0.5.2/gme/gme.cpp\ +Game_Music_Emu-0.5.2/gme/M3u_Playlist.cpp\ +Game_Music_Emu-0.5.2/gme/Nsfe_Emu.cpp\ +Game_Music_Emu-0.5.2/gme/Spc_Emu.cpp\ +Game_Music_Emu-0.5.2/gme/Data_Reader.cpp\ +Game_Music_Emu-0.5.2/gme/Gme_File.cpp\ +Game_Music_Emu-0.5.2/gme/Multi_Buffer.cpp\ +Game_Music_Emu-0.5.2/gme/Nsf_Emu.cpp\ +Game_Music_Emu-0.5.2/gme/Vgm_Emu.cpp\ +Game_Music_Emu-0.5.2/gme/Dual_Resampler.cpp\ +Game_Music_Emu-0.5.2/gme/Gym_Emu.cpp\ +Game_Music_Emu-0.5.2/gme/Music_Emu.cpp\ +Game_Music_Emu-0.5.2/gme/Sap_Apu.cpp\ +Game_Music_Emu-0.5.2/gme/Vgm_Emu_Impl.cpp\ +Game_Music_Emu-0.5.2/gme/Effects_Buffer.cpp\ +Game_Music_Emu-0.5.2/gme/Hes_Apu.cpp\ +Game_Music_Emu-0.5.2/gme/Nes_Apu.cpp\ +Game_Music_Emu-0.5.2/gme/Sap_Cpu.cpp\ +Game_Music_Emu-0.5.2/gme/Ym2413_Emu.cpp\ +Game_Music_Emu-0.5.2/gme/Fir_Resampler.cpp\ +Game_Music_Emu-0.5.2/gme/Hes_Cpu.cpp\ +Game_Music_Emu-0.5.2/gme/Nes_Cpu.cpp\ +Game_Music_Emu-0.5.2/gme/Sap_Emu.cpp\ +Game_Music_Emu-0.5.2/gme/Ym2612_Emu.cpp\ +Game_Music_Emu-0.5.2/gme/Ay_Apu.h\ +Game_Music_Emu-0.5.2/gme/Ay_Cpu.h\ +Game_Music_Emu-0.5.2/gme/Ay_Emu.h\ +Game_Music_Emu-0.5.2/gme/blargg_common.h\ +Game_Music_Emu-0.5.2/gme/blargg_config.h\ +Game_Music_Emu-0.5.2/gme/blargg_endian.h\ +Game_Music_Emu-0.5.2/gme/blargg_source.h\ +Game_Music_Emu-0.5.2/gme/Blip_Buffer.h\ +Game_Music_Emu-0.5.2/gme/Classic_Emu.h\ +Game_Music_Emu-0.5.2/gme/Data_Reader.h\ +Game_Music_Emu-0.5.2/gme/Dual_Resampler.h\ +Game_Music_Emu-0.5.2/gme/Effects_Buffer.h\ +Game_Music_Emu-0.5.2/gme/Fir_Resampler.h\ +Game_Music_Emu-0.5.2/gme/Gb_Apu.h\ +Game_Music_Emu-0.5.2/gme/Gb_Cpu.h\ +Game_Music_Emu-0.5.2/gme/gb_cpu_io.h\ +Game_Music_Emu-0.5.2/gme/Gb_Oscs.h\ +Game_Music_Emu-0.5.2/gme/Gbs_Emu.h\ +Game_Music_Emu-0.5.2/gme/Gme_File.h\ +Game_Music_Emu-0.5.2/gme/gme.h\ +Game_Music_Emu-0.5.2/gme/Gym_Emu.h\ +Game_Music_Emu-0.5.2/gme/Hes_Apu.h\ +Game_Music_Emu-0.5.2/gme/Hes_Cpu.h\ +Game_Music_Emu-0.5.2/gme/hes_cpu_io.h\ +Game_Music_Emu-0.5.2/gme/Hes_Emu.h\ +Game_Music_Emu-0.5.2/gme/Kss_Cpu.h\ +Game_Music_Emu-0.5.2/gme/Kss_Emu.h\ +Game_Music_Emu-0.5.2/gme/Kss_Scc_Apu.h\ +Game_Music_Emu-0.5.2/gme/M3u_Playlist.h\ +Game_Music_Emu-0.5.2/gme/Multi_Buffer.h\ +Game_Music_Emu-0.5.2/gme/Music_Emu.h\ +Game_Music_Emu-0.5.2/gme/Nes_Apu.h\ +Game_Music_Emu-0.5.2/gme/Nes_Cpu.h\ +Game_Music_Emu-0.5.2/gme/nes_cpu_io.h\ +Game_Music_Emu-0.5.2/gme/Nes_Fme7_Apu.h\ +Game_Music_Emu-0.5.2/gme/Nes_Namco_Apu.h\ +Game_Music_Emu-0.5.2/gme/Nes_Oscs.h\ +Game_Music_Emu-0.5.2/gme/Nes_Vrc6_Apu.h\ +Game_Music_Emu-0.5.2/gme/Nsfe_Emu.h\ +Game_Music_Emu-0.5.2/gme/Nsf_Emu.h\ +Game_Music_Emu-0.5.2/gme/Sap_Apu.h\ +Game_Music_Emu-0.5.2/gme/Sap_Cpu.h\ +Game_Music_Emu-0.5.2/gme/sap_cpu_io.h\ +Game_Music_Emu-0.5.2/gme/Sap_Emu.h\ +Game_Music_Emu-0.5.2/gme/Sms_Apu.h\ +Game_Music_Emu-0.5.2/gme/Sms_Oscs.h\ +Game_Music_Emu-0.5.2/gme/Snes_Spc.h\ +Game_Music_Emu-0.5.2/gme/Spc_Cpu.h\ +Game_Music_Emu-0.5.2/gme/Spc_Dsp.h\ +Game_Music_Emu-0.5.2/gme/Spc_Emu.h\ +Game_Music_Emu-0.5.2/gme/Vgm_Emu.h\ +Game_Music_Emu-0.5.2/gme/Vgm_Emu_Impl.h\ +Game_Music_Emu-0.5.2/gme/Ym2413_Emu.h\ +Game_Music_Emu-0.5.2/gme/Ym2612_Emu.h + gme_la_LDFLAGS = -module -gme_la_LIBADD = $(LDADD) $(gmepath)/gme/libgme.a -lstdc++ -AM_CFLAGS = $(CFLAGS) -I$(gmepath) -std=c99 -fPIC +gme_la_LIBADD = $(LDADD) -lstdc++ +AM_CFLAGS = $(CFLAGS) -I$(gmepath) -std=c99 +endif diff --git a/plugins/gme/cgme.c b/plugins/gme/cgme.c index 2bed740c..77253df0 100644 --- a/plugins/gme/cgme.c +++ b/plugins/gme/cgme.c @@ -19,7 +19,7 @@ #include <stdlib.h> #include <string.h> #include "gme/gme.h" -#include "deadbeef.h" +#include "../../deadbeef.h" static DB_decoder_t plugin; static DB_functions_t *deadbeef; diff --git a/plugins/gtkui/Makefile.am b/plugins/gtkui/Makefile.am index 8c8c5fef..775dfca4 100644 --- a/plugins/gtkui/Makefile.am +++ b/plugins/gtkui/Makefile.am @@ -1,3 +1,4 @@ +if HAVE_GTKUI gtkuidir = $(libdir)/$(PACKAGE) pkglib_LTLIBRARIES = gtkui.la @@ -17,7 +18,7 @@ gtkui_la_SOURCES = $(gtkui_VALABUILTSOURCES)\ gtkui.c gtkui.h\ callbacks.c interface.c support.c callbacks.h interface.h support.h\ ddblistview.c ddblistview.h\ - mainplaylist.c\ + mainplaylist.c mainplaylist.h\ drawing.h gdkdrawing.c\ progress.c progress.h\ search.c search.h\ @@ -44,3 +45,4 @@ CLEANFILES = \ $(BUILT_SOURCES) \ $(gtkui_VALABUILTSOURCES) endif +endif diff --git a/plugins/hotkeys/Makefile.am b/plugins/hotkeys/Makefile.am index 5f2e9d38..79a9d642 100644 --- a/plugins/hotkeys/Makefile.am +++ b/plugins/hotkeys/Makefile.am @@ -1,9 +1,11 @@ +if HAVE_HOTKEYS hotkeysdir = $(libdir)/$(PACKAGE) pkglib_LTLIBRARIES = hotkeys.la -hotkeys_la_SOURCES = hotkeys.c +hotkeys_la_SOURCES = hotkeys.c hotkeys.h hotkeys_la_LDFLAGS = -module EXTRA_hotkeys_la_SOURCES = keysyms.inc hotkeys_la_LIBADD = $(LDADD) $(HOTKEYS_LIBS) AM_CFLAGS = $(CFLAGS) -std=c99 +endif diff --git a/plugins/lastfm/Makefile.am b/plugins/lastfm/Makefile.am index 0c49f8d9..87499d7e 100644 --- a/plugins/lastfm/Makefile.am +++ b/plugins/lastfm/Makefile.am @@ -1,3 +1,4 @@ +if HAVE_LASTFM lastfmdir = $(libdir)/$(PACKAGE) pkglib_LTLIBRARIES = lastfm.la lastfm_la_SOURCES = lastfm.c @@ -5,3 +6,4 @@ lastfm_la_LDFLAGS = -module lastfm_la_LIBADD = $(LDADD) $(CURL_LIBS) AM_CFLAGS = -std=c99 +endif diff --git a/plugins/mpgmad/Makefile.am b/plugins/mpgmad/Makefile.am index d3019db1..aae7fa37 100644 --- a/plugins/mpgmad/Makefile.am +++ b/plugins/mpgmad/Makefile.am @@ -1,3 +1,4 @@ +if HAVE_MPGMAD mpgmaddir = $(libdir)/$(PACKAGE) pkglib_LTLIBRARIES = mpgmad.la mpgmad_la_SOURCES = mpgmad.c @@ -5,3 +6,4 @@ mpgmad_la_LDFLAGS = -module mpgmad_la_LIBADD = $(LDADD) $(MAD_LIBS) AM_CFLAGS = $(CFLAGS) -std=c99 +endif diff --git a/plugins/nullout/Makefile.am b/plugins/nullout/Makefile.am index da914823..73e63136 100644 --- a/plugins/nullout/Makefile.am +++ b/plugins/nullout/Makefile.am @@ -1,5 +1,7 @@ +if HAVE_NULLOUT nulloutdir = $(libdir)/$(PACKAGE) pkglib_LTLIBRARIES = nullout.la nullout_la_SOURCES = nullout.c nullout_la_LDFLAGS = -module AM_CFLAGS = $(CFLAGS) -std=c99 +endif diff --git a/plugins/oss/Makefile.am b/plugins/oss/Makefile.am index e2195996..cd7e1675 100644 --- a/plugins/oss/Makefile.am +++ b/plugins/oss/Makefile.am @@ -1,6 +1,7 @@ +if HAVE_OSS ossdir = $(libdir)/$(PACKAGE) pkglib_LTLIBRARIES = oss.la AM_CFLAGS = $(CFLAGS) $(OSS_CFLAGS) -std=c99 oss_la_SOURCES = oss.c oss_la_LDFLAGS = -module - +endif diff --git a/plugins/pulse/Makefile.am b/plugins/pulse/Makefile.am index c04bdb81..d0e29c66 100644 --- a/plugins/pulse/Makefile.am +++ b/plugins/pulse/Makefile.am @@ -1,7 +1,8 @@ +if HAVE_PULSE pulsedir = $(libdir)/$(PACKAGE) pkglib_LTLIBRARIES = pulse.la AM_CFLAGS = $(CFLAGS) $(PULSE_DEPS_CFLAGS) -std=c99 pulse_la_SOURCES = pulse.c pulse_la_LDFLAGS = -module pulse_la_LIBADD = $(LDADD) $(PULSE_DEPS_LIBS) - +endif diff --git a/plugins/sid/Makefile.am b/plugins/sid/Makefile.am index b7d35943..5034c222 100644 --- a/plugins/sid/Makefile.am +++ b/plugins/sid/Makefile.am @@ -1,12 +1,111 @@ +if HAVE_SID sidpath=@top_srcdir@/plugins/sid/sidplay-libs -SUBDIRS = sidplay-libs +EXTRA_DIST = \ + $(sidpath)/libsidutils/README $(sidpath)/libsidplay/README $(sidpath)/resid/README\ + $(sidpath)/libsidutils/COPYING $(sidpath)/libsidplay/COPYING $(sidpath)/resid/COPYING\ + $(sidpath)/libsidutils/AUTHORS $(sidpath)/libsidplay/AUTHORS $(sidpath)/resid/AUTHORS pkglib_LTLIBRARIES = sid.la -sid_la_SOURCES = plugin.c csid.cpp csid.h +sid_la_SOURCES = plugin.c csid.cpp csid.h\ +sidplay-libs/libsidplay/src/mixer.cpp\ +sidplay-libs/libsidplay/src/player.cpp\ +sidplay-libs/libsidplay/src/mos656x/mos656x.cpp\ +sidplay-libs/libsidplay/src/mos6510/mos6510.cpp\ +sidplay-libs/libsidplay/src/sid6526/sid6526.cpp\ +sidplay-libs/libsidplay/src/sidtune/MUS.cpp\ +sidplay-libs/libsidplay/src/sidtune/SidTuneTools.cpp\ +sidplay-libs/libsidplay/src/sidtune/InfoFile.cpp\ +sidplay-libs/libsidplay/src/sidtune/SidTune.cpp\ +sidplay-libs/libsidplay/src/sidtune/PSID.cpp\ +sidplay-libs/libsidplay/src/sidtune/PP20.cpp\ +sidplay-libs/libsidplay/src/sidtune/IconInfo.cpp\ +sidplay-libs/libsidplay/src/event.cpp\ +sidplay-libs/libsidplay/src/psiddrv.cpp\ +sidplay-libs/libsidplay/src/config.cpp\ +sidplay-libs/libsidplay/src/sidplay2.cpp\ +sidplay-libs/libsidplay/src/xsid/xsid.cpp\ +sidplay-libs/libsidplay/src/mos6526/mos6526.cpp\ +sidplay-libs/builders/resid-builder/src/resid.cpp\ +sidplay-libs/builders/resid-builder/src/resid-builder.cpp\ +sidplay-libs/resid/wave8580_PS_.cc\ +sidplay-libs/resid/filter.cc\ +sidplay-libs/resid/pot.cc\ +sidplay-libs/resid/wave.cc\ +sidplay-libs/resid/version.cc\ +sidplay-libs/resid/wave6581__ST.cc\ +sidplay-libs/resid/extfilt.cc\ +sidplay-libs/resid/wave8580_PST.cc\ +sidplay-libs/resid/wave6581_PST.cc\ +sidplay-libs/resid/wave6581_P_T.cc\ +sidplay-libs/resid/wave6581_PS_.cc\ +sidplay-libs/resid/envelope.cc\ +sidplay-libs/resid/voice.cc\ +sidplay-libs/resid/sid.cc\ +sidplay-libs/resid/wave8580__ST.cc\ +sidplay-libs/resid/wave8580_P_T.cc\ +sidplay-libs/libsidplay/src/reloc65.c\ +sidplay-libs/unix/config.h\ +sidplay-libs/libsidplay/win/VC/sidconfig.h\ +sidplay-libs/libsidplay/win/VC/sidint.h\ +sidplay-libs/libsidplay/win/VC/config.h\ +sidplay-libs/libsidplay/unix/sidconfig.h\ +sidplay-libs/libsidplay/unix/sidint.h\ +sidplay-libs/libsidplay/src/xsid/xsid.h\ +sidplay-libs/libsidplay/src/mos6526/mos6526.h\ +sidplay-libs/libsidplay/src/sid6526/sid6526.h\ +sidplay-libs/libsidplay/src/mos656x/mos656x.h\ +sidplay-libs/libsidplay/src/c64/c64xsid.h\ +sidplay-libs/libsidplay/src/c64/c64cia.h\ +sidplay-libs/libsidplay/src/c64/c64vic.h\ +sidplay-libs/libsidplay/src/nullsid.h\ +sidplay-libs/libsidplay/src/sidtune/PP20_Defs.h\ +sidplay-libs/libsidplay/src/sidtune/SidTuneTools.h\ +sidplay-libs/libsidplay/src/sidtune/SidTuneCfg.h\ +sidplay-libs/libsidplay/src/sidtune/PP20.h\ +sidplay-libs/libsidplay/src/mos6510/cycle_based/sid6510c.h\ +sidplay-libs/libsidplay/src/mos6510/cycle_based/mos6510c.h\ +sidplay-libs/libsidplay/src/mos6510/mos6510.h\ +sidplay-libs/libsidplay/src/mos6510/conf6510.h\ +sidplay-libs/libsidplay/src/mos6510/opcodes.h\ +sidplay-libs/libsidplay/src/player.h\ +sidplay-libs/libsidplay/include/sidplay/SmartPtr.h\ +sidplay-libs/libsidplay/include/sidplay/sidusage.h\ +sidplay-libs/libsidplay/include/sidplay/sidtypes.h\ +sidplay-libs/libsidplay/include/sidplay/sidplay2.h\ +sidplay-libs/libsidplay/include/sidplay/sidconfig.h\ +sidplay-libs/libsidplay/include/sidplay/SidTune.h\ +sidplay-libs/libsidplay/include/sidplay/sid2types.h\ +sidplay-libs/libsidplay/include/sidplay/c64env.h\ +sidplay-libs/libsidplay/include/sidplay/sidbuilder.h\ +sidplay-libs/libsidplay/include/sidplay/sidint.h\ +sidplay-libs/libsidplay/include/sidplay/component.h\ +sidplay-libs/libsidplay/include/sidplay/event.h\ +sidplay-libs/libsidplay/include/sidplay/sidendian.h\ +sidplay-libs/libsidplay/include/sidplay/Buffer.h\ +sidplay-libs/libsidplay/include/sidenv.h\ +sidplay-libs/libsidplay/include/config.h\ +sidplay-libs/builders/resid-builder/win/VC/config.h\ +sidplay-libs/builders/resid-builder/src/resid-emu.h\ +sidplay-libs/builders/resid-builder/include/sidplay/builders/resid.h\ +sidplay-libs/builders/resid-builder/include/config.h\ +sidplay-libs/resid/voice.h\ +sidplay-libs/resid/siddefs.h\ +sidplay-libs/resid/wave.h\ +sidplay-libs/resid/sid.h\ +sidplay-libs/resid/filter.h\ +sidplay-libs/resid/envelope.h\ +sidplay-libs/resid/spline.h\ +sidplay-libs/resid/pot.h\ +sidplay-libs/resid/extfilt.h\ +sidplay-libs/libsidplay/src/mos6510/cycle_based/mos6510c.i\ +sidplay-libs/libsidplay/src/mos6510/cycle_based/sid6510c.i\ +sidplay-libs/libsidplay/src/kernal.bin\ +sidplay-libs/libsidplay/src/psiddrv.bin\ +sidplay-libs/libsidplay/src/poweron.bin -sid_la_LIBADD = $(sidpath)/libsidplay2.a -lstdc++ +sid_la_LIBADD = -lstdc++ sid_la_LDFLAGS = -module AM_CFLAGS = $(CFLAGS) -std=c99 -I$(sidpath)/libsidplay/include -I$(sidpath)/builders/resid-builder/include -fPIC -AM_CPPFLAGS = $(CXXFLAGS) -I$(sidpath)/libsidplay/include -I$(sidpath)/builders/resid-builder/include -fPIC - +AM_CPPFLAGS = $(CXXFLAGS) -DHAVE_UNIX -I$(sidpath) -I$(sidpath)/unix -I$(sidpath)/libsidplay -I$(sidpath)/libsidplay/include -I$(sidpath)/libsidplay/include/sidplay -I$(sidpath)/libsidutils/include/sidplay/utils -I$(sidpath)/builders/resid-builder/include/sidplay/builders -I$(sidpath)/builders/resid-builder/include -DHAVE_STRCASECMP -DHAVE_STRNCASECMP +endif diff --git a/plugins/sid/csid.cpp b/plugins/sid/csid.cpp index 09c1d3ec..701ac3d4 100644 --- a/plugins/sid/csid.cpp +++ b/plugins/sid/csid.cpp @@ -28,7 +28,7 @@ //#include "md5.h" // #include "sidplay/sidendian.h" -#include "deadbeef.h" +#include "../../deadbeef.h" #include "csid.h" extern DB_decoder_t sid_plugin; diff --git a/plugins/sid/sidplay-libs/Makefile.am b/plugins/sid/sidplay-libs/Makefile.am index 7f4ea0b7..9adeb2e9 100644 --- a/plugins/sid/sidplay-libs/Makefile.am +++ b/plugins/sid/sidplay-libs/Makefile.am @@ -7,7 +7,7 @@ EXTRA_DIST = \ $(sidpath)/libsidutils/COPYING $(sidpath)/libsidplay/COPYING $(sidpath)/resid/COPYING\ $(sidpath)/libsidutils/AUTHORS $(sidpath)/libsidplay/AUTHORS $(sidpath)/resid/AUTHORS -AM_CPPFLAGS = $(INSANE_CXXFLAGS) -DHAVE_UNIX -I$(sidpath)/unix -I$(sidpath)/libsidplay -I$(sidpath)/libsidplay/include -I$(sidpath)/libsidplay/include/sidplay -I$(sidpath)/libsidutils/include/sidplay/utils -I$(sidpath)/builders/resid-builder/include/sidplay/builders -I$(sidpath)/builders/resid-builder/include -fPIC +AM_CPPFLAGS = $(INSANE_CXXFLAGS) -DHAVE_UNIX -I$(sidpath)/unix -I$(sidpath)/libsidplay -I$(sidpath)/libsidplay/include -I$(sidpath)/libsidplay/include/sidplay -I$(sidpath)/libsidutils/include/sidplay/utils -I$(sidpath)/builders/resid-builder/include/sidplay/builders -I$(sidpath)/builders/resid-builder/include -DHAVE_STRCASECMP -DHAVE_STRNCASECMP -fPIC libsidplay2_a_SOURCES = \ libsidplay/src/mixer.cpp\ diff --git a/plugins/sid/sidplay-libs/unix/config.h b/plugins/sid/sidplay-libs/unix/config.h index ee1de9e8..e7dafb5c 100644 --- a/plugins/sid/sidplay-libs/unix/config.h +++ b/plugins/sid/sidplay-libs/unix/config.h @@ -1,6 +1,8 @@ /* unix/config.h. Generated by configure. */ /* unix/config.h.in. Generated from configure.ac by autoheader. */ +#if 0 + /* Define if the C++ compiler supports BOOL */ #define HAVE_BOOL @@ -106,3 +108,4 @@ /* Define to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel and VAX). */ /* #undef WORDS_BIGENDIAN */ +#endif diff --git a/plugins/sndfile/Makefile.am b/plugins/sndfile/Makefile.am index a92828f5..d5c7c9af 100644 --- a/plugins/sndfile/Makefile.am +++ b/plugins/sndfile/Makefile.am @@ -1,3 +1,4 @@ +if HAVE_SNDFILE sndfiledir = $(libdir)/$(PACKAGE) pkglib_LTLIBRARIES = sndfile.la sndfile_la_SOURCES = sndfile.c @@ -5,3 +6,4 @@ sndfile_la_LDFLAGS = -module sndfile_la_LIBADD = $(LDADD) $(SNDFILE_LIBS) AM_CFLAGS = $(CFLAGS) -std=c99 +endif diff --git a/plugins/supereq/Makefile.am b/plugins/supereq/Makefile.am index f86c3e06..0fffd6d6 100644 --- a/plugins/supereq/Makefile.am +++ b/plugins/supereq/Makefile.am @@ -1,8 +1,10 @@ +if HAVE_SUPEREQ supereqdir = $(libdir)/$(PACKAGE) pkglib_LTLIBRARIES = supereq.la -supereq_la_SOURCES = supereq.c Equ.cpp Fftsg_fl.cpp paramlist.hpp +supereq_la_SOURCES = supereq.c supereq.h Equ.cpp Fftsg_fl.cpp paramlist.hpp supereq_la_LDFLAGS = -module supereq_la_LIBADD = $(LDADD) AM_CFLAGS = -std=c99 +endif diff --git a/plugins/vfs_curl/Makefile.am b/plugins/vfs_curl/Makefile.am index 189596a5..95794831 100644 --- a/plugins/vfs_curl/Makefile.am +++ b/plugins/vfs_curl/Makefile.am @@ -1,3 +1,4 @@ +if HAVE_VFS_CURL vfs_curldir = $(libdir)/$(PACKAGE) pkglib_LTLIBRARIES = vfs_curl.la vfs_curl_la_SOURCES = vfs_curl.c @@ -5,3 +6,4 @@ vfs_curl_la_LDFLAGS = -module vfs_curl_la_LIBADD = $(LDADD) $(CURL_LIBS) AM_CFLAGS = $(CFLAGS) -std=c99 +endif diff --git a/plugins/vorbis/Makefile.am b/plugins/vorbis/Makefile.am index b4da3fd5..6580db14 100644 --- a/plugins/vorbis/Makefile.am +++ b/plugins/vorbis/Makefile.am @@ -1,3 +1,4 @@ +if HAVE_VORBIS vorbisdir = $(libdir)/$(PACKAGE) pkglib_LTLIBRARIES = vorbis.la vorbis_la_SOURCES = vorbis.c vcedit.c vcedit.h vceditaux.h i18n.h @@ -5,3 +6,4 @@ vorbis_la_LDFLAGS = -module vorbis_la_LIBADD = $(LDADD) $(VORBIS_LIBS) -lc AM_CFLAGS = $(CFLAGS) -std=c99 +endif diff --git a/plugins/vtx/Makefile.am b/plugins/vtx/Makefile.am index abfa8c98..02d8de5c 100644 --- a/plugins/vtx/Makefile.am +++ b/plugins/vtx/Makefile.am @@ -1,6 +1,8 @@ +if HAVE_VTX vtxdir = $(libdir)/$(PACKAGE) pkglib_LTLIBRARIES = vtx.la vtx_la_SOURCES = vtx.c ay8912.c ayemu_8912.h ayemu.h ayemu_vtxfile.h lh5dec.c vtxfile.c vtx_la_LDFLAGS = -module AM_CFLAGS = $(CFLAGS) -std=c99 +endif diff --git a/plugins/wavpack/Makefile.am b/plugins/wavpack/Makefile.am index 9a86351f..10f44cf1 100644 --- a/plugins/wavpack/Makefile.am +++ b/plugins/wavpack/Makefile.am @@ -1,3 +1,4 @@ +if HAVE_WAVPACK wavpackdir = $(libdir)/$(PACKAGE) pkglib_LTLIBRARIES = wavpack.la wavpack_la_SOURCES = wavpack.c @@ -5,3 +6,4 @@ wavpack_la_LDFLAGS = -module wavpack_la_LIBADD = $(LDADD) $(WAVPACK_LIBS) AM_CFLAGS = $(CFLAGS) -std=c99 +endif |