blob: ea4a48514e15acc2f8f0f74ee9abe903f959e0c0 (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
|
######################################################################
# 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 = /bin/bash
THISDIR = ${PWD}
HOME_LIB_DIR = /home/sven/lib
DEST_CLASSES_DIR = /usr/local/lib-java
UNIXTYPE = Linux-glibc2-xf86-x86
JDK_HOME = $(shell dirname $$(which java))/..
JAVASHAREINC = $(JDK_HOME)/include
JAVAOSINC = $(JDK_HOME)/include/linux
JAVAOSLIB = $(JDK_HOME)/jre/lib/i386
JAR_DESTS = /usr/local/lib/jdk1.2.2-FCS-blackdown/jre/lib/ext \
/usr/local/lib/jdk1.3.0-FCS-blackdown/jre/lib/ext \
/usr/local/lib/jdk1.2.2-sun/jre/lib/ext \
/usr/local/lib/jdk1.3.0-sun/jre/lib/ext \
/usr/local/lib/jdk1.3.0_02-sun/jre/lib/ext \
/usr/local/lib/jdk1.3.1-b15-sun/jre/lib/ext \
/usr/local/lib/jdk1.3.0-ibm/jre/lib/ext
CC = gcc
MKLIB = mklibs/mkslib.linux
MKEXP = echo
JAVAC = $(JDK_HOME)/bin/javac -classpath ".:$(THISDIR):$(THISDIR)/capsapi_classes.zip"
JAVADOC = $(JDK_HOME)/bin/javadoc
JAVAH = $(JDK_HOME)/bin/javah
JAR = $(JDK_HOME)/bin/jar
OGLINCDIR = /usr/X11R6/include
OGLLIBDIR = /usr/X11R6/lib
XINCDIR = /usr/X11R6/include
XLIBDIR = /usr/X11R6/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$(OGLINCDIR) -I$(XINCDIR)
CFLAGS = -fPIC -D_REENTRANT -c -Wall -O3 \
-D_X11_
GZIP = gzip
|