File: rules

package info (click to toggle)
cxxtools 2.2.1-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 7,148 kB
  • ctags: 8,786
  • sloc: cpp: 51,630; ansic: 15,967; sh: 11,171; makefile: 748
file content (24 lines) | stat: -rwxr-xr-x 830 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f

DEB_BUILD_PARALLEL=yes

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

DEB_CONFIGURE_NORMAL_ARGS += --enable-shared --enable-static --with-iconvstream=yes

# Automatic detection doesn't fallback to working atomic type.
# Force it to pthread for architectures not having specific code.
ifeq (,$(filter $(DEB_HOST_ARCH_CPU), amd64 i386 mips mipsel powerpc))
DEB_CONFIGURE_NORMAL_ARGS += --with-atomictype=pthread
endif

clean::
	rm -f config.sub config.guess

binary-post-install/libcxxtools8::
	rm -f debian/libcxxtools8/usr/share/doc/libcxxtools6/README #just some installation notes

binary-post-install/libcxxtools-dev::
	rm -f debian/libcxxtools-dev/usr/share/doc/libcxxtools-dev/README #just some installation notes