File: rules

package info (click to toggle)
plotutils 2.6-10
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 13,184 kB
  • sloc: ansic: 68,670; sh: 20,086; cpp: 12,382; yacc: 2,588; makefile: 838; lex: 137
file content (26 lines) | stat: -rwxr-xr-x 611 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/make -f
# -*- makefile -*-

DEB_CFLAGS_MAINT_APPEND := -Wall
DEB_CXXFLAGS_MAINT_APPEND := -Wall
ifneq (,$(filter $(DEB_HOST_ARCH), i386))
    DEB_CFLAGS_MAINT_APPEND += -ffloat-store
    DEB_CXXFLAGS_MAINT_APPEND += -ffloat-store
endif
export DEB_CFLAGS_MAINT_APPEND
export DEB_CXXFLAGS_MAINT_APPEND

export DEB_BUILD_MAINT_OPTIONS := hardening=+all

override_dh_auto_configure:
	dh_auto_configure --verbose -- \
		--enable-libplotter \
		--enable-libxmi

override_dh_auto_build:
	cd pic2plot/ && rm -vf gram.cc gram.h* && make gram.cc && \
		cp -a gram.hh gram.h
	dh_auto_build --verbose

%:
	dh $@