|
Revision 144, 2.1 kB
(checked in by krobillard, 2 years ago)
|
|
Native arguments are now kept on the stack until after the call and the
result is now always put into a1.
|
| Line | |
|---|
| 1 | REBOL[] |
|---|
| 2 | |
|---|
| 3 | project "orca" |
|---|
| 4 | |
|---|
| 5 | do %config.r |
|---|
| 6 | |
|---|
| 7 | dist [ |
|---|
| 8 | %README |
|---|
| 9 | %LICENSE |
|---|
| 10 | %ChangeLog |
|---|
| 11 | %TODO |
|---|
| 12 | %config.r |
|---|
| 13 | %boot.r |
|---|
| 14 | %boot_str.r |
|---|
| 15 | %boot_bin.r |
|---|
| 16 | %unix |
|---|
| 17 | %win32 |
|---|
| 18 | %tests/Makefile |
|---|
| 19 | %tests/run_test |
|---|
| 20 | %tests/working |
|---|
| 21 | %tests/orca_test |
|---|
| 22 | %tests/orca |
|---|
| 23 | %support/bzip2 |
|---|
| 24 | %util |
|---|
| 25 | %qt/project.r |
|---|
| 26 | %qt/qorca.h |
|---|
| 27 | %qt/main.cpp |
|---|
| 28 | %qt/qorca.cpp |
|---|
| 29 | %qt/oconf.r |
|---|
| 30 | %gl/*.c |
|---|
| 31 | %gl/*.h |
|---|
| 32 | %gl/*.r |
|---|
| 33 | %gl/glv |
|---|
| 34 | %gl/demo |
|---|
| 35 | ;%gl/data |
|---|
| 36 | ] |
|---|
| 37 | |
|---|
| 38 | default [ |
|---|
| 39 | warn |
|---|
| 40 | debug |
|---|
| 41 | ;release |
|---|
| 42 | |
|---|
| 43 | objdir %obj |
|---|
| 44 | |
|---|
| 45 | foreach c config [ |
|---|
| 46 | cflags join {-DOR_CONFIG_} uppercase to-string c |
|---|
| 47 | ] |
|---|
| 48 | |
|---|
| 49 | macx [ |
|---|
| 50 | include_from %unix |
|---|
| 51 | cflags {-std=gnu99} |
|---|
| 52 | ] |
|---|
| 53 | unix [ |
|---|
| 54 | include_from %unix |
|---|
| 55 | ;cflags {-DX86_64 -march=x86-64 -mtune=athlon64} |
|---|
| 56 | ;cflags {-march=athlon} |
|---|
| 57 | cflags {-std=gnu99} |
|---|
| 58 | ;cflags {-std=c99} |
|---|
| 59 | ;cflags {-pedantic} |
|---|
| 60 | ] |
|---|
| 61 | win32 [ |
|---|
| 62 | include_from %win32 |
|---|
| 63 | ] |
|---|
| 64 | ] |
|---|
| 65 | |
|---|
| 66 | lib %orca0 [ |
|---|
| 67 | include_from %. |
|---|
| 68 | if not find config 'rebol [ |
|---|
| 69 | cflags {-DLANG_ORCA} |
|---|
| 70 | ] |
|---|
| 71 | ;cflags {-DTRACK_MALLOC} |
|---|
| 72 | |
|---|
| 73 | sources [ |
|---|
| 74 | %ovalue.c |
|---|
| 75 | %context.c |
|---|
| 76 | %array.c |
|---|
| 77 | %parse.c |
|---|
| 78 | %charset.c |
|---|
| 79 | %series.c |
|---|
| 80 | %op.c |
|---|
| 81 | %error.c |
|---|
| 82 | %tokenize.c |
|---|
| 83 | %bytecode.c |
|---|
| 84 | %gc.c |
|---|
| 85 | %print.c |
|---|
| 86 | %math.c |
|---|
| 87 | %math3d.c |
|---|
| 88 | %files.c |
|---|
| 89 | %support/mt19937ar.c |
|---|
| 90 | ] |
|---|
| 91 | |
|---|
| 92 | macx [ sources [ %unix/os.c %stdio.c ] ] |
|---|
| 93 | unix [ sources [ %unix/os.c %stdio.c ] ] |
|---|
| 94 | win32 [ sources [ %win32/os.c %stdio.c ] |
|---|
| 95 | if find config 'compress [ |
|---|
| 96 | include_from %support/bzip2 |
|---|
| 97 | sources_from %support/bzip2 [ |
|---|
| 98 | %blocksort.c |
|---|
| 99 | %bzlib.c |
|---|
| 100 | %compress.c |
|---|
| 101 | %decompress.c |
|---|
| 102 | %huffman.c |
|---|
| 103 | %crctable.c |
|---|
| 104 | %randtable.c |
|---|
| 105 | ] |
|---|
| 106 | ] |
|---|
| 107 | ] |
|---|
| 108 | ] |
|---|
| 109 | |
|---|
| 110 | exe %orca [ |
|---|
| 111 | libs_from %. %orca0 |
|---|
| 112 | |
|---|
| 113 | macx [ |
|---|
| 114 | if find config 'compress [ libs %bz2 ] |
|---|
| 115 | ] |
|---|
| 116 | unix [ |
|---|
| 117 | libs %m |
|---|
| 118 | if find config 'compress [ libs %bz2 ] |
|---|
| 119 | ] |
|---|
| 120 | win32 [console] |
|---|
| 121 | |
|---|
| 122 | sources [ |
|---|
| 123 | %console.c |
|---|
| 124 | ] |
|---|
| 125 | ] |
|---|
| 126 | |
|---|
| 127 | ;eof |
|---|