File: rules

package info (click to toggle)
swt-gtk 3.5.1-2.1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 11,744 kB
  • ctags: 23,317
  • sloc: java: 109,142; ansic: 30,160; cpp: 8,948; sh: 125; makefile: 55; xml: 42
file content (39 lines) | stat: -rwxr-xr-x 831 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
34
35
36
37
38
39
#!/usr/bin/make -f

alpha := 64
amd64 := 64
ia64  := 64
ppc64 := 64
DEB_PATCHDIRS = debian/patches/common debian/patches/$($(DEB_HOST_ARCH_CPU))

DEB_DH_MAKESHLIBS_ARGS_ALL := -Xjni

AWT_LIB_DIR = $(DEB_HOST_ARCH_CPU)

ifneq (,$(filter $(DEB_HOST_ARCH), lpia))
	AWT_LIB_DIR = i386
endif

ifneq (,$(filter $(DEB_HOST_ARCH), powerpc))
	AWT_LIB_DIR = ppc
endif 

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

include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/class/makefile.mk
include /usr/share/cdbs/1/rules/debhelper.mk

include /usr/share/gcj/debian_defaults

makecleanbuildir::patch

DEB_MAKE_MAKEFILE = debian/Makefile

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

common-binary-predeb-arch::
	dh_xulrunner