###################################################################### # 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 = ${THISDIR}/lib DEST_CLASSES_DIR = ${THISDIR}/classes UNIXTYPE = SUNOS-58 ARCH = $(shell uname -p) JDK_HOME = $(shell dirname $$(which java))/.. JAVASHAREINC = $(JDK_HOME)/include JAVAOSINC = $(JDK_HOME)/include/solaris JAVAOSLIB = $(JDK_HOME)/jre/lib/$(ARCH) JAR_DESTS = ${THISDIR} CC = cc MKLIB = sh mklibs/mkslib.solaris-cc MKEXP = echo JAVAC = $(JDK_HOME)/bin/javac -classpath ".:$(THISDIR):$(THISDIR)/png.jar" JAVAH = $(JDK_HOME)/bin/javah JAR = $(JDK_HOME)/bin/jar OGLINCDIR = /usr/X/include XINCDIR = /usr/X/include XLIBDIR = /usr/X/lib MATHLIB = -lm XLIBS = -L$(XLIBDIR) -lX11 LIBS = $(XLIBS) $(MATHLIB) -lpthread -ldl INCL_OS = -I. -I$(JAVASHAREINC) -I$(JAVAOSINC) \ -I$(XINCDIR) -I$(OGLINCDIR) CFLAGS = -KPIC -xCC -D_REENTRANT -c -xO3 \ -D_X11_ -D__BUILTIN_VA_ARG_INCR \ -DGLU_VERSION_1_2 GZIP = gzip