- add sources.
[platform/framework/web/crosswalk.git] / src / tools / traceline / traceline / Makefile
1 all:
2         cl \
3     sidestep/ia32_modrm_map.cc \
4     sidestep/ia32_opcode_map.cc \
5     sidestep/mini_disassembler.cc \
6     main.cc \
7     /Fetraceline.exe \
8     /D_WIN32_WINNT=0x0500 \
9     /D_HAS_EXCEPTIONS=0 \
10     "/I." \
11     /Zi \
12   /link \
13     kernel32.lib user32.lib dbghelp.lib powrprof.lib
14
15 tests:
16         cl \
17     assembler_unittest.cc \
18     /Fassembler_unittest.exe \
19     /D_WIN32_WINNT=0x0500 \
20     /D_HAS_EXCEPTIONS=0 \
21     /Zi \
22   /link \
23     kernel32.lib user32.lib dbghelp.lib powrprof.lib
24
25 stubs : stubs.asm
26         nasm -o stubs stubs.asm
27         ndisasm -u stubs
28
29 clean:
30         rm -f *.obj {cpuinfo,traceline,assembler_unittest,vc80}.{exe,ilk,pdb} stubs