File: rules

package info (click to toggle)
apbs 1.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 38,840 kB
  • ctags: 7,893
  • sloc: ansic: 44,537; xml: 21,399; sh: 20,613; fortran: 17,796; yacc: 2,922; python: 2,804; makefile: 567; lex: 294; sed: 205; java: 134; awk: 26
file content (26 lines) | stat: -rwxr-xr-x 1,115 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
  
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/buildcore.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/dpatch.mk

FFLAGS = -Wall -g
FFLAGS += $(DEB_OPT_FLAG)

DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/usr
# because of a bug in the confifgure script, --enable-tools will *disable*
# building the tools (sf.net #1910799); however turn it off now, because
# tools/arpack/ardriv.f will lead to an FTBFS (sf.net #1910846)
DEB_CONFIGURE_EXTRA_FLAGS += --disable-tools
DEB_CONFIGURE_EXTRA_FLAGS += --with-fetk-include=/usr/include --with-fetk-library=/usr/lib
DEB_CONFIGURE_EXTRA_FLAGS += --with-blas=-lblas 
DEB_CONFIGURE_EXTRA_FLAGS += --with-mpich=/usr/lib/mpich
DEB_CONFIGURE_SCRIPT_ENV += CC="/usr/bin/mpicc.mpich" F77="/usr/bin/mpif77.mpich" FFLAGS="$(FFLAGS)"
DEB_MAKE_INSTALL_TARGET := -C $(CURDIR)/bin install DESTDIR=$(CURDIR)/debian/tmp
DEB_MAKE_CHECK_TARGET := -C $(CURDIR)/examples/ quicktest APBS=$(CURDIR)/bin/apbs APBSBIN=$(CURDIR)/bin/apbs

DEB_INSTALL_MANPAGES_apbs := debian/apbs.1

clean::
	rm -f tools/manip/psize.pyc