File: rules

package info (click to toggle)
liburcu 0.4.1-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,220 kB
  • ctags: 1,558
  • sloc: ansic: 10,317; sh: 9,120; makefile: 154
file content (14 lines) | stat: -rwxr-xr-x 231 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

CFLAGS = -O2
DEB_HOST_ARCH_CPU := $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)

ifeq ($(DEB_HOST_ARCH_CPU), sparc)
	CFLAGS += -Wa,-Av9a
endif

%:
	dh $@

override_dh_auto_configure:
	./configure --prefix=/usr