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 27 28 29 30 31 32 33 34 35 36 37 38 39
|
#!/usr/bin/make -f
# -*- makefile -*-
#export DH_VERBOSE=1
ifneq (,$(filter $(DEB_HOST_ARCH), mips mipsel))
DEBUG=-g1
else
DEBUG=
endif
export FCCPP = /lib/cpp -C -ansi -ffreestanding
export FCFLAGS = $(shell dpkg-buildflags --get FFLAGS) $(DEBUG) -pipe -funroll-loops -ffast-math -ffree-line-length-none
export CFLAGS = $(shell dpkg-buildflags --get CFLAGS) $(DEBUG)
%:
dh $@ --parallel --with autoreconf --buildsystem autoconf
override_dh_auto_clean:
dh_auto_clean
dh_auto_clean --buildsystem cmake
-rm -f testsuite/regression/lda_c/lda_c_pk09.*
override_dh_auto_configure:
dh_auto_configure -- --enable-shared
dh_auto_configure --buildsystem cmake -- \
-DCMAKE_BUILD_TYPE=Release \
override_dh_auto_build:
dh_auto_build
dh_auto_build --buildsystem cmake
override_dh_auto_test:
-dh_auto_test -- -k
-dh_auto_test --buildsystem cmake -- -k
override_dh_auto_install:
dh_auto_install
dh_auto_install --buildsystem cmake
|