"CFLAGS = -O3 -ffast-math -fPIC -pedantic -I/usr/X11R6/include -DUSE_XSHM -DHZ=100 -DUSE_X86_ASM -DFREEBSD" \
"CXXFLAGS = $(CFLAGS)" \
"APP_LIB_DEPS = -L/usr/X11R6/lib -lXext -lXmu -lXi -lX11 -lm" \
- "ASM_SOURCES = X86/common_x86_asm.S X86/glapi_x86.S \
- X86/x86_xform2.S X86/x86_xform3.S X86/x86_xform4.S \
- X86/x86_cliptest.S"
+ "ASM_SOURCES = x86/common_x86_asm.S x86/glapi_x86.S \
+ x86/x86_xform2.S x86/x86_xform3.S x86/x86_xform4.S \
+ x86/x86_cliptest.S"
#special hidden target, to make a shared lib for ONLY Mesa "core"
gcc-mesa-sl:
"GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
"GLW_LIB_DEPS = -L$(TOP)/lib -lGL -L/usr/X11R6/lib -lXt -lX11" \
"APP_LIB_DEPS = -lglut -lGLU -lGL -lm" \
- "ASM_SOURCES = X86/common_x86_asm.S X86/glapi_x86.S \
- X86/x86_xform2.S X86/x86_xform3.S X86/x86_xform4.S \
- X86/x86_cliptest.S \
- X86/mmx_blend.S \
- X86/3dnow_xform1.S X86/3dnow_xform2.S \
- X86/3dnow_xform3.S X86/3dnow_xform4.S \
- X86/3dnow_normal.S \
- X86/sse_xform1.S X86/sse_xform2.S \
- X86/sse_xform3.S X86/sse_xform4.S \
- X86/sse_normal.S"
+ "ASM_SOURCES = x86/common_x86_asm.S x86/glapi_x86.S \
+ x86/x86_xform2.S x86/x86_xform3.S x86/x86_xform4.S \
+ x86/x86_cliptest.S \
+ x86/mmx_blend.S \
+ x86/3dnow_xform1.S x86/3dnow_xform2.S \
+ x86/3dnow_xform3.S x86/3dnow_xform4.S \
+ x86/3dnow_normal.S \
+ x86/sse_xform1.S x86/sse_xform2.S \
+ x86/sse_xform3.S x86/sse_xform4.S \
+ x86/sse_normal.S"
linux-x86-sse:
$(MAKE) $(MFLAGS) -f Makefile.X11 targets \
"GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \
"GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
"APP_LIB_DEPS = -lm" \
- "ASM_SOURCES = X86/common_x86_asm.S X86/glapi_x86.S \
- X86/x86_xform2.S X86/x86_xform3.S X86/x86_xform4.S \
- X86/x86_cliptest.S \
- X86/mmx_blend.S \
- X86/3dnow_xform1.S X86/3dnow_xform2.S \
- X86/3dnow_xform3.S X86/3dnow_xform4.S \
- X86/3dnow_normal.S \
- X86/sse_xform1.S X86/sse_xform2.S \
- X86/sse_xform3.S X86/sse_xform4.S \
- X86/sse_normal.S"
+ "ASM_SOURCES = x86/common_x86_asm.S x86/glapi_x86.S \
+ x86/x86_xform2.S x86/x86_xform3.S x86/x86_xform4.S \
+ x86/x86_cliptest.S \
+ x86/mmx_blend.S \
+ x86/3dnow_xform1.S x86/3dnow_xform2.S \
+ x86/3dnow_xform3.S x86/3dnow_xform4.S \
+ x86/3dnow_normal.S \
+ x86/sse_xform1.S x86/sse_xform2.S \
+ x86/sse_xform3.S x86/sse_xform4.S \
+ x86/sse_normal.S"
linux-icc:
$(MAKE) $(MFLAGS) -f Makefile.X11 targets \
"GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \
"GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
"APP_LIB_DEPS = -lm" \
- "ASM_SOURCES = X86/common_x86_asm.S X86/glapi_x86.S \
- X86/x86_xform2.S X86/x86_xform3.S X86/x86_xform4.S \
- X86/x86_cliptest.S \
- X86/mmx_blend.S \
- X86/3dnow_xform1.S X86/3dnow_xform2.S \
- X86/3dnow_xform3.S X86/3dnow_xform4.S \
- X86/3dnow_normal.S \
- X86/sse_xform1.S X86/sse_xform2.S \
- X86/sse_xform3.S X86/sse_xform4.S \
- X86/sse_normal.S"
+ "ASM_SOURCES = x86/common_x86_asm.S x86/glapi_x86.S \
+ x86/x86_xform2.S x86/x86_xform3.S x86/x86_xform4.S \
+ x86/x86_cliptest.S \
+ x86/mmx_blend.S \
+ x86/3dnow_xform1.S x86/3dnow_xform2.S \
+ x86/3dnow_xform3.S x86/3dnow_xform4.S \
+ x86/3dnow_normal.S \
+ x86/sse_xform1.S x86/sse_xform2.S \
+ x86/sse_xform3.S x86/sse_xform4.S \
+ x86/sse_normal.S"
# Contributed by Uwe_Maurer@t-online.de
linux-ggi:
"GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \
"GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
"APP_LIB_DEPS = -lm" \
- "ASM_SOURCES = X86/common_x86_asm.S X86/glapi_x86.S \
- X86/x86_xform2.S X86/x86_xform3.S X86/x86_xform4.S \
- X86/x86_cliptest.S"
+ "ASM_SOURCES = x86/common_x86_asm.S x86/glapi_x86.S \
+ x86/x86_xform2.S x86/x86_xform3.S x86/x86_xform4.S \
+ x86/x86_cliptest.S"
linux-glide:
$(MAKE) $(MFLAGS) -f Makefile.X11 targets \
"GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
"GLW_LIB_DEPS = -L$(TOP)/lib -lGL -L/usr/X11R6/lib -lXt -lX11" \
"APP_LIB_DEPS = -lglut -lGLU -lGL -lm" \
- "ASM_SOURCES = X86/common_x86_asm.S X86/glapi_x86.S \
- X86/x86_xform2.S X86/x86_xform3.S X86/x86_xform4.S \
- X86/x86_cliptest.S \
- X86/mmx_blend.S \
- X86/3dnow_xform1.S X86/3dnow_xform2.S \
- X86/3dnow_xform3.S X86/3dnow_xform4.S \
- X86/3dnow_normal.S \
- FX/X86/fx_3dnow_fastpath.S \
- X86/sse_xform1.S X86/sse_xform2.S \
- X86/sse_xform3.S X86/sse_xform4.S \
- X86/sse_normal.S "
+ "ASM_SOURCES = x86/common_x86_asm.S x86/glapi_x86.S \
+ x86/x86_xform2.S x86/x86_xform3.S x86/x86_xform4.S \
+ x86/x86_cliptest.S \
+ x86/mmx_blend.S \
+ x86/3dnow_xform1.S x86/3dnow_xform2.S \
+ x86/3dnow_xform3.S x86/3dnow_xform4.S \
+ x86/3dnow_normal.S \
+ FX/x86/fx_3dnow_fastpath.S \
+ x86/sse_xform1.S x86/sse_xform2.S \
+ x86/sse_xform3.S x86/sse_xform4.S \
+ x86/sse_normal.S "
linux-alpha:
$(MAKE) $(MFLAGS) -f Makefile.X11 targets \
"GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \
"GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
"APP_LIB_DEPS = -lm" \
- "ASM_SOURCES = X86/common_x86_asm.S X86/glapi_x86.S \
- X86/x86_xform2.S X86/x86_xform3.S X86/x86_xform4.S \
- X86/x86_cliptest.S \
- X86/mmx_blend.S \
- X86/3dnow_xform1.S X86/3dnow_xform2.S \
- X86/3dnow_xform3.S X86/3dnow_xform4.S \
- X86/3dnow_normal.S \
- X86/sse_xform1.S X86/sse_xform2.S \
- X86/sse_xform3.S X86/sse_xform4.S \
- X86/sse_normal.S"
+ "ASM_SOURCES = x86/common_x86_asm.S x86/glapi_x86.S \
+ x86/x86_xform2.S x86/x86_xform3.S x86/x86_xform4.S \
+ x86/x86_cliptest.S \
+ x86/mmx_blend.S \
+ x86/3dnow_xform1.S x86/3dnow_xform2.S \
+ x86/3dnow_xform3.S x86/3dnow_xform4.S \
+ x86/3dnow_normal.S \
+ x86/sse_xform1.S x86/sse_xform2.S \
+ x86/sse_xform3.S x86/sse_xform4.S \
+ x86/sse_normal.S"
linux-glide-debug:
$(MAKE) $(MFLAGS) -f Makefile.X11 targets \
$(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@
-X86/x86.o: X86/x86.c
- $(CC) -c -I. -I$(INCDIR) $(CFLAGS) $< -o $@
-X86/common_x86.o: X86/common_x86.c
- $(CC) -c -I. -I$(INCDIR) $(CFLAGS) $< -o $@
-X86/common_x86_asm.o: X86/common_x86_asm.S X86/matypes.h
-X86/3dnow.o: X86/3dnow.c
- $(CC) -c -I. -I$(INCDIR) $(CFLAGS) $< -o $@
-X86/sse.o: X86/sse.c
- $(CC) -c -I. -I$(INCDIR) $(CFLAGS) $< -o $@
-X86/matypes.h: mtypes.h tnl/t_context.h X86/gen_matypes.c
- $(CC) -I. -I$(INCDIR) $(CFLAGS) X86/gen_matypes.c -o X86/gen_matypes
- ./X86/gen_matypes > X86/matypes.h
- rm -f X86/gen_matypes X86/*.o
-
-# We have X86/matypes.h depend on X86/matypes.h so that if ASM_SOURCES
+x86/x86.o: x86/x86.c
+ $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@
+x86/common_x86.o: x86/common_x86.c
+ $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@
+x86/common_x86_asm.o: x86/common_x86_asm.S x86/matypes.h
+x86/3dnow.o: x86/3dnow.c
+ $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@
+x86/sse.o: x86/sse.c
+ $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@
+x86/matypes.h: main/mtypes.h tnl/t_context.h x86/gen_matypes.c
+ $(CC) $(INCLUDE_DIRS) $(CFLAGS) x86/gen_matypes.c -o x86/gen_matypes
+ ./x86/gen_matypes > x86/matypes.h
+ rm -f x86/gen_matypes x86/*.o
+
+# We have x86/matypes.h depend on x86/matypes.h so that if ASM_SOURCES
# is empty we don't get an invalid Makefile.
-$(ASM_SOURCES) X86/matypes.h: X86/matypes.h
+$(ASM_SOURCES) x86/matypes.h: x86/matypes.h
##### TARGETS #####