File: binary-softfloat.mk

package info (click to toggle)
gcc-3.3 1%3A3.3.6ds1-34
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 25,808 kB
  • sloc: sh: 10,372; makefile: 1,050; perl: 155; awk: 23; cpp: 14
file content (33 lines) | stat: -rw-r--r-- 976 bytes parent folder | download | duplicates (10)
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
arch_binaries  := $(arch_binaries) softfloat

p_softfloat  = gcc$(pkg_ver)-soft-float
d_softfloat  = debian/$(p_softfloat)

dirs_softfloat = \
	$(PF)/$(libdir)/soft-float \
	$(gcc_lib_dir)/soft-float

files_softfloat = \
	$(PF)/$(libdir)/soft-float \
	$(gcc_lib_dir)/soft-float

# ----------------------------------------------------------------------
$(binary_stamp)-softfloat: $(install_stamp)
	dh_testdir
	dh_testroot
	mv $(install_stamp) $(install_stamp)-tmp

	rm -rf $(d_softfloat)
	dh_installdirs -p$(p_softfloat) $(dirs_softfloat)
	dh_movefiles -p$(p_softfloat) $(files_softfloat)
	debian/dh_doclink -p$(p_softfloat) $(p_base)
	dh_strip -p$(p_softfloat) -Xlibgcj.a
	dh_compress -p$(p_softfloat)
	dh_fixperms -p$(p_softfloat)
	dh_shlibdeps -p$(p_softfloat)
	dh_gencontrol -p$(p_softfloat) -u-v$(DEB_VERSION)
	dh_installdeb -p$(p_softfloat)
	dh_md5sums -p$(p_softfloat)
	dh_builddeb -p$(p_softfloat)

	trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)