Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 DEB_CFLAGS_MAINT_APPEND := -Wall
5 DEB_CXXFLAGS_MAINT_APPEND := -Wall
6 ifneq (,$(filter $(DEB_HOST_ARCH), i386))
7 DEB_CFLAGS_MAINT_APPEND += -ffloat-store
8 DEB_CXXFLAGS_MAINT_APPEND += -ffloat-store
9 endif
10 export DEB_CFLAGS_MAINT_APPEND
11 export DEB_CXXFLAGS_MAINT_APPEND
12
13 export DEB_BUILD_MAINT_OPTIONS := hardening=+all
14
15 override_dh_auto_configure:
16 dh_auto_configure --verbose -- \
17 --enable-libplotter \
18 --enable-libxmi
19
20 override_dh_auto_build:
21 cd pic2plot/ && rm -vf gram.cc gram.h* && make gram.cc && \
22 cp -a gram.hh gram.h
23 dh_auto_build --verbose
24
25 %:
26 dh $@