Mercurial > MadButterfly
comparison nodejs/wscript @ 661:90c7726bc953
Replace part code of coord.cc by the code generated by generator
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sun, 01 Aug 2010 20:18:59 +0800 |
parents | aa52883534fc |
children | 7db0b76c9480 |
comparison
equal
deleted
inserted
replaced
660:dde4e3cc9529 | 661:90c7726bc953 |
---|---|
22 import Utils | 22 import Utils |
23 | 23 |
24 conf(rule='m4 -I ${SRCDIR}/../tools gen_v8_binding.m4 ${SRC} > ${TGT}', | 24 conf(rule='m4 -I ${SRCDIR}/../tools gen_v8_binding.m4 ${SRC} > ${TGT}', |
25 source='observer.m4', target='observer-inc.h', | 25 source='observer.m4', target='observer-inc.h', |
26 name='observer-inc', shell=True, always=True, before=['cxx']) | 26 name='observer-inc', shell=True, always=True, before=['cxx']) |
27 conf(rule='m4 -I ${SRCDIR}/../tools gen_v8_binding.m4 ${SRC} > ${TGT}', | |
28 source='coord.m4', target='coord-inc.h', | |
29 name='coord-inc', shell=True, always=True, before=['cxx']) | |
27 | 30 |
28 obj = conf.new_task_gen('cxx', 'shlib', 'node_addon') | 31 obj = conf.new_task_gen('cxx', 'shlib', 'node_addon') |
29 obj.target = 'mbfly' | 32 obj.target = 'mbfly' |
30 obj.source = 'mbfly_njs.cc coord.cc shapes.cc paints.cc font.cc ' + \ | 33 obj.source = 'mbfly_njs.cc shapes.cc paints.cc font.cc ' + \ |
31 'image_ldr.cc' | 34 'image_ldr.cc' |
32 obj.add_objects = 'X_supp_njs.o observer.o' | 35 obj.add_objects = 'X_supp_njs.o observer.o coord.o' |
33 obj.staticlib = 'mbfly' | 36 obj.staticlib = 'mbfly' |
34 | 37 |
35 obj = conf.new_task_gen('cc', 'shlib', 'node_addon') | 38 obj = conf.new_task_gen('cc', 'shlib', 'node_addon') |
36 obj.target = 'X_supp_njs.o' | 39 obj.target = 'X_supp_njs.o' |
37 obj.source = 'X_supp_njs.c' | 40 obj.source = 'X_supp_njs.c' |
38 | 41 |
39 obj = conf.new_task_gen('cxx', 'shlib', 'node_addon') | 42 obj = conf.new_task_gen('cxx', 'shlib', 'node_addon') |
40 obj.target = 'observer.o' | 43 obj.target = 'observer.o' |
41 obj.source = 'observer.cc' | 44 obj.source = 'observer.cc' |
42 obj.includes = '.' | 45 obj.includes = '.' |
46 | |
47 obj = conf.new_task_gen('cxx', 'shlib', 'node_addon') | |
48 obj.target = 'coord.o' | |
49 obj.source = 'coord.cc' | |
50 obj.includes = '.' | |
43 pass | 51 pass |