debian swirl logo

Back to the packages list swt-gtk

#!/usr/bin/make -f

export DEB_CFLAGS_MAINT_APPEND= -fPIC
include /usr/share/dpkg/buildflags.mk
CFLAGS+= $(CPPFLAGS)
export DEB_LDFLAGS  := $(LDFLAGS)

include /usr/share/cdbs/1/class/makefile.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/javahelper.mk

include /usr/share/javahelper/java-vars.mk

include /usr/share/gcj/debian_defaults

DEB_PATCHDIRS = debian/patches/common
BITS = $(shell dpkg-architecture -qDEB_HOST_ARCH_BITS)

ifeq (64,$(BITS))
DEB_PATCHDIRS += debian/patches/64
endif

# Must be included after setting DEB_PATCHDIRS
include /usr/share/cdbs/1/rules/simple-patchsys.mk



DEB_DH_MAKESHLIBS_ARGS_ALL := -Xjni

AWT_LIB_DIR := $(JAVA_ARCH)

export AWT_LIB_PATH= /usr/lib/jvm/default-java/jre/lib/$(AWT_LIB_DIR)


makecleanbuildir::patch

DEB_MAKE_MAKEFILE = debian/Makefile

ifneq (,$(filter $(DEB_HOST_ARCH), $(gcj_native_archs)))
common-binary-post-install-arch::
		dh_nativejava -a
endif

Builds:

libswt-cairo-gtk-3-jni
standard widget toolkit for gtk+ cairo jni library
libswt-glx-gtk-3-jni
standard widget toolkit for gtk+ glx jni library
libswt-gnome-gtk-3-jni
standard widget toolkit for gtk+ gnome jni library
libswt-gtk-3-java-gcj
standard widget toolkit for gtk+ native library
libswt-gtk-3-java
standard widget toolkit for gtk+ java library
libswt-gtk-3-jni
standard widget toolkit for gtk+ jni library
libswt-webkit-gtk-3-jni
standard widget toolkit for gtk+ webkit jni library