Merge branch 'master' into more-updates

This commit is contained in:
Jasmine Iwanek
2022-02-19 23:39:55 -05:00
20 changed files with 518 additions and 106 deletions

View File

@@ -173,7 +173,7 @@ ifndef DINPUT
DINPUT := n
endif
ifndef OPENAL
OPENAL := y
OPENAL := n
endif
ifndef FLUIDSYNTH
FLUIDSYNTH := y
@@ -373,9 +373,6 @@ else
endif
endif
ifeq ($(OPENAL), y)
OPTS += -DUSE_OPENAL
endif
ifeq ($(FLUIDSYNTH), y)
OPTS += -DUSE_FLUIDSYNTH
FSYNTHOBJ := midi_fluidsynth.o
@@ -645,7 +642,6 @@ PRINTOBJ := png.o prt_cpmap.o \
prt_escp.o prt_text.o prt_ps.o
SNDOBJ := sound.o \
openal.o \
snd_opl.o snd_opl_nuked.o \
snd_resid.o \
convolve.o convolve-sse.o envelope.o extfilt.o \
@@ -736,6 +732,12 @@ else
PLATOBJ += win_joystick_rawinput.o
endif
ifeq ($(OPENAL), y)
SNDOBJ += openal.o
else
SNDOBJ += xaudio2.o
endif
OBJ := $(MAINOBJ) $(CPUOBJ) $(CHIPSETOBJ) $(MCHOBJ) $(DEVOBJ) $(MEMOBJ) \
$(FDDOBJ) $(GAMEOBJ) $(CDROMOBJ) $(ZIPOBJ) $(MOOBJ) $(HDDOBJ) $(MINIVHDOBJ) \
$(NETOBJ) $(PRINTOBJ) $(SCSIOBJ) $(SIOOBJ) $(SNDOBJ) $(VIDOBJ) $(VOODOOOBJ) \
@@ -744,13 +746,12 @@ ifdef EXOBJ
OBJ += $(EXOBJ)
endif
LIBS := -mwindows -lcomctl32 \
-lopenal -lole32
LIBS := -mwindows -lcomctl32 -lSDL2 -lrtmidi -limagehlp -ldinput8 -ldxguid -ldxerr8 -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lversion -luuid
ifeq ($(VNC), y)
LIBS += $(VNCLIB) -lws2_32
endif
LIBS += -lpng -lz -lwsock32 -lshell32 -liphlpapi -lpsapi -lSDL2 -limm32 -lhid -lsetupapi -loleaut32 -luxtheme -lversion -lrtmidi -lwinmm -static -lstdc++
LIBS += -lpng -lz -lwsock32 -liphlpapi -lpsapi -lhid -lsetupapi -luxtheme -static -lstdc++
ifneq ($(X64), y)
ifneq ($(ARM64), y)
LIBS += -Wl,--large-address-aware