File: rules

package info (click to toggle)
fsm-lite 1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 192 kB
  • sloc: cpp: 563; makefile: 37
file content (20 lines) | stat: -rwxr-xr-x 419 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

# DH_VERBOSE := 1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

DEB_BUILD_ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)

ifeq ($(DEB_BUILD_ARCH), amd64)
        CPPFLAGS += -msse4.2
endif

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)"

override_dh_auto_test:
	echo "Upstream source is lacking file test.list which is needed for testing."