Mercurial > MadButterfly
comparison nodejs/wscript @ 683:7685c57e29d0
Migrate JS shapes binding to gen_v8_binding.m4
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sat, 07 Aug 2010 18:27:53 +0800 |
parents | 7db0b76c9480 |
children | da12923a789a |
comparison
equal
deleted
inserted
replaced
682:4a38e571cfce | 683:7685c57e29d0 |
---|---|
28 source='coord.m4', target='coord-inc.h', | 28 source='coord.m4', target='coord-inc.h', |
29 name='coord-inc', shell=True, always=True, before=['cxx']) | 29 name='coord-inc', shell=True, always=True, before=['cxx']) |
30 conf(rule='m4 -I ${SRCDIR}/../tools gen_v8_binding.m4 ${SRC} > ${TGT}', | 30 conf(rule='m4 -I ${SRCDIR}/../tools gen_v8_binding.m4 ${SRC} > ${TGT}', |
31 source='mbfly_njs.m4', target='mbfly_njs-inc.h', | 31 source='mbfly_njs.m4', target='mbfly_njs-inc.h', |
32 name='mbfly_njs-inc', shell=True, always=True, before=['cxx']) | 32 name='mbfly_njs-inc', shell=True, always=True, before=['cxx']) |
33 conf(rule='m4 -I ${SRCDIR}/../tools gen_v8_binding.m4 ${SRC} > ${TGT}', | |
34 source='shapes.m4', target='shapes-inc.h', | |
35 name='shapes-inc', shell=True, always=True, before=['cxx']) | |
33 | 36 |
34 obj = conf.new_task_gen('cxx', 'shlib', 'node_addon') | 37 obj = conf.new_task_gen('cxx', 'shlib', 'node_addon') |
35 obj.target = 'mbfly' | 38 obj.target = 'mbfly' |
36 obj.source = 'shapes.cc paints.cc font.cc ' + \ | 39 obj.source = 'paints.cc font.cc image_ldr.cc' |
37 'image_ldr.cc' | 40 obj.add_objects = 'X_supp_njs.o observer.o coord.o mbfly_njs.o shapes.o' |
38 obj.add_objects = 'X_supp_njs.o observer.o coord.o mbfly_njs.o' | |
39 obj.staticlib = 'mbfly' | 41 obj.staticlib = 'mbfly' |
40 | 42 |
41 for src in 'observer.cc coord.cc mbfly_njs.cc'.split(): | 43 for src in 'observer.cc coord.cc mbfly_njs.cc shapes.cc'.split(): |
42 obj = conf.new_task_gen('cxx', 'shlib', 'node_addon') | 44 obj = conf.new_task_gen('cxx', 'shlib', 'node_addon') |
43 obj.target = src[:-3] + '.o' | 45 obj.target = src[:-3] + '.o' |
44 obj.source = src | 46 obj.source = src |
45 obj.includes = '.' | 47 obj.includes = '.' |
46 pass | 48 pass |