File: rules

package info (click to toggle)
vc 1.4.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,552 kB
  • sloc: cpp: 19,220; ansic: 15,669; sh: 453; xml: 186; makefile: 30
file content (15 lines) | stat: -rwxr-xr-x 284 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

# Use SSE2 only on amd64
ifeq (,$(filter $(DEB_TARGET_ARCH),amd64))
	TARGET_ARCHITECTURE=none
else
	TARGET_ARCHITECTURE=x86-64
endif

%:
	dh $@ --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure -- \
		-DTARGET_ARCHITECTURE=$(TARGET_ARCHITECTURE)