###################################################################### # 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 = SGI-IRIX-65-mips JDK_HOME = $(shell dirname $$(which java))/.. JAVASHAREINC = $(JDK_HOME)/include JAVAOSINC = $(JDK_HOME)/include/irix CC = gcc MKLIB = mklibs/mkslib.irix6.2-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/include XINCDIR = /usr/include/X11 XLIBDIR = /usr/lib/X11 MATHLIB = -lm XLIBS = -L$(XLIBDIR) -lX11 #LIBS = $(XLIBS) $(MATHLIB) -lpthread -ldl LIBS = $(XLIBS) $(MATHLIB) -ldl INCL_OS = -I. -I$(JAVASHAREINC) -I$(JAVAOSINC) \ -I$(XINCDIR) -I$(OGLINCDIR) CFLAGS = -fPIC -D_REENTRANT -c -Wall -O3 \ -D_X11_ GZIP = gzip