9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
LIBS = $(CACKEY_LIBS) $(PCSC_LIBS)
CFLAGS = -Wall -I${NACL_SDK_ROOT}/include
CXXFLAGS = $(CFLAGS)
PATH += :${NACL_SDK_ROOT}/toolchain/linux_pnacl/bin
export PATH
all: cackey.pexe cackey.nmf
cackey.pexe: cackey-chrome.o cackey-chrome-init.o lib/libcackey.a lib/libpcsc.a lib/libz.a
$(CXX) -o cackey.pexe.new cackey-chrome.o cackey-chrome-init.o $(LIBS)
$(FINALIZE) cackey.pexe.new
mv cackey.pexe.new cackey.pexe
cackey.nmf: cackey.pexe
|
|
>
>
>
>
>
|
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
LIBS = $(CACKEY_LIBS) $(PCSC_LIBS)
CFLAGS = -Wall -I${NACL_SDK_ROOT}/include
CXXFLAGS = $(CFLAGS)
PATH += :${NACL_SDK_ROOT}/toolchain/linux_pnacl/bin
export PATH
all: cackey.crx
cackey.crx: cackey.pexe cackey.nmf manifest.json cackey.js
rm -f cackey.crx
zip cackey.crx.new $^
mv cackey.crx.new cackey.crx
cackey.pexe: cackey-chrome.o cackey-chrome-init.o lib/libcackey.a lib/libpcsc.a lib/libz.a
$(CXX) -o cackey.pexe.new cackey-chrome.o cackey-chrome-init.o $(LIBS)
$(FINALIZE) cackey.pexe.new
mv cackey.pexe.new cackey.pexe
cackey.nmf: cackey.pexe
|