| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
export HOME_LORENE = $(shell pwd) |
| 7 |
|
| 8 |
|
| 9 |
DPKG_EXPORT_BUILDFLAGS = 1 |
| 10 |
include /usr/share/dpkg/default.mk |
| 11 |
|
| 12 |
|
| 13 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=-lto |
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
export liblorene_soname = liblorene-debian.so.1 |
| 23 |
export liblorene_filename = liblorene-debian.so.1.0.0 |
| 24 |
export liblorenef77_soname = liblorenef77-debian.so.1 |
| 25 |
export liblorenef77_filename = liblorenef77-debian.so.1.0.0 |
| 26 |
export liblorene_export_soname = liblorene_export-debian.so.0 |
| 27 |
export liblorene_export_filename = liblorene_export-debian.so.0.0.0 |
| 28 |
|
| 29 |
|
| 30 |
%: |
| 31 |
dh $@ |
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
override_dh_auto_build-indep: local_settings |
| 40 |
$(MAKE) doc |
| 41 |
|
| 42 |
override_dh_auto_test-indep: |
| 43 |
|
| 44 |
override_dh_auto_build-arch: local_settings |
| 45 |
$(MAKE) cpp fortran export test |
| 46 |
$(MAKE) -f debian/Makefile.sharedlibraries |
| 47 |
|
| 48 |
override_dh_auto_test-arch: |
| 49 |
Test/test_lapack |
| 50 |
|
| 51 |
override_dh_auto_install override_dh_auto_install-indep override_dh_auto_install-arch: |
| 52 |
|
| 53 |
override_dh_auto_clean: local_settings |
| 54 |
$(MAKE) -f debian/Makefile.sharedlibraries clean |
| 55 |
$(MAKE) uninstall |
| 56 |
|
| 57 |
local_settings: debian/local_settings |
| 58 |
cp debian/local_settings ./local_settings |
| 59 |
|
| 60 |
|
| 61 |
|
| 62 |
|
| 63 |
|
| 64 |
|
| 65 |
|
| 66 |
|
| 67 |
|
| 68 |
|
| 69 |
|
| 70 |
|
| 71 |
CVS_DATE = today |
| 72 |
get-orig-source: |
| 73 |
ifneq (,$(wildcard Lorene)) |
| 74 |
$(error "Lorene file or directory exists, please remove it before running get-orig-source") |
| 75 |
else |
| 76 |
cvs -z5 -d :pserver:anonymous:[email protected]:/cvsroot export -D$(CVS_DATE) Lorene |
| 77 |
|
| 78 |
rm -Rf Lorene/C++/Include_extra |
| 79 |
endif |