diff options
author | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-06-02 12:12:00 +0000 |
---|---|---|
committer | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-06-02 12:12:00 +0000 |
commit | cd01bc3f0376a5b34e1b9c3a59b4a164b8143513 (patch) | |
tree | 5319aca69d6f578348e9bbb8a14515dcaf2688d2 | |
parent | d5a8161e257a7a96667c4cf0187c401fad923e40 (diff) | |
download | ioquake3-aero-cd01bc3f0376a5b34e1b9c3a59b4a164b8143513.tar.gz ioquake3-aero-cd01bc3f0376a5b34e1b9c3a59b4a164b8143513.zip |
move voip cflags definition to platform independent place
git-svn-id: svn://svn.icculus.org/quake3/trunk@1354 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r-- | Makefile | 48 |
1 files changed, 8 insertions, 40 deletions
@@ -241,14 +241,6 @@ ifeq ($(PLATFORM),linux) BASE_CFLAGS += -DUSE_CODEC_VORBIS endif - ifeq ($(USE_MUMBLE),1) - BASE_CFLAGS += -DUSE_MUMBLE - endif - - ifeq ($(USE_VOIP),1) - BASE_CFLAGS += -DUSE_VOIP -DFLOATING_POINT -DUSE_ALLOCA -I$(SPEEXDIR)/include - endif - OPTIMIZE = -O3 -ffast-math -funroll-loops -fomit-frame-pointer ifeq ($(ARCH),x86_64) @@ -367,14 +359,6 @@ ifeq ($(PLATFORM),darwin) CLIENT_LDFLAGS += -lvorbisfile -lvorbis -logg endif - ifeq ($(USE_MUMBLE),1) - BASE_CFLAGS += -DUSE_MUMBLE - endif - - ifeq ($(USE_VOIP),1) - BASE_CFLAGS += -DUSE_VOIP -DFLOATING_POINT -DUSE_ALLOCA -I$(SPEEXDIR)/include - endif - BASE_CFLAGS += -D_THREAD_SAFE=1 ifeq ($(USE_LOCAL_HEADERS),1) @@ -441,14 +425,6 @@ ifeq ($(PLATFORM),mingw32) BASE_CFLAGS += -DUSE_CODEC_VORBIS endif - ifeq ($(USE_MUMBLE),1) - BASE_CFLAGS += -DUSE_MUMBLE - endif - - ifeq ($(USE_VOIP),1) - BASE_CFLAGS += -DUSE_VOIP -DFLOATING_POINT -DUSE_ALLOCA -I$(SPEEXDIR)/include - endif - OPTIMIZE = -O3 -march=i586 -fno-omit-frame-pointer -ffast-math \ -falign-loops=2 -funroll-loops -falign-jumps=2 -falign-functions=2 \ -fstrength-reduce @@ -534,14 +510,6 @@ ifeq ($(PLATFORM),freebsd) BASE_CFLAGS += -DUSE_CODEC_VORBIS endif - ifeq ($(USE_MUMBLE),1) - BASE_CFLAGS += -DUSE_MUMBLE - endif - - ifeq ($(USE_VOIP),1) - BASE_CFLAGS += -DUSE_VOIP -DFLOATING_POINT -DUSE_ALLOCA -I$(SPEEXDIR)/include - endif - ifeq ($(ARCH),axp) BASE_CFLAGS += -DNO_VM_COMPILED RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG -O3 -ffast-math -funroll-loops \ @@ -608,14 +576,6 @@ ifeq ($(PLATFORM),openbsd) BASE_CFLAGS += -DUSE_CODEC_VORBIS endif - ifeq ($(USE_MUMBLE),1) - BASE_CFLAGS += -DUSE_MUMBLE - endif - - ifeq ($(USE_VOIP),1) - BASE_CFLAGS += -DUSE_VOIP -DFLOATING_POINT -DUSE_ALLOCA -I$(SPEEXDIR)/include - endif - BASE_CFLAGS += -DNO_VM_COMPILED -I/usr/X11R6/include -I/usr/local/include RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG -O3 \ -march=pentium -fomit-frame-pointer -pipe -ffast-math \ @@ -827,6 +787,14 @@ ifneq ($(BUILD_GAME_QVM),0) endif endif +ifeq ($(USE_MUMBLE),1) + BASE_CFLAGS += -DUSE_MUMBLE +endif + +ifeq ($(USE_VOIP),1) + BASE_CFLAGS += -DUSE_VOIP -DFLOATING_POINT -DUSE_ALLOCA -I$(SPEEXDIR)/include +endif + ifdef DEFAULT_BASEDIR BASE_CFLAGS += -DDEFAULT_BASEDIR=\\\"$(DEFAULT_BASEDIR)\\\" endif |