1
0
Fork 0

Add the audio handling changes to build system and documentation

This commit is contained in:
krcroft 2019-11-05 17:29:58 -08:00 committed by Patryk Obara
parent edad78b5e0
commit dfc9b2db31
5 changed files with 95 additions and 34 deletions

View file

@ -1,6 +1,6 @@
AM_CPPFLAGS = -I$(top_srcdir)/include
SUBDIRS = cpu debug dos fpu gui hardware libs ints misc shell platform
SUBDIRS = cpu debug dos fpu gui hardware libs ints misc shell platform
bin_PROGRAMS = dosbox
@ -14,8 +14,6 @@ endif
dosbox_SOURCES = dosbox.cpp $(ico_stuff)
dosbox_LDADD = cpu/libcpu.a debug/libdebug.a dos/libdos.a fpu/libfpu.a hardware/libhardware.a gui/libgui.a \
ints/libints.a misc/libmisc.a shell/libshell.a hardware/mame/libmame.a \
hardware/serialport/libserial.a libs/gui_tk/libgui_tk.a
hardware/serialport/libserial.a libs/gui_tk/libgui_tk.a libs/decoders/libdecoders.a
EXTRA_DIST = winres.rc dosbox.ico

View file

@ -1,3 +1,4 @@
AM_CPPFLAGS = -I$(top_srcdir)/include
SUBDIRS = zmbv gui_tk
SUBDIRS = zmbv gui_tk decoders

View file

@ -0,0 +1,33 @@
noinst_LIBRARIES = libdecoders.a
libdecoders_a_SOURCES = \
SDL_sound.c \
SDL_sound.h \
SDL_sound_internal.h \
audio_convert.c \
wav.c \
dr_wav.h \
flac.c \
dr_flac.h \
opus.c \
vorbis.c \
stb_vorbis.h \
mp3.cpp \
mp3_seek_table.cpp \
mp3_seek_table.h \
dr_mp3.h \
archive.h \
xxhash.c \
xxhash.h
libdecoders_a_CXXFLAGS = \
$(AM_CXXFLAGS) \
$(CXXFLAGS) \
-Wpedantic \
-Wall
libdecoders_a_CFLAGS = \
$(AM_CFLAGS) \
$(CFLAGS) \
-Wpedantic \
-Wall