NaCl libpcsc

Check-in [60c7795ca7]
Login
Overview
SHA1:60c7795ca7e1d887976045e408fee81302232031
Date: 2016-04-13 22:13:14
User: rkeene
Comment:Better targets
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2016-04-14
00:54
[6d016db860] We now build a mostly complete libpcsc.a, though with no way to initialize it (since we have not discovered how to do that in this release of Google's code yet (user: rkeene, tags: trunk)
2016-04-13
22:13
[60c7795ca7] Better targets (user: rkeene, tags: trunk)
21:58
[727411c09e] First incomplete conversion from the old PCSC build to the new one (user: rkeene, tags: trunk)
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Modified Makefile from [1ca3a38e08] to [7ceeb916bb].

    21     21   CFLAGS       := -I${NACL_SDK_ROOT}/include
    22     22   CXXFLAGS     := $(CFLAGS)
    23     23   CPPFLAGS     := $(CFLAGS)
    24     24   export CFLAGS CXXFLAGS CPPFLAGS
    25     25   
    26     26   all: libpcsc.a
    27     27   
    28         -libpcsc.a:
           28  +libpcsc.a: pcsc/Makefile pcsc/pcsc-nacl.h pcsc/pcsc_nacl_init.cc $(shell find pcsc/src -type f)
           29  +	$(MAKE) -C pcsc
           30  +	cp pcsc/libpcsc.a libpcsc.a.new
           31  +	mv libpcsc.a.new libpcsc.a
    29     32   
    30     33   boost: build-boost
    31     34   	rm -rf boost
    32     35   	./build-boost
    33     36   
           37  +clean:
           38  +	$(MAKE) -C pcsc clean
           39  +	rm -f libpcsc.a
           40  +	rm -f libpcsc.a.new
           41  +
           42  +distclean: clean
           43  +	rm -rf boost
           44  +	$(MAKE) -C pcsc distclean
           45  +
           46  +mrproper: distclean
           47  +	rm -rf pcsc/src
           48  +
    34     49   .PHONY: all