File: rules

package info (click to toggle)
libsbsms 2.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,992 kB
  • ctags: 1,496
  • sloc: cpp: 17,244; sh: 10,969; makefile: 53; ansic: 31
file content (13 lines) | stat: -rwxr-xr-x 299 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)

ifneq ($(DEB_HOST_ARCH_CPU),amd64)
additional_confflags := --disable-sse
endif

%:
	dh $@ --parallel --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --enable-shared $(additional_confflags)