-# $Id: Makefile.X11,v 1.4 1999/09/15 16:31:54 brianp Exp $
+# $Id: Makefile.X11,v 1.19 2000/04/07 16:28:38 brianp Exp $
# Mesa 3-D graphics library
-# Version: 3.1
-# Copyright (C) 1995-1999 Brian Paul
+# Version: 3.3
+# Copyright (C) 1995-2000 Brian Paul
# Makefile for core library
GL_MAJOR = 1
GL_MINOR = 2
-GL_TINY = $(MESA_MAJOR)$(MESA_MINOR)$(MESA_TINY)
+GL_TINY = 0$(MESA_MAJOR)0$(MESA_MINOR)0$(MESA_TINY)
VPATH = RCS
INCDIR = ../include
LIBDIR = ../lib
+
CORE_SOURCES = \
+ aatriangle.c \
accum.c \
alpha.c \
alphabuf.c \
- api1.c \
- api2.c \
- apiext.c \
attrib.c \
bbox.c \
bitmap.c \
blend.c \
+ buffers.c \
clip.c \
colortab.c \
config.c \
cva.c \
debug_xform.c \
depth.c \
+ dispatch.c \
dlist.c \
drawpix.c \
enable.c \
feedback.c \
fog.c \
get.c \
+ glapi.c \
+ glapinoop.c \
+ glthread.c \
hash.c \
+ hint.c \
image.c \
+ imaging.c \
light.c \
lines.c \
logic.c \
masking.c \
matrix.c \
- misc.c \
+ mem.c \
mmath.c \
- mthreads.c \
pb.c \
- pixel.c \
pipeline.c \
+ pixel.c \
+ pixeltex.c \
points.c \
- pointers.c \
polygon.c \
quads.c \
rastpos.c \
shade.c \
span.c \
stages.c \
+ state.c \
stencil.c \
teximage.c \
texobj.c \
texstate.c \
texture.c \
+ texutil.c \
translate.c \
triangle.c \
varray.c \
zoom.c \
X86/x86.c \
X86/common_x86.c \
- X86/3dnow.c
+ X86/3dnow.c \
+ X86/katmai.c
DRIVER_SOURCES = \
X/glxapi.c \
X/fakeglx.c \
- X/realglx.c \
X/xfonts.c \
X/xmesa1.c \
X/xmesa2.c \
X/xmesa4.c \
OSmesa/osmesa.c \
SVGA/svgamesa.c \
+ SVGA/svgamesa8.c \
+ SVGA/svgamesa15.c \
+ SVGA/svgamesa16.c \
+ SVGA/svgamesa24.c \
+ SVGA/svgamesa32.c \
FX/fxapi.c \
FX/fxclip.c \
FX/fxcva.c \
FX/fxtexman.c \
FX/fxtrifuncs.c \
FX/fxvsetup.c \
- FX/fxglidew.c
-# GGI/ggimesa.c
+ FX/fxglidew.c
ASM_SOURCES =
$(ADDITIONAL_OBJ)
-#who put these here!?!
-#GL_LIB = libMesaGL.so
-#GLU_LIB = libMesaGLU.so
-#GLUT_LIB = libglut.so
-#CC = gcc
-#INCLUDES=-I. -I../include -I/usr/X11R6/include -I/usr/include/glide -I/usr/local/glide/include
-
-
##### RULES #####
.c.o:
$(CC) -c -I. -I$(INCDIR) $(CFLAGS) $< -o $@
.S.o:
- $(CC) -c $(CFLAGS) $< -o $@
+ $(CC) -c -I. $(CFLAGS) $< -o $@
# UGH! These rules shouldn't be needed but IRIX's make (and others?) needs them
$(CC) -c -I. -I$(INCDIR) $(CFLAGS) $< -o $@
X/fakeglx.o: X/fakeglx.c
$(CC) -c -I. -I$(INCDIR) $(CFLAGS) $< -o $@
-X/realglx.o: X/realglx.c
- $(CC) -c -I. -I$(INCDIR) $(CFLAGS) $< -o $@
X/xfonts.o: X/xfonts.c
$(CC) -c -I. -I$(INCDIR) $(CFLAGS) $< -o $@
X/xmesa1.o: X/xmesa1.c
$(CC) -c -I. -I$(INCDIR) $(CFLAGS) $< -o $@
SVGA/svgamesa.o: SVGA/svgamesa.c
$(CC) -c -I. -I$(INCDIR) $(CFLAGS) $< -o $@
+SVGA/svgamesa8.o: SVGA/svgamesa8.c
+ $(CC) -c -I. -I$(INCDIR) $(CFLAGS) $< -o $@
+SVGA/svgamesa15.o: SVGA/svgamesa15.c
+ $(CC) -c -I. -I$(INCDIR) $(CFLAGS) $< -o $@
+SVGA/svgamesa16.o: SVGA/svgamesa16.c
+ $(CC) -c -I. -I$(INCDIR) $(CFLAGS) $< -o $@
+SVGA/svgamesa24.o: SVGA/svgamesa24.c
+ $(CC) -c -I. -I$(INCDIR) $(CFLAGS) $< -o $@
+SVGA/svgamesa32.o: SVGA/svgamesa32.c
+ $(CC) -c -I. -I$(INCDIR) $(CFLAGS) $< -o $@
OSmesa/osmesa.o: OSmesa/osmesa.c
$(CC) -c -I. -I$(INCDIR) $(CFLAGS) $< -o $@
FX/fxapi.o: FX/fxapi.c
$(CC) -c -I. -I$(INCDIR) $(CFLAGS) $< -o $@
X86/3dnow.o: X86/3dnow.c
$(CC) -c -I. -I$(INCDIR) $(CFLAGS) $< -o $@
-
+X86/katmai.o: X86/katmai.c
+ $(CC) -c -I. -I$(INCDIR) $(CFLAGS) $< -o $@
##### TARGETS #####
# @echo "Specify a target configuration"
clean:
- -rm *.o *~ */*.o */*~
+ -rm *.o *~ */*.o */*~ *.lo *.la
+ -rm -rf .libs
targets: $(LIBDIR)/$(GL_LIB)