diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-11-14 19:57:29 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-11-14 19:57:29 +0000 |
commit | 102a52e4712aeac3bad0ed25755ff2c96f4ff794 (patch) | |
tree | 776813eaea38c016e9ba234abecbfd2eb483017d /Makefile.target | |
parent | c76338c34f807458c299c44f43e41d276d84e6e8 (diff) |
FMOD configure options (malc)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1147 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'Makefile.target')
-rw-r--r-- | Makefile.target | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/Makefile.target b/Makefile.target index 81a2dfb552..5690adcdca 100644 --- a/Makefile.target +++ b/Makefile.target @@ -1,11 +1,5 @@ include config.mak -#Uncomment following and specify proper paths/names for FMOD support -#USE_FMOD=1 -#FMOD_INCLUDE=/net/include/fmod -#FMOD_LIBPATH=/net/lib -#FMOD_VERSION=3.74 - TARGET_PATH=$(SRC_PATH)/target-$(TARGET_ARCH) VPATH=$(SRC_PATH):$(TARGET_PATH):$(SRC_PATH)/hw:$(SRC_PATH)/audio DEFINES=-I. -I$(TARGET_PATH) -I$(SRC_PATH) @@ -288,11 +282,10 @@ ifdef CONFIG_ADLIB SOUND_HW += fmopl.o adlib.o endif -ifeq ($(USE_FMOD),1) +ifdef CONFIG_FMOD AUDIODRV += fmodaudio.o -audio.o fmodaudio.o: DEFINES := -DUSE_FMOD_AUDIO -I$(FMOD_INCLUDE) $(DEFINES) -LDFLAGS += -L$(FMOD_LIBPATH) -Wl,-rpath,$(FMOD_LIBPATH) -LIBS += -lfmod-$(FMOD_VERSION) +audio.o fmodaudio.o: DEFINES := -I$(CONFIG_FMOD_INC) $(DEFINES) +LIBS += $(CONFIG_FMOD_LIB) endif ifeq ($(TARGET_ARCH), i386) |