Codebase list lwjgl / 4c845b5 debian / rules
4c845b5

Tree @4c845b5 (Download .tar.gz)

rules @4c845b5

ad084d3
 
3bef758
 
517f15b
 
3bef758
7a75996
ad084d3
 
bcd79cd
ad084d3
 
c6d1022
ad084d3
 
3e4a4c9
ad084d3
 
 
9cc5dad
 
 
 
#!/usr/bin/make -f

# NOTE: jutils is explicitly included here (without a depends in our control
# file) because jinput.jar lacks jutils in its own "Class-Path" (bug #626002)
# 2016-04-09: Although #626002 appears to be fixed jutils.jar is still required
# on the CLASSPATH.
export CLASSPATH=/usr/share/java/jinput.jar:/usr/share/java/jutils.jar
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with javahelper

override_dh_auto_build:
	dh_auto_build -- jars compile_native javadoc

override_dh_auto_install:
	jh_installjavadoc -pliblwjgl-java-doc doc/javadoc

override_dh_auto_clean:
	find src/native/ -name '*org_lwjgl_*.h' -delete

override_dh_shlibdeps:
	#workaround for "couldn't find libjawt.so"
	LD_LIBRARY_PATH="/usr/lib/jvm/default-java/lib:$(LD_LIBRARY_PATH)" dh_shlibdeps