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
|