blob: 6b3363d723a2ed61d9485c1cc980d673ac6fa47b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
######################################################################
# 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 = /h/bpape/bash-2.04/bash
THISDIR = ${PWD}
HOME_LIB_DIR = ${HOME}/lib
DEST_CLASSES_DIR = ${HOME}/lib-java
UNIXTYPE = SUNOS-56-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/GL
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 = -fPIC -D_REENTRANT -c -Wall -O3 \
-D_X11_ -Dsparc -D__BUILTIN_VA_ARG_INCR \
-DGLU_VERSION_1_2
GZIP = gzip
|