| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
export DEB_BUILD_MAINT_OPTIONSscip-debian debian hashcash 1.22-2 hashcash/rules/DEB_BUILD_MAINT_OPTIONS. = hardening=+all |
| 9 |
|
| 10 |
DEB_HOST_ARCHscip-debian debian hashcash 1.22-2 hashcash/rules/DEB_HOST_ARCH. ?= $(shellscip-debian debian hashcash 1.22-2 hashcash/rules/shell. dpkg-architecture -qDEB_HOST_ARCH) |
| 11 |
|
| 12 |
OPTFLAGSscip-debian debian hashcash 1.22-2 hashcash/rules/OPTFLAGS. = -O3 -funroll-loops |
| 13 |
|
| 14 |
ifeq ($(DEB_HOST_ARCHscip-debian debian hashcash 1.22-2 hashcash/rules/DEB_HOST_ARCH.),amd64) |
| 15 |
OPTFLAGSscip-debian debian hashcash 1.22-2 hashcash/rules/OPTFLAGS. = -O3 -funroll-loops -D_REENTRANT -D_THREAD_SAFE -fPIC |
| 16 |
endif |
| 17 |
|
| 18 |
ifeq ($(DEB_HOST_ARCHscip-debian debian hashcash 1.22-2 hashcash/rules/DEB_HOST_ARCH.),i386) |
| 19 |
OPTFLAGSscip-debian debian hashcash 1.22-2 hashcash/rules/OPTFLAGS. = -O3 -funroll-loops -march=i386 -mcpu=i486 -mmmx \ |
| 20 |
-D_REENTRANT -D_THREAD_SAFE -fPIC |
| 21 |
endif |
| 22 |
|
| 23 |
ifeq ($(DEB_HOST_ARCHscip-debian debian hashcash 1.22-2 hashcash/rules/DEB_HOST_ARCH.),powerpc) |
| 24 |
OPTFLAGSscip-debian debian hashcash 1.22-2 hashcash/rules/OPTFLAGS. = -O3 -funroll-loops -fno-inline -mcpu=powerpc -maltivec \ |
| 25 |
-mabi=altivec |
| 26 |
endif |
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
export DEB_CFLAGS_MAINT_APPENDscip-debian debian hashcash 1.22-2 hashcash/rules/DEB_CFLAGS_MAINT_APPEND. = $(OPTFLAGSscip-debian debian hashcash 1.22-2 hashcash/rules/OPTFLAGS.) -Wall -pedantic |
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
%scip-debian debian hashcash 1.22-2 hashcash/rules/`%`().: |
| 35 |
dh $@ |
| 36 |
|
| 37 |
execute_after_dh_auto_cleanscip-debian debian hashcash 1.22-2 hashcash/rules/execute_after_dh_auto_clean().: |
| 38 |
rm -f hashcash libhashcash.a |
| 39 |
rm -rf test |