CONFIG_NAME = sunos5-gcc
+ASM_SOURCES = $(SPARC_SOURCES) $(SPARC_API)
+
# Compiler and flags
CC = gcc
CXX = g++
-CFLAGS = -O3 -I/usr/openwin/include -fPIC -fomit-frame-pointer -D_REENTRANT -DUSE_XSHM
-CXXFLAGS = -O3 -I/usr/openwin/include -fPIC -fomit-frame-pointer -D_REENTRANT
+CFLAGS = -O3 -I/usr/openwin/include -fPIC -fomit-frame-pointer -D_REENTRANT -DUSE_XSHM -DUSE_SPARC_ASM
+CXXFLAGS = -O3 -I/usr/openwin/include -fPIC -fomit-frame-pointer -D_REENTRANT -DUSE_SPARC_ASM
GLUT_CFLAGS = -fexceptions -DSOLARIS_2_4_BUG
GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm
#endif
#ifdef USE_SPARC_ASM
-#include "SPARC/sparc.h"
+#include "sparc/sparc.h"
#endif
#ifndef MESA_VERBOSE
#define NORM_ARGS const GLmatrix *mat, \
GLfloat scale, \
- const GLvector3f *in, \
+ const GLvector4f *in, \
const GLfloat *lengths, \
- GLvector3f *dest
+ GLvector4f *dest
extern void _mesa_sparc_transform_normalize_normals(NORM_ARGS);
extern void _mesa_sparc_transform_normalize_normals_no_rot(NORM_ARGS);
}
#endif /* USE_SPARC_ASM */
}
-
-
-