Statistics
| Branch: | Revision:

root / libcacard / Makefile @ 26ca8c06

History | View | Annotate | Download (1.5 kB)

# Date Author Comment
992aeb8e 01/12/2013 07:42 pm Paolo Bonzini

libcacard: rewrite Makefile in non-recursive style

Signed-off-by: Paolo Bonzini <>

26ca8c06 01/12/2013 07:42 pm Paolo Bonzini

libcacard: link vscclient to dynamic library

There is no reason for vscclient to duplicate the code. rules.mak
takes care of invoking libtool to do the link.

Signed-off-by: Paolo Bonzini <>

af0c8e9f 01/12/2013 06:19 pm Paolo Bonzini

libcacard: use per-target variable definitions

This lets the libcacard Makefile use more rules.mak magic.

Signed-off-by: Paolo Bonzini <>

5018f1cc 01/12/2013 06:19 pm Paolo Bonzini

libcacard: add list of exported symbols

Do not export internal QEMU symbols.

Signed-off-by: Paolo Bonzini <>

e832341b 01/12/2013 06:19 pm Alon Levy

libcacard: fix missing symbol in libcacard.so

Before patch:
$ make libcacard.la
$ nm ./libcacard/.libs/libcacard.so.0.0.0 | grep " U " | \
egrep -v "(g_)|(GLIBC)|(SECMOD)|(PK11)|(CERT)|(NSS)|(PORT)|(PR)"
U error_set

Signed-off-by: Alon Levy <>...

b6fc675b 01/12/2013 06:19 pm Paolo Bonzini

libcacard: require libtool to build it

Do not fail at build time, instead just disable the library if libtool
is not present.

Signed-off-by: Paolo Bonzini <>

591eca67 01/12/2013 06:19 pm Paolo Bonzini

libcacard: prepare to use -y trick in the Makefile

Rename variables to follow the conventions of the rest of the build
systems.

Signed-off-by: Paolo Bonzini <>

21655882 01/12/2013 06:19 pm Paolo Bonzini

build: support linking with libtool objects/libraries

This patch moves the complication of using libtool to the generic
rules.mak file.

Signed-off-by: Paolo Bonzini <>

f141ccfa 01/12/2013 06:19 pm Paolo Bonzini

build: make libtool verbose when making with V=1

Signed-off-by: Paolo Bonzini <>

a636be69 11/19/2012 11:48 am Paolo Bonzini

libcacard: link in stubs

Signed-off-by: Paolo Bonzini <>

31a32289 11/19/2012 11:48 am Paolo Bonzini

libcacard: make unnesting rules available to Makefile.objs

Signed-off-by: Paolo Bonzini <>

2e679780 10/05/2012 03:58 pm Jim Meyering

libcacard/vcard_emul_nss: use pstrcpy in place of strncpy

Replace strncpy+NUL-terminate use with use of pstrcpy.
This requires linking with cutils.o (or else vssclient doesn't link),
so add that in the Makefile.

Acked-by: Alon Levy <>
Signed-off-by: Jim Meyering <>...

47ecbdf0 06/21/2012 11:04 pm Blue Swirl

libcacard: build fixes

Link trace objects to fix these errors:
LINK vscclient
oslib-posix.o: In function `trace_qemu_vfree':
/src/qemu/obj-amd64/./trace.h:39: undefined reference to `trace1'
oslib-posix.o: In function `trace_qemu_memalign':
/src/qemu/obj-amd64/./trace.h:31: undefined reference to `trace3'...

00c705fb 06/07/2012 10:21 am Paolo Bonzini

build: libcacard Makefile cleanups

Build vscclient from toplevel Makefile, limit usage of vpath.

Signed-off-by: Paolo Bonzini <>

57c83dac 02/09/2012 06:44 pm Stefan Weil

make: Remove duplicate use of GLIB_CFLAGS

Makefile, Makefile.hw, Makefile.target and libcacard/Makefile
added GLIB_CFLAGS to QEMU_CFLAGS.

Makefile.objs does this, too, and is included by all other
Makefiles, so GLIB_CFLAGS were added twice (reported by malc)....

c2162a8b 09/21/2011 12:49 pm Jan Kiszka

Silence make if nothing is to do for libcacard

Signed-off-by: Jan Kiszka <>
Signed-off-by: Stefan Hajnoczi <>

9f4facbc 09/02/2011 01:08 pm Brad Smith

libcacard: use INSTALL_DATA for data

Signed-off-by: Brad Smith <>
Signed-off-by: Stefan Hajnoczi <>

0fc6b582 08/27/2011 06:42 pm Brad

Fix build on OpenBSD with BSD userland emu and smartcard NSS enabled

The first issue is the hard coded POSIX Real Time extensions library in the
libcacard/Makefile. From looking at the code it doesn't seem this is necessary
anyway. Robert Relyea seems to think it most likely isn't necessary....

3f534581 08/22/2011 06:20 pm Brad

Improvements to libtool support.

Improvements to the libtool support in QEMU. Replace hard coded
libtool in the infrastructure with $(LIBTOOL) and allow
overriding the libtool binary used via the configure
script.

Reviewed-by: Andreas F=E4rber <>...

1f22a6bc 08/22/2011 06:19 pm Diego Elio Pettenò

build: list libraries after objects, for proper linkage

Without this change, when using -Wl,--as-needed with GNU linker, the
libraries would be discarded.

Signed-off-by: Diego Elio Pettenò <>
Signed-off-by: Anthony Liguori <>

92f562ec 08/21/2011 04:37 pm Anthony Liguori

Remove remenants of qemu_malloc

This covers the various check commands

Signed-off-by: Anthony Liguori <>

14015304 08/21/2011 07:01 am Anthony Liguori

Make glib mandatory and fixup utils appropriately

Signed-off-by: Anthony Liguori <>

4995f0d6 08/02/2011 02:57 pm Alon Levy

libcacard: use INSTALL_DATA for data

Signed-off-by: Alon Levy <>

0f94d6da 07/26/2011 10:42 am Alon Levy

libcacard: add pc file, install it + includes

Additionally:
+ add --includedir configure parameters
+ make install-libcacard install vscclient as well

44dc0ca3 06/14/2011 05:34 pm Alon Levy

libcacard: add libcacard.la target

No flag to configure is required. Instead, added a libcacard.la target that
is not built by default, only when requested explicitly via:

mkdir build
cd build
../configure
make libcacard.la
make install-libcacard

Uses libtool to do actual linking of object files and shared library, and...

6774e44a 05/08/2011 01:44 pm Paolo Bonzini

libcacard: add correct subdirectory dependencies

Signed-off-by: Paolo Bonzini <>
Cc:
Signed-off-by: Stefan Hajnoczi <>

2ac85b93 04/02/2011 03:07 am Robert Relyea

libcacard: add vscclient

client to talk to ccid-card-passthru and use smartcard on client to
perform actual operations.

v23->v24 changes: (Jes Sorensen review 2) * use qemu_socket instead of socket * use fprintf(stderr,..) for errors * remove unneccessary includes since using qemu_common.h

111a38b0 04/02/2011 03:07 am Robert Relyea

libcacard: initial commit

libcacard emulates a Common Access Card (CAC) which is a standard
for smartcards. It is used by the emulated ccid card introduced in
a following patch. Docs are available in docs/libcacard.txt

Signed-off-by: Alon Levy <>...