File: rules

package info (click to toggle)
multimon 1.0-8
  • links: PTS
  • area: main
  • in suites: sid, trixie
  • size: 588 kB
  • sloc: ansic: 8,144; makefile: 390; perl: 41
file content (20 lines) | stat: -rwxr-xr-x 434 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

export DEB_CFLAGS_MAINT_APPEND=-fgnu89-inline
include /usr/share/dpkg/buildtools.mk
MULTIMON_BINDIR=bin-$(shell uname -m)
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export DH_VERBOSE=1

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- 'CC_FOR_BUILD=$(CC_FOR_BUILD)'

override_dh_auto_clean:
	rm -f $(MULTIMON_BINDIR)/mkcostab
	rm -f $(MULTIMON_BINDIR)/gen
	rm -f $(MULTIMON_BINDIR)/multimon
	dh_auto_clean