-# $Id: Makefile.X11,v 1.6 1999/10/08 09:27:09 keithw Exp $
+# $Id: Makefile.X11,v 1.9 1999/11/18 09:20:51 wertmann Exp $
# Mesa 3-D graphics library
-# Version: 3.1
+# Version: 3.3
# Copyright (C) 1995-1999 Brian Paul
# Makefile for core library
INCDIR = ../include
LIBDIR = ../lib
+
CORE_SOURCES = \
+ glapi.c \
+ glapinoop.c \
accum.c \
alpha.c \
alphabuf.c \
- api1.c \
- api2.c \
- apiext.c \
attrib.c \
bbox.c \
bitmap.c \
cva.c \
debug_xform.c \
depth.c \
+ dispatch.c \
dlist.c \
drawpix.c \
enable.c \
glmisc.c \
hash.c \
image.c \
+ imaging.c \
light.c \
lines.c \
logic.c \
masking.c \
matrix.c \
+ mem.c \
mmath.c \
mthreads.c \
pb.c \
pixel.c \
pipeline.c \
points.c \
- pointers.c \
polygon.c \
quads.c \
rastpos.c \
zoom.c \
X86/x86.c \
X86/common_x86.c \
- X86/3dnow.c
+ X86/3dnow.c \
+ X86/katmai.c
DRIVER_SOURCES = \
X/glxapi.c \
$(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 $@
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)