File: rules

package info (click to toggle)
freefem3d 1.0pre10-3.4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 25,016 kB
  • ctags: 8,675
  • sloc: cpp: 57,204; sh: 8,788; yacc: 2,975; makefile: 1,149; ansic: 508; perl: 110
file content (28 lines) | stat: -rwxr-xr-x 861 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
27
28
#!/usr/bin/make -f

HOST_ARCH_CPU := $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
ifeq ($(HOST_ARCH_CPU), ppc64el)
	export DEB_CPPFLAGS_MAINT_APPEND = -U__vector
endif

export DEB_CXXFLAGS_MAINT_APPEND = -std=gnu++98

include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/autoreconf.mk

DEB_AC_AUX_DIR = $(DEB_SRCDIR)/m4
DEB_CONFIGURE_EXTRA_FLAGS := --enable-optimize --disable-gui

DEB_AUTO_UPDATE_ACLOCAL = 1.11
DEB_AUTO_UPDATE_LIBTOOL = pre -c -f
DEB_AUTO_UPDATE_AUTOMAKE = 1.11 -a -c
DEB_AUTO_UPDATE_AUTOCONF = yes
DEB_AUTO_UPDATE_AUTOHEADER = yes

clean::
	rm -f aclocal.m4 config.guess config.h.in config.sub install-sh
	rm -f libtool ltconfig ltmain.sh missing mkinstalldirs stamp-h.in
	rm -f depcomp stamp-h1 configure
	rm -rf autom4te.cache
	find -name Makefile.in | xargs -r rm -f