summaryrefslogtreecommitdiff
path: root/org.handhelds.familiar/classes/java.bbclass
blob: 71f50dab818e7c5961547d1747e46759474f5ecd (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
# java.bbclass OE class file
# Copyright (C) 2006, Rene Wagner. All Rights Reserved
# Released under the MIT license (see org.handhelds.familiar/COPYING.MIT)

DEPENDS += "java-wrappers-native \
	classpath \
	fastjar-native \
	jamvm-native \
	jikes-native \
	cp-tools-native \
	zip-native"
RDEPENDS += "classpath"

export JAVA = "jamvm"
export JAVAC = "jikes-classpath"
export JAVAH = "javah-cp -classpath ."
export JAVAP = "false"
export JAR = "fastjar"
export JAVADOC = "true"

export CLASSPATH = ".:${STAGING_DATADIR}/classpath/glibj.zip"

CFLAGS += "-I${STAGING_INCDIR}/classpath"

EXTRA_OEMAKE += "-e JAVA='${JAVA}' JAVAC='${JAVAC}' JAVAH='${JAVAH}' JAR='${JAR}' JAVADOC='${JAVADOC}'"