do not operate on strongswan-padlock on non-x86

This commit is contained in:
Martin Willi
2009-02-17 18:30:02 +00:00
parent abe1dafaa4
commit 6ce32d8719
2 changed files with 7 additions and 17 deletions
+5 -9
View File
@@ -4,19 +4,15 @@
CC = gcc
CFLAGS = -Wall -Wno-format -Wno-pointer-sign -Wno-strict-aliasing -g
INSTALL_PROGRAM = install
CONFIGURE_ARGS = \
--disable-fips-prf --enable-openssl --enable-nm --enable-ldap \
--enable-eap-gtc --enable-eap-md5 --enable-agent --enable-curl \
--enable-padlock --sysconfdir=/etc --prefix=/usr --libexecdir=/usr/lib \
--sysconfdir=/etc --prefix=/usr --libexecdir=/usr/lib \
--with-ipsecdir=/usr/lib/strongswan
ifeq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O2
endif
ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
MAKEFLAGS += -j$(NUMJOBS)
@@ -52,17 +48,17 @@ binary-arch: build install
dh_installchangelogs NEWS
dh_installdocs README
dh_installinit --name=ipsec
dh_install
dh_install -s
dh_link
dh_strip
dh_compress
dh_fixperms -X etc/ipsec.secrets -X etc/ipsec.d
dh_fixperms -Xetc/ipsec.secrets -Xetc/ipsec.d
dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_gencontrol -s
dh_md5sums
dh_builddeb
dh_builddeb -s
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install