*ThorwilKnob: KnobRim done
[libprolooks.git] / prolooks / wscript_build
blobd7c0af4348a3aad26f1ea25c516e074fec35640a
1 #!/usr/bin/env python
2 import autowaf
4 libprolooks = bld.new_task_gen('cc', 'cshlib')
5 libprolooks.name = 'prolooks1'
6 libprolooks.target = 'prolooks1'
7 libprolooks.source = """
8 Helpers.vala
9 GlossGradient.vala
10 GaussianBlur.vala
11 Display.vala
12 ValueDisplay.vala
13 Led.vala
14 VuMeter.vala
15 LineGraph.vala
16 ButtonBase.vala
17 TransportButton.vala
18 SmallButton.vala
19 Knob.vala
20 KnobWithDisplay.vala
21 SimpleKnobImageSource.vala
22 IKnobImageSource.vala
23 Keyboard.vala
24 Curve.vala
25 Glade.vala
26 """
27 libprolooks.includes = '-I.',
28 libprolooks.uselib = 'GTK GLADE'
29 libprolooks.packages = 'gtk+-2.0 libglade-2.0 pixman posix'
30 libprolooks.vnum = bld.env['VERSION']
31 libprolooks.vapi_dirs = "."
33 display = bld.new_task_gen('cc', 'program')
34 display.name = 'display-demo'
35 display.target = 'display-demo'
36 display.source = 'DisplayDemo.vala Display.vala Helpers.vala'
37 display.uselib = 'GTK'
38 display.packages = 'gtk+-2.0'
39 display.vapi_dirs = '.'
40 display.install_path = ''
42 valuedisplay = bld.new_task_gen('cc', 'program')
43 valuedisplay.name = 'valuedisplay-demo'
44 valuedisplay.target = 'valuedisplay-demo'
45 valuedisplay.source = 'ValueDisplayDemo.vala ValueDisplay.vala Display.vala Knob.vala SimpleKnobImageSource.vala IKnobImageSource.vala Helpers.vala'
46 valuedisplay.uselib = 'GTK'
47 valuedisplay.packages = 'gtk+-2.0'
48 valuedisplay.vapi_dirs = '.'
49 valuedisplay.install_path = ''
51 knobwithdisplay = bld.new_task_gen('cc', 'program')
52 knobwithdisplay.name = 'knobwithdisplay-demo'
53 knobwithdisplay.target = 'knobwithdisplay-demo'
54 knobwithdisplay.source = 'KnobWithDisplayDemo.vala KnobWithDisplay.vala ValueDisplay.vala Display.vala Knob.vala SimpleKnobImageSource.vala IKnobImageSource.vala Helpers.vala'
55 knobwithdisplay.uselib = 'GTK'
56 knobwithdisplay.packages = 'gtk+-2.0'
57 knobwithdisplay.vapi_dirs = '.'
58 knobwithdisplay.install_path = ''
60 led = bld.new_task_gen('cc', 'program')
61 led.name = 'led-demo'
62 led.target = 'led-demo'
63 led.source = 'LedDemo.vala Led.vala Helpers.vala'
64 led.uselib = 'GTK'
65 led.packages = 'gtk+-2.0'
66 led.vapi_dirs = '.'
67 led.install_path = ''
69 simpleknobimage = bld.new_task_gen('cc', 'program')
70 simpleknobimage.name = 'simpleknobimage-demo'
71 simpleknobimage.target = 'simpleknobimage-demo'
72 simpleknobimage.source = 'SimpleKnobImageSource.vala IKnobImageSource.vala SimpleKnobImageSourceDemo.vala Helpers.vala Knob.vala'
73 simpleknobimage.uselib = 'GTK'
74 simpleknobimage.packages = 'gtk+-2.0'
75 simpleknobimage.vapi_dirs = '.'
76 simpleknobimage.install_path = ''
78 thorwilknobimage = bld.new_task_gen('cc', 'program')
79 thorwilknobimage.name = 'thorwilknobimage-demo'
80 thorwilknobimage.target = 'thorwilknobimage-demo'
81 thorwilknobimage.source = 'ThorwilKnobImageSource.vala SimpleKnobImageSource.vala IKnobImageSource.vala ThorwilKnobImageSourceDemo.vala Helpers.vala Knob.vala'
82 thorwilknobimage.uselib = 'GTK'
83 thorwilknobimage.packages = 'gtk+-2.0'
84 thorwilknobimage.vapi_dirs = '.'
85 thorwilknobimage.install_path = ''
87 knob = bld.new_task_gen('cc', 'program')
88 knob.name = 'knob-demo'
89 knob.target = 'knob-demo'
90 knob.source = 'Knob.vala SimpleKnobImageSource.vala IKnobImageSource.vala Helpers.vala KnobDemo.vala'
91 knob.uselib = 'GTK'
92 knob.packages = 'gtk+-2.0'
93 knob.vapi_dirs = '.'
94 knob.install_path = ''
96 smallbutton = bld.new_task_gen('cc', 'program')
97 smallbutton.name = 'smallbutton-demo'
98 smallbutton.target = 'smallbutton-demo'
99 smallbutton.source = 'SmallButtonDemo.vala SmallButton.vala ButtonBase.vala GlossGradient.vala Helpers.vala'
100 smallbutton.uselib = 'GTK'
101 smallbutton.packages = 'gtk+-2.0'
102 smallbutton.vapi_dirs = '.'
103 smallbutton.install_path = ''
105 vumeter = bld.new_task_gen('cc', 'program')
106 vumeter.name = 'vumeter-demo'
107 vumeter.target = 'vumeter-demo'
108 vumeter.source = 'VuMeterDemo.vala VuMeter.vala Helpers.vala'
109 vumeter.uselib = 'GTK'
110 vumeter.packages = 'gtk+-2.0'
111 vumeter.vapi_dirs = '.'
112 vumeter.install_path = ''
114 linegraph = bld.new_task_gen('cc', 'program')
115 linegraph.name = 'linegraph-demo'
116 linegraph.target = 'linegraph-demo'
117 linegraph.source = 'LineGraph.vala LineGraphDemo.vala Display.vala Helpers.vala'
118 linegraph.uselib = 'GTK'
119 linegraph.packages = 'gtk+-2.0'
120 linegraph.vapi_dirs = '.'
121 linegraph.install_path = ''
123 transportbutton = bld.new_task_gen('cc', 'program')
124 transportbutton.name = 'transportbutton-demo'
125 transportbutton.target = 'transportbutton-demo'
126 transportbutton.source = 'TransportButtonDemo.vala TransportButton.vala ButtonBase.vala Helpers.vala'
127 transportbutton.uselib = 'GTK'
128 transportbutton.packages = 'gtk+-2.0'
129 transportbutton.vapi_dirs = '.'
130 transportbutton.install_path = ''
132 helpers = bld.new_task_gen('cc', 'program')
133 helpers.name = 'helpers-test'
134 helpers.target = 'helpers-test'
135 helpers.source = 'HelpersTest.vala Helpers.vala'
136 helpers.uselib = 'GTK'
137 helpers.packages = 'gtk+-2.0'
138 helpers.vapi_dirs = '.'
139 helpers.install_path = ''
141 stepeditor = bld.new_task_gen('cc', 'program')
142 stepeditor.name = 'stepeditor-demo'
143 stepeditor.target = 'stepeditor-demo'
144 stepeditor.source = 'StepEditor.vala StepEditorDemo.vala'
145 stepeditor.uselib = 'GTK'
146 stepeditor.packages = 'gtk+-2.0'
147 stepeditor.vapi_dirs = '.'
148 stepeditor.install_path = ''
150 keyboard = bld.new_task_gen('cc', 'program')
151 keyboard.name = 'keyboard-demo'
152 keyboard.target = 'keyboard-demo'
153 keyboard.source = 'Keyboard.vala KeyboardDemo.vala'
154 keyboard.uselib = 'GTK'
155 keyboard.packages = 'gtk+-2.0'
156 keyboard.vapi_dirs = '.'
157 keyboard.install_path = ''
159 curve = bld.new_task_gen('cc', 'program')
160 curve.name = 'curve-demo'
161 curve.target = 'curve-demo'
162 curve.source = 'Curve.vala CurveDemo.vala Helpers.vala'
163 curve.uselib = 'GTK'
164 curve.packages = 'gtk+-2.0'
165 curve.vapi_dirs = '.'
166 curve.install_path = ''
168 glade = bld.new_task_gen('cc', 'program')
169 glade.name = 'glade-demo'
170 glade.target = 'glade-demo'
171 glade.source = 'GladeSample.vala'
172 glade.uselib_local = 'prolooks1'
173 glade.packages = 'prolooks1'
174 glade.install_path = ''
175 glade.vapi_dirs = "."
177 builder = bld.new_task_gen('cc', 'program')
178 builder.name = 'builder-demo'
179 builder.target = 'builder-demo'
180 builder.source = 'BuilderSample.vala'
181 builder.uselib_local = 'prolooks1'
182 builder.packages = 'prolooks1'
183 builder.install_path = ''
184 builder.vapi_dirs = "."
186 gloss = bld.new_task_gen('cc', 'program')
187 gloss.name = 'gloss-demo'
188 gloss.target = 'gloss-demo'
189 gloss.source = 'GlossGradientDemo.vala GlossGradient.vala Helpers.vala'
190 gloss.uselib = 'GTK'
191 gloss.packages = 'gtk+-2.0'
192 gloss.install_path = ''
194 gaussianblur = bld.new_task_gen('cc', 'program')
195 gaussianblur.name = 'gaussianblur-demo'
196 gaussianblur.target = 'gaussianblur-demo'
197 gaussianblur.source = 'GaussianBlurDemo.vala GaussianBlur.vala Knob.vala SimpleKnobImageSource.vala IKnobImageSource.vala Helpers.vala'
198 gaussianblur.uselib = 'GTK'
199 gaussianblur.packages = 'gtk+-2.0 pixman posix'
200 gaussianblur.install_path = ''
201 gaussianblur.vapi_dirs = "."