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 Unified Diffs Ignore Whitespace Patch

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

21
22
23
24
25
26
27



28
29
30
31
32
33












34
CFLAGS       := -I${NACL_SDK_ROOT}/include
CXXFLAGS     := $(CFLAGS)
CPPFLAGS     := $(CFLAGS)
export CFLAGS CXXFLAGS CPPFLAGS

all: libpcsc.a




libpcsc.a:

boost: build-boost
	rm -rf boost
	./build-boost













.PHONY: all







>
>
>
|





>
>
>
>
>
>
>
>
>
>
>
>

21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
CFLAGS       := -I${NACL_SDK_ROOT}/include
CXXFLAGS     := $(CFLAGS)
CPPFLAGS     := $(CFLAGS)
export CFLAGS CXXFLAGS CPPFLAGS

all: libpcsc.a

libpcsc.a: pcsc/Makefile pcsc/pcsc-nacl.h pcsc/pcsc_nacl_init.cc $(shell find pcsc/src -type f)
	$(MAKE) -C pcsc
	cp pcsc/libpcsc.a libpcsc.a.new
	mv libpcsc.a.new libpcsc.a

boost: build-boost
	rm -rf boost
	./build-boost

clean:
	$(MAKE) -C pcsc clean
	rm -f libpcsc.a
	rm -f libpcsc.a.new

distclean: clean
	rm -rf boost
	$(MAKE) -C pcsc distclean

mrproper: distclean
	rm -rf pcsc/src

.PHONY: all