3
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
4
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
8
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
14
config.status: configure
16
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" --disable-pinentry-gtk --disable-pinentry-gtk2 --disable-pinentry-qt
17
cd pinentry-x2go && qmake-qt4
20
build-stamp: config.status
23
cd pinentry-x2go && make
31
cd pinentry-x2go && if [ -e Makefile ]; then $(MAKE) distclean; fi
39
cd pinentry-x2go && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/pinentry-x2go install
41
# Build architecture-independent files here.
42
binary-indep: build install
43
# We have nothing to do by default.
45
# Build architecture-dependent files here.
46
binary-arch: build install
49
dh_installchangelogs ChangeLog
63
binary: binary-indep binary-arch
64
.PHONY: build clean binary-indep binary-arch binary install
3
export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
4
export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
5
export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
6
export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
9
dh --with autoreconf $@
11
override_dh_auto_install: