aboutsummaryrefslogtreecommitdiffstats
path: root/symbols.mak.linux-java2-xf86-x86-32bit
blob: c85a4703cc5a4da89e0b8ddb9dee688afcf05e3f (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
######################################################################
# 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 must point to the highest JDK being used,
# e.g. to JDK14_HOME, if using JDK14, otherwise JDK13_HOME
#
# AT LEAST JDK13_HOME MUST BE DEFINED !
#
JDK13_HOME		= /usr/local/lib/jdk1.3.1-FCS-blackdown
JDK14_HOME		= /usr/local/lib/jdk1.4.0-sun
JDK_HOME		= $(JDK14_HOME)

JAVASHAREINC    	= $(JDK_HOME)/include
JAVAOSINC  		= $(JDK_HOME)/include/linux
JAVAOSLIB  		= $(JDK_HOME)/jre/lib/i386

JAVADOC 		= $(JDK13_HOME)/bin/javadoc
JAVAH 			= $(JDK_HOME)/bin/javah
JAR 			= $(JDK13_HOME)/bin/jar

# If MSJAVAC is specified on Win32 platforms, it will be used to
# compile window system-specific files for the Microsoft VM. In order
# to build a complete GL4Java distribution on Windows, MSJAVAC must be
# specified.
# MSJAVAC 		= //D/MSJVM/Bin/jvc -nomessage -x- -cp:p .\;$(THISDIR_w32)\;$(THISDIR_w32)\\CAPSAPI_CLASSES.ZIP

# At least JAVAC_13 must be defined.
# JAVAC_14 may be defined to create JDK 1.4 related things ..
#
# JAVAC_14 is being used to build the JDK 1.4 specific classes only
#
# JAVAC_13 is being used to build all JDK 1.1 - 1.3 related classes
#
# In order to build a complete GL4Java distribution on X11, Win32, and (once JDK 1.4 is available)
# Macintosh, both JAVAC_13 and JAVAC_14 must be specified.
#
JAVAC_13 		= $(JDK13_HOME)/bin/javac -classpath ".:$(THISDIR):$(THISDIR)/capsapi_classes.zip"
JAVAC_14 		= $(JDK14_HOME)/bin/javac -classpath ".:$(THISDIR):$(THISDIR)/capsapi_classes.zip"

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.3.1-FCS-blackdown/jre/lib/ext \
			  /usr/local/lib/jdk1.2.2-sun/jre/lib/ext \
			  /usr/local/lib/jdk1.3.0_02-sun/jre/lib/ext \
			  /usr/local/lib/jdk1.3.0-ibm/jre/lib/ext \
			  /usr/local/lib/jdk1.3.1-sun/jre/lib/ext \
			  /usr/local/lib/jdk1.4.0-sun/jre/lib/ext

CC			= gcc
MKLIB 			= mklibs/mkslib.linux
MKEXP 			= echo

OGLINCDIR 		= /usr/X11R6/include

XINCDIR 		= /usr/X11R6/include
XLIBDIR 		= /usr/X11R6/lib

MATHLIB 		= -lm

XLIBS   		= -L$(XLIBDIR) -lX11

LIBS	    		= $(XLIBS) $(MATHLIB) -lpthread -ldl

INCL_OS    		= -I. -I$(JAVASHAREINC) -I$(JAVAOSINC) \
	                  -I$(OGLINCDIR) -I$(XINCDIR) 

#CFLAGS      		= -fPIC -D_REENTRANT -c -Wall -O3 \
#			  -D_X11_ -DGLDEBUG

CFLAGS      		= -fPIC -D_REENTRANT -c -Wall -g \
			  -D_X11_ -DGLDEBUG

GZIP		        = gzip