aboutsummaryrefslogtreecommitdiffstats
path: root/symbols.mak.solaris-sunos-57-sparc-gcc-32bit
diff options
context:
space:
mode:
Diffstat (limited to 'symbols.mak.solaris-sunos-57-sparc-gcc-32bit')
-rw-r--r--symbols.mak.solaris-sunos-57-sparc-gcc-32bit46
1 files changed, 46 insertions, 0 deletions
diff --git a/symbols.mak.solaris-sunos-57-sparc-gcc-32bit b/symbols.mak.solaris-sunos-57-sparc-gcc-32bit
new file mode 100644
index 0000000..34fb000
--- /dev/null
+++ b/symbols.mak.solaris-sunos-57-sparc-gcc-32bit
@@ -0,0 +1,46 @@
+######################################################################
+# Locations that are environment specific. You will need to
+# change these to reflect the location of Java and Mesa (or OpenGL)
+# and CC etc. on your system
+######################################################################
+
+SHELL = /usr/bin/bash
+
+THISDIR = ${PWD}
+HOME_LIB_DIR = ${HOME}/lib
+DEST_CLASSES_DIR = ${HOME}/lib-java
+UNIXTYPE = SUNOS-57-sparc
+
+JDK_HOME = $(shell dirname $$(which java))/..
+JAVASHAREINC = $(JDK_HOME)/include
+JAVAOSINC = $(JDK_HOME)/include/solaris
+
+CC = gcc
+MKLIB = mklibs/mkslib.solaris-gcc
+MKEXP = echo
+JAVAC = $(JDK_HOME)/bin/javac -classpath ".:$(THISDIR):$(THISDIR)/capsapi_classes.zip"
+JAVAH = $(JDK_HOME)/bin/javah
+JAR = $(JDK_HOME)/bin/jar
+
+OGLINCDIR = /usr/X/include
+OGLLIBDIR = /usr/X/lib
+
+XINCDIR = /usr/X/include
+XLIBDIR = /usr/X/lib
+
+MATHLIB = -lm
+
+OGLLIBS = -L$(OGLLIBDIR) -lGL -lGLU
+
+XLIBS = -L$(XLIBDIR) -lX11
+
+LIBS = $(OGLLIBS) $(XLIBS) $(MATHLIB) -lpthread -ldl
+
+INCL_OS = -I. -I$(JAVASHAREINC) -I$(JAVAOSINC) \
+ -I$(XINCDIR) -I$(OGLINCDIR)
+
+CFLAGS = -fPIC -D_REENTRANT -c -Wall -O3 \
+ -D_X11_ -Dsparc -D__BUILTIN_VA_ARG_INCR \
+ -DGLU_VERSION_1_2
+
+GZIP = gzip