Thomas Uhle: modify Makefile so configure finds the include files

of PC/SC lite.


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3876 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
aj 2009-12-03 07:05:15 +00:00
parent b2c5ab3209
commit 073c9da342
1 changed files with 2 additions and 2 deletions

View File

@ -6,14 +6,14 @@ CONFIGURE_PREFIX=$(PWD:sh)/..
CONFIGURE=${CONFIGURE_PREFIX}/configure
CONFIGURE_ARGS=--prefix=/usr --sysconfdir=/etc/opensc --mandir=/usr/share/man --enable-pcsc --enable-openct
CONFIG_GUESS=${CONFIGURE_PREFIX}/config.guess
UNAME_ARCH=/sbin/uname -p
UNAME_ARCH=/usr/bin/uname -p
PLATFORM = $(CONFIG_GUESS:sh)
ARCH = $(UNAME_ARCH:sh)
build:
@echo "Setup platform specific build directory build-${PLATFORM}"
mkdir -p build-${PLATFORM}
( cd build-${PLATFORM}; CC=cc ${CONFIGURE} ${CONFIGURE_ARGS}; make )
( cd build-${PLATFORM}; CC=cc PCSC_CFLAGS=-I/usr/include/smartcard ${CONFIGURE} ${CONFIGURE_ARGS}; make )
dist:
@echo "Setup platform specific dist directory dist-${PLATFORM}"