summaryrefslogtreecommitdiff
path: root/debian/rules
blob: c09198aecd83cdc32e6158129668ab8e719e813a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

#export DH_VERBOSE=1

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

ifneq ($(findstring $(DEB_BUILD_ARCH), mips mipsel),)
	CFLAGS += -mplt
endif

DEB_CONFIGURE_EXTRA_FLAGS := --disable-Werror 
DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
DEB_DH_INSTALL_ARGS := --sourcedir=$(DEB_DESTDIR)

DEB_MAKE_CHECK_TARGET = check