Updated for new stuff

This commit is contained in:
jpaana 2003-04-29 19:24:30 +00:00
parent bfa68943fe
commit 1684bcc8f5

View file

@ -18,13 +18,13 @@ NOARCH=noarch
MOUNT_DIR = ../
MASTER_DIR = /usr/local/share/games/quake
MASTER_DIR = /usr/share/games/tenebrae
BUILD_DEBUG_DIR = debug$(ARCH)$(GLIBC)
BUILD_RELEASE_DIR = release$(ARCH)$(GLIBC)
LEX = /usr/bin/flex -i -Cfr
CC = /usr/bin/gcc
LEX = flex -i -Cfr
CC = gcc
X11_LIBS = -L/usr/X11R6/lib -lpthread -lX11 -lXext -lXxf86dga -lXxf86vm
@ -40,8 +40,8 @@ PNG_LIBS = -lpng -lz
#OPENAL_LIBS = -lopenal
#OPENAL_CFLAGS = -DOPENAL -I/usr/local/include/AL
BASE_CFLAGS = -DBASEDIR="$(MASTER_DIR)" -DUSERPREF_DIR $(OPENGL_CFLAGS) $(OPENAL_CFLAGS) -I$(MOUNT_DIR) $(XML_CFLAGS)
RELEASE_CFLAGS = $(BASE_CFLAGS) -mpentiumpro -O6 -ffast-math -funroll-loops \
BASE_CFLAGS = -DBASEDIR="$(MASTER_DIR)" -DUSERPREF_DIR $(OPENGL_CFLAGS) $(OPENAL_CFLAGS) -I$(MOUNT_DIR) $(XML_CFLAGS) -Did386=1
RELEASE_CFLAGS = $(BASE_CFLAGS) -march=i686 -O2 -ffast-math -funroll-loops \
-fomit-frame-pointer -fexpensive-optimizations
DEBUG_CFLAGS = $(BASE_CFLAGS) -g
LDFLAGS = -lm -ldl $(X11_LIBS) $(OPENGL_LIBS) $(PNG_LIBS) $(OPENAL_LIBS) $(XML_LIBS)
@ -119,12 +119,13 @@ GLQUAKE_OBJS= \
$(BUILDDIR)/glquake/gl_warp.o \
$(BUILDDIR)/glquake/shaders.o \
$(BUILDDIR)/glquake/textures.o \
$(BUILDDIR)/glquake/textures_vid.o \
\
$(BUILDDIR)/glquake/host.o \
$(BUILDDIR)/glquake/host_cmd.o \
$(BUILDDIR)/glquake/keys.o \
$(BUILDDIR)/glquake/menu.o \
$(BUILDDIR)/glquake/mathlib.o \
$(BUILDDIR)/glquake/menu.o \
$(BUILDDIR)/glquake/net_dgrm.o \
$(BUILDDIR)/glquake/net_loop.o \
$(BUILDDIR)/glquake/net_main.o \
@ -157,6 +158,16 @@ GLQUAKE_OBJS= \
$(BUILDDIR)/glquake/snd_mixa.o \
$(BUILDDIR)/glquake/sys_dosa.o \
\
$(BUILDDIR)/glquake/nvparse.o \
$(BUILDDIR)/glquake/nvparse_errors.o \
$(BUILDDIR)/glquake/rc1.0_general.o \
$(BUILDDIR)/glquake/rc1.0_combiners.o \
$(BUILDDIR)/glquake/rc1.0_final.o \
$(BUILDDIR)/glquake/_rc1.0_lexer.o \
$(BUILDDIR)/glquake/_rc1.0_parser.o \
\
$(BUILDDIR)/glquake/roq_read.o \
\
$(BUILDDIR)/glquake/lex.yy.o \
$(BUILDDIR)/glquake/te_scripts.o
@ -293,6 +304,9 @@ $(BUILDDIR)/glquake/shaders.o : $(MOUNT_DIR)/shaders.c
$(BUILDDIR)/glquake/textures.o : $(MOUNT_DIR)/textures.c
$(DO_GL_CC)
$(BUILDDIR)/glquake/textures_vid.o : $(MOUNT_DIR)/textures_vid.c
$(DO_GL_CC)
$(BUILDDIR)/glquake/host.o : $(MOUNT_DIR)/host.c
$(DO_GL_CC)
@ -302,7 +316,7 @@ $(BUILDDIR)/glquake/host_cmd.o : $(MOUNT_DIR)/host_cmd.c
$(BUILDDIR)/glquake/keys.o : $(MOUNT_DIR)/keys.c
$(DO_GL_CC)
$(BUILDDIR)/glquake/menu.o : $(MOUNT_DIR)/xmlmenu.c
$(BUILDDIR)/glquake/menu.o : $(MOUNT_DIR)/menu.c
$(DO_GL_CC)
$(BUILDDIR)/glquake/mathlib.o : $(MOUNT_DIR)/mathlib.c
@ -401,6 +415,9 @@ $(BUILDDIR)/glquake/snd_mixa.o : $(MOUNT_DIR)/snd_mixa.s
$(BUILDDIR)/glquake/sys_dosa.o : $(MOUNT_DIR)/sys_dosa.s
$(DO_GL_AS)
$(BUILDDIR)/glquake/roq_read.o : $(MOUNT_DIR)/roq/roq_read.c
$(DO_GL_CC)
$(MOUNT_DIR)/lex.yy.c : $(MOUNT_DIR)/lex_part.l
$(DO_LEX)
@ -410,6 +427,27 @@ $(BUILDDIR)/glquake/lex.yy.o : $(MOUNT_DIR)/lex.yy.c
$(BUILDDIR)/glquake/te_scripts.o : $(MOUNT_DIR)/te_scripts.c $(MOUNT_DIR)/te_scripts.h
$(DO_GL_CC)
$(BUILDDIR)/glquake/nvparse.o : $(MOUNT_DIR)/nvparse/nvparse.cpp
$(DO_GL_CC)
$(BUILDDIR)/glquake/nvparse_errors.o : $(MOUNT_DIR)/nvparse/nvparse_errors.cpp
$(DO_GL_CC)
$(BUILDDIR)/glquake/rc1.0_general.o : $(MOUNT_DIR)/nvparse/rc1.0_general.cpp
$(DO_GL_CC)
$(BUILDDIR)/glquake/rc1.0_combiners.o : $(MOUNT_DIR)/nvparse/rc1.0_combiners.cpp
$(DO_GL_CC)
$(BUILDDIR)/glquake/rc1.0_final.o : $(MOUNT_DIR)/nvparse/rc1.0_final.cpp
$(DO_GL_CC)
$(BUILDDIR)/glquake/_rc1.0_lexer.o : $(MOUNT_DIR)/nvparse/_rc1.0_lexer.cpp
$(DO_GL_CC)
$(BUILDDIR)/glquake/_rc1.0_parser.o : $(MOUNT_DIR)/nvparse/_rc1.0_parser.cpp
$(DO_GL_CC)
#############################################################################
# MISC