annotate test/Makefile.generic @ 0:3e629dc19168

initial from svn dyncall-1745
author Daniel Adler
date Thu, 19 Mar 2015 22:24:28 +0100
parents
children 0592eb360af2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
1 ALL=call_suite callback_suite plain plain_c++ suite suite2 suite3 suite_floats ellipsis callf syscall nm resolve_self thunk malloc_wx callback_plain
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
2 PACK=call_suite callback_suite plain plain_c++ suite suite2 suite3 suite_floats ellipsis callf resolve_self callback_plain
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
3 ALL_C=plain call_suite suite callf syscall nm resolve_self thunk malloc_wx callback_plain callback_suite
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
4 .PHONY: all clean run-tests install distclean ${ALL}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
5 all clean install:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
6 ${MAKE} TARGET=$@ ${ALL}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
7 ${ALL}::
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
8 cd $@ && ${MAKE} ${TARGET}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
9 run-tests: all
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
10 ${VPATH}/run-build.sh ${ALL} | grep "result:"
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
11 all-c:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
12 cd plain && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
13 cd call_suite && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
14 cd suite && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
15 cd callf && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
16 cd syscall && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
17 cd nm && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
18 cd resolve_self && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
19 cd thunk && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
20 cd malloc_wx && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
21 cd callback_plain && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
22 cd callback_suite && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
23 all-win32:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
24 cd suite_x86win32std && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
25 cd suite_x86win32fast && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
26 cd suite2_x86win32std && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
27 cd suite2_x86win32fast && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
28 run-win32:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
29 suite_X86win32std/suite_x86win32std
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
30 suite_X86win32fast/suite_x86win32fast
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
31 suite2_X86win32std/suite2_x86win32std
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
32 suite2_X86win32fast/suite2_x86win32fast
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
33 all-dyncall:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
34 cd plain && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
35 cd plain_c++ && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
36 cd call_suite && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
37 cd suite && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
38 cd suite2 && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
39 cd suite3 && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
40 cd suite_floats && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
41 cd ellipsis && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
42 cd callf && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
43 cd syscall && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
44 run-dyncall:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
45 plain/plain
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
46 plain_c++/plain_c++
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
47 call_suite/call_suite
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
48 suite/suite
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
49 suite2/suite2
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
50 suite3/suite3
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
51 suite_floats/suite_floats
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
52 ellipsis/ellipsis
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
53 callf/callf
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
54 syscall/syscall
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
55 # BUG: need to disable on sparc: testStructSize not found
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
56 # cd plain && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
57 all-dynload:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
58 cd nm && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
59 cd resolve_self && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
60 run-dynload:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
61 #nm/nm
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
62 resolve_self/resolve_self
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
63 all-dyncallback:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
64 cd thunk && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
65 cd malloc_wx && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
66 cd callback_plain && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
67 cd callback_suite && ${MAKE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
68 run-dyncallback:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
69 thunk/thunk
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
70 malloc_wx/malloc_wx
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
71 callback_plain/callback_plain
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
72 callback_suite/callback_suite
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
73
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
74 linux:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
75 LDLIBS="-lm -ldl" ${MAKE} all
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
76 bsd:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
77 LDLIBS="-lm" ${MAKE} all
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
78
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
79 pack: ${PACK}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
80 ${VPATH}/pack-tests.sh ${PACK}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
81
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
82 distclean:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
83 rm -rf _work _packed