5 libdir
=scons-out
/dbg-linux
/lib
7 .
/tools_bin
/linux
/sdk
/nacl-sdk
/bin
/nacl-gcc \
8 -static -Wall imcplugin
/imcread.c
-o imcplugin
/imcread
10 .
/tools_bin
/linux
/sdk
/nacl-sdk
/bin
/nacl-gcc \
11 -static -Wall imcplugin
/tests
/printargs.c
-o imcplugin
/tests
/printargs
12 .
/tools_bin
/linux
/sdk
/nacl-sdk
/bin
/nacl-gcc \
13 -static -Wall imcplugin
/tests
/imc-read.c
-o imcplugin
/tests
/imc-read
14 .
/tools_bin
/linux
/sdk
/nacl-sdk
/bin
/nacl-gcc \
15 -static -Wall imcplugin
/tests
/imc-send.c
-o imcplugin
/tests
/imc-send
17 # Needs xulrunner-1.9-dev rather than libxul-dev on hardy
18 gcc $
(pkg-config mozilla-plugin
--cflags --libs) \
20 -Wall -Wl,-z,defs
-shared -fPIC imcplugin
/imcplugin.c \
21 -o imcplugin
/plugin.so \
22 $libdir/libgoogle_nacl_imc_c.a \
23 $libdir/libnrd_xfer.a \
24 $libdir/libnaclthread.a \
26 -lrt -lstdc++ -lcrypto