File: rules

package info (click to toggle)
libh3 4.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 47,648 kB
  • sloc: ansic: 14,582; javascript: 423; sh: 46; makefile: 8
file content (14 lines) | stat: -rwxr-xr-x 308 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

ifneq ($(filter %i386 m68k,$(DEB_HOST_ARCH)),)
# avoid excess precision on i386 and m68k
export DEB_CFLAGS_MAINT_APPEND += -ffloat-store
endif

%:
	dh $@ --buildsystem cmake

override_dh_auto_configure:
	dh_auto_configure -- -DBUILD_SHARED_LIBS=1