mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Revert premature change to Makefile for migration to jpeg-8c. *sigh*
This commit is contained in:
parent
bce3848523
commit
0b8ca2b417
1 changed files with 38 additions and 63 deletions
101
Makefile
101
Makefile
|
@ -111,10 +111,6 @@ ifndef GENERATE_DEPENDENCIES
|
|||
GENERATE_DEPENDENCIES=1
|
||||
endif
|
||||
|
||||
ifndef USE_SYSTEM_JPEG
|
||||
USE_SYSTEM_JPEG=1
|
||||
endif
|
||||
|
||||
ifndef USE_OPENAL
|
||||
USE_OPENAL=1
|
||||
endif
|
||||
|
@ -180,7 +176,7 @@ BLIBDIR=$(MOUNT_DIR)/botlib
|
|||
NDIR=$(MOUNT_DIR)/null
|
||||
UIDIR=$(MOUNT_DIR)/ui
|
||||
Q3UIDIR=$(MOUNT_DIR)/q3_ui
|
||||
JPDIR=$(MOUNT_DIR)/jpeg-8c
|
||||
JPDIR=$(MOUNT_DIR)/jpeg-6b
|
||||
SPEEXDIR=$(MOUNT_DIR)/libspeex
|
||||
ZDIR=$(MOUNT_DIR)/zlib
|
||||
Q3ASMDIR=$(MOUNT_DIR)/tools/asm
|
||||
|
@ -269,10 +265,6 @@ ifneq (,$(findstring "$(PLATFORM)", "linux" "gnu_kfreebsd" "kfreebsd-gnu"))
|
|||
CLIENT_CFLAGS = $(SDL_CFLAGS)
|
||||
SERVER_CFLAGS =
|
||||
|
||||
ifeq ($(USE_SYSTEM_JPEG),1)
|
||||
BASE_CFLAGS += -DUSE_SYSTEM_JPEG=1
|
||||
endif
|
||||
|
||||
ifeq ($(USE_OPENAL),1)
|
||||
CLIENT_CFLAGS += -DUSE_OPENAL
|
||||
ifeq ($(USE_OPENAL_DLOPEN),1)
|
||||
|
@ -342,10 +334,6 @@ ifneq (,$(findstring "$(PLATFORM)", "linux" "gnu_kfreebsd" "kfreebsd-gnu"))
|
|||
|
||||
CLIENT_LIBS=$(SDL_LIBS) -lGL
|
||||
|
||||
ifeq ($(USE_SYSTEM_JPEG),1)
|
||||
CLIENT_LIBS += -ljpeg
|
||||
endif
|
||||
|
||||
ifeq ($(USE_OPENAL),1)
|
||||
ifneq ($(USE_OPENAL_DLOPEN),1)
|
||||
CLIENT_LIBS += -lopenal
|
||||
|
@ -1410,6 +1398,43 @@ Q3OBJ = \
|
|||
$(B)/client/l_precomp.o \
|
||||
$(B)/client/l_script.o \
|
||||
$(B)/client/l_struct.o \
|
||||
\
|
||||
$(B)/client/jcapimin.o \
|
||||
$(B)/client/jcapistd.o \
|
||||
$(B)/client/jccoefct.o \
|
||||
$(B)/client/jccolor.o \
|
||||
$(B)/client/jcdctmgr.o \
|
||||
$(B)/client/jchuff.o \
|
||||
$(B)/client/jcinit.o \
|
||||
$(B)/client/jcmainct.o \
|
||||
$(B)/client/jcmarker.o \
|
||||
$(B)/client/jcmaster.o \
|
||||
$(B)/client/jcomapi.o \
|
||||
$(B)/client/jcparam.o \
|
||||
$(B)/client/jcphuff.o \
|
||||
$(B)/client/jcprepct.o \
|
||||
$(B)/client/jcsample.o \
|
||||
$(B)/client/jdapimin.o \
|
||||
$(B)/client/jdapistd.o \
|
||||
$(B)/client/jdatasrc.o \
|
||||
$(B)/client/jdcoefct.o \
|
||||
$(B)/client/jdcolor.o \
|
||||
$(B)/client/jddctmgr.o \
|
||||
$(B)/client/jdhuff.o \
|
||||
$(B)/client/jdinput.o \
|
||||
$(B)/client/jdmainct.o \
|
||||
$(B)/client/jdmarker.o \
|
||||
$(B)/client/jdmaster.o \
|
||||
$(B)/client/jdpostct.o \
|
||||
$(B)/client/jdsample.o \
|
||||
$(B)/client/jdtrans.o \
|
||||
$(B)/client/jerror.o \
|
||||
$(B)/client/jfdctflt.o \
|
||||
$(B)/client/jidctflt.o \
|
||||
$(B)/client/jmemmgr.o \
|
||||
$(B)/client/jmemnobs.o \
|
||||
$(B)/client/jutils.o \
|
||||
\
|
||||
$(B)/client/tr_animation.o \
|
||||
$(B)/client/tr_backend.o \
|
||||
$(B)/client/tr_bsp.o \
|
||||
|
@ -1447,56 +1472,6 @@ Q3OBJ = \
|
|||
$(B)/client/con_log.o \
|
||||
$(B)/client/sys_main.o
|
||||
|
||||
ifneq ($(USE_SYSTEM_JPEG),1)
|
||||
Q3OBJ += \
|
||||
$(B)/client/jaricom.o \
|
||||
$(B)/client/jcapimin.o \
|
||||
$(B)/client/jcapistd.o \
|
||||
$(B)/client/jcarith.o \
|
||||
$(B)/client/jccoefct.o \
|
||||
$(B)/client/jccolor.o \
|
||||
$(B)/client/jcdctmgr.o \
|
||||
$(B)/client/jchuff.o \
|
||||
$(B)/client/jcinit.o \
|
||||
$(B)/client/jcmainct.o \
|
||||
$(B)/client/jcmarker.o \
|
||||
$(B)/client/jcmaster.o \
|
||||
$(B)/client/jcomapi.o \
|
||||
$(B)/client/jcparam.o \
|
||||
$(B)/client/jcprepct.o \
|
||||
$(B)/client/jcsample.o \
|
||||
$(B)/client/jctrans.o \
|
||||
$(B)/client/jdapimin.o \
|
||||
$(B)/client/jdapistd.o \
|
||||
$(B)/client/jdarith.o \
|
||||
$(B)/client/jdatadst.o \
|
||||
$(B)/client/jdatasrc.o \
|
||||
$(B)/client/jdcoefct.o \
|
||||
$(B)/client/jdcolor.o \
|
||||
$(B)/client/jddctmgr.o \
|
||||
$(B)/client/jdhuff.o \
|
||||
$(B)/client/jdinput.o \
|
||||
$(B)/client/jdmainct.o \
|
||||
$(B)/client/jdmarker.o \
|
||||
$(B)/client/jdmaster.o \
|
||||
$(B)/client/jdmerge.o \
|
||||
$(B)/client/jdpostct.o \
|
||||
$(B)/client/jdsample.o \
|
||||
$(B)/client/jdtrans.o \
|
||||
$(B)/client/jerror.o \
|
||||
$(B)/client/jfdctflt.o \
|
||||
$(B)/client/jfdctfst.o \
|
||||
$(B)/client/jfdctint.o \
|
||||
$(B)/client/jidctflt.o \
|
||||
$(B)/client/jidctfst.o \
|
||||
$(B)/client/jidctint.o \
|
||||
$(B)/client/jmemmgr.o \
|
||||
$(B)/client/jmemnobs.o \
|
||||
$(B)/client/jquant1.o \
|
||||
$(B)/client/jquant2.o \
|
||||
$(B)/client/jutils.o
|
||||
endif
|
||||
|
||||
ifeq ($(ARCH),i386)
|
||||
Q3OBJ += \
|
||||
$(B)/client/snd_mixa.o \
|
||||
|
|
Loading…
Reference in a new issue