File: rules

package info (click to toggle)
libjogl-java 1.1.1%2Bdak1-9
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 9,932 kB
  • ctags: 24,946
  • sloc: java: 87,017; ansic: 12,156; xml: 1,625; cpp: 302; objc: 91; sh: 35; makefile: 23
file content (33 lines) | stat: -rwxr-xr-x 1,377 bytes parent folder | download
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
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk

JAVA_HOME            := /usr/lib/jvm/java-6-openjdk/
DEB_JARS             := ant-launcher antlrall ant-antlr
DEB_ANT_CLEAN_TARGET := clean
DEB_BUILDDIR         := jogl/make
DEB_ANT_BUILD_TARGET := all

install/libjogl-java::
	install -m 644 -D jogl/build/jogl.jar debian/libjogl-java/usr/share/java/jogl-$(DEB_UPSTREAM_VERSION).jar
	ln -s jogl-$(DEB_UPSTREAM_VERSION).jar debian/libjogl-java/usr/share/java/jogl.jar
	install -m 644 -D gluegen/build/gluegen-rt.jar debian/libjogl-java/usr/share/java/gluegen-rt-$(DEB_UPSTREAM_VERSION).jar
	ln -s gluegen-rt-$(DEB_UPSTREAM_VERSION).jar debian/libjogl-java/usr/share/java/gluegen-rt.jar

install/libjogl-jni::
	install -m 644 -D jogl/build/obj/libjogl.so debian/libjogl-jni/usr/lib/jni/libjogl.so
	install -m 644 -D jogl/build/obj/libjogl_awt.so debian/libjogl-jni/usr/lib/jni/libjogl_awt.so
# Commented since Cg is not available under Debian
#	install -m 644 -D jogl/build/obj/libjogl_cg.so debian/libjogl-jni/usr/lib/jni/libjogl_cg.so
	install -m 644 -D gluegen/build/obj/libgluegen-rt.so debian/libjogl-jni/usr/lib/jni/libgluegen-rt.so

install/libjogl-java-doc::
	$(DEB_ANT_INVOKE) javadoc

clean::
	$(RM) -r gluegen/build

get-orig-source::
	-uscan --upstream-version 0