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:
parent
b2c5ab3209
commit
073c9da342
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue