qemu-e2k/libcacard
Alon Levy 44dc0ca3d2 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
installing. Tested only under linux, but supposed to work on other systems as
well.

If libtool isn't found you get a message complaining about that, only at build
time (since it is not a default target I did not add a message at configure
time).

New build artifacts:
 .libs subdirectories (at <buildroot> and <buildroot>/libcacard)
 *.lo files (at same locations as the respective o files)

Added %.lo : %.c rule that uses libtool.
Updated clean rule to clean up those artifacts.
Added specific rule to call dtrace with libtool wrapper (note that because of
a current upstream dtrace bug fixed by systemtap b1568fd85 commit the -fPIC flag
isn't actually passed on. still current dtrace+libtool produced object links fine).
If libtool is missing any of the following targets will complain and exit 1:
 any subdir: *.lo
 root and libcacard: libcacard.la, libcacard-instsall

Tested to link and load with all tracing backends.
2011-06-14 09:34:34 -05:00
..
cac.c libcacard: initial commit 2011-04-01 19:07:48 -05:00
cac.h libcacard: initial commit 2011-04-01 19:07:48 -05:00
card_7816.c libcacard: initial commit 2011-04-01 19:07:48 -05:00
card_7816.h libcacard: initial commit 2011-04-01 19:07:48 -05:00
card_7816t.h libcacard: initial commit 2011-04-01 19:07:48 -05:00
event.c libcacard: initial commit 2011-04-01 19:07:48 -05:00
eventt.h libcacard: initial commit 2011-04-01 19:07:48 -05:00
link_test.c libcacard: initial commit 2011-04-01 19:07:48 -05:00
Makefile libcacard: add libcacard.la target 2011-06-14 09:34:34 -05:00
vcard_emul_nss.c Fix typo in comment (consistant -> consistent) 2011-05-08 10:02:16 +01:00
vcard_emul_type.c libcacard: initial commit 2011-04-01 19:07:48 -05:00
vcard_emul_type.h libcacard: initial commit 2011-04-01 19:07:48 -05:00
vcard_emul.h libcacard: initial commit 2011-04-01 19:07:48 -05:00
vcard.c libcacard: initial commit 2011-04-01 19:07:48 -05:00
vcard.h libcacard: initial commit 2011-04-01 19:07:48 -05:00
vcardt.h libcacard: initial commit 2011-04-01 19:07:48 -05:00
vevent.h libcacard: initial commit 2011-04-01 19:07:48 -05:00
vreader.c libcacard: initial commit 2011-04-01 19:07:48 -05:00
vreader.h libcacard: initial commit 2011-04-01 19:07:48 -05:00
vreadert.h libcacard: initial commit 2011-04-01 19:07:48 -05:00
vscard_common.h Fix typos in comments (existance -> existence) 2011-05-08 10:02:17 +01:00
vscclient.c libcacard: add vscclient 2011-04-01 19:07:49 -05:00