#!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk openjdkdir=/usr/lib/jvm/java-6-openjdk openjdkheaders=classfile_constants.h jni.h jvmti.h jawt.h jdwpTransport.h openjdkheadersabs=$(addprefix $(openjdkdir)/include/,$(openjdkheaders)) package = mingw-w64-jni-headers target = x86_64-w64-mingw32 prefix=/usr incdir=$(prefix)/$(target)/include docdir = debian/$(package)/usr/share/doc/$(package) package32 = mingw-w32-jni-headers target32 = i686-w64-mingw32 incdir32=$(prefix)/$(target32)/include docdir32 = debian/$(package32)/usr/share/doc/$(package32) DEB_INSTALL_DOCS_ALL := DEB_SHLIBDEPS_INCLUDE := DEB_DH_ALWAYS_EXCLUDE := .svn INSTALL_PROGRAM = install clean:: rm -f compile common-install-arch rm -rf *~ debian/$(package) debian/$(package32) debian/*~ debian/files* debian/substvars debian/compat # # info pages, locale data and static libraries may conflict with # already installed binutils packages. # common-install-arch:: rm -rf debian/$(package32) mkdir -p debian/$(package32)$(incdir32) cp -pr src/win32/*.h debian/$(package32)$(incdir32) ln -s $(openjdkheadersabs) debian/$(package32)$(incdir32) rm -rf debian/$(package) mkdir -p debian/$(package)$(incdir) cp -pr src/win32/*.h debian/$(package)$(incdir) ln -s $(openjdkheadersabs) debian/$(package)$(incdir) touch common-install-arch