1 | |
---|
2 | # ------------------------------------------------------------------------ |
---|
3 | # Makefile for Rappture |
---|
4 | # ------------------------------------------------------------------------ |
---|
5 | |
---|
6 | # ------------------------------------------------------------------------ |
---|
7 | # C Compiler options |
---|
8 | # ------------------------------------------------------------------------ |
---|
9 | |
---|
10 | RAPPTURE_MAJOR_VERSION = @RAPPTURE_MAJOR_VERSION@ |
---|
11 | RAPPTURE_MINOR_VERSION = @RAPPTURE_MINOR_VERSION@ |
---|
12 | RAPPTURE_RELEASE_SERIAL = @RAPPTURE_RELEASE_SERIAL@ |
---|
13 | X_INCLUDES = @X_INCLUDES@ |
---|
14 | X_LIBRARIES = @X_LIBRARIES@ |
---|
15 | WORDSIZE = @WORDSIZE@ |
---|
16 | version = $(RAPPTURE_MAJOR_VERSION).$(RAPPTURE_MINOR_VERSION).$(RAPPTURE_RELEASE_SERIAL) |
---|
17 | runtime = $(shell cd ../runtime; pwd) |
---|
18 | TAG = trunk |
---|
19 | |
---|
20 | # ------------------------------------------------------------------------ |
---|
21 | # Source and targer installation directories |
---|
22 | # ------------------------------------------------------------------------ |
---|
23 | |
---|
24 | bindir = $(exec_prefix)/bin |
---|
25 | datadir = @datadir@ |
---|
26 | datarootdir = @datarootdir@ |
---|
27 | exec_prefix = @exec_prefix@ |
---|
28 | incdir = $(prefix)/include |
---|
29 | includedir = @includedir@ |
---|
30 | libdir = @libdir@ |
---|
31 | prefix = @prefix@ |
---|
32 | scriptdir = $(exec_prefix)/scripts |
---|
33 | pkgdir = $(exec_prefix)/lib |
---|
34 | srcdir = $(shell cd @srcdir@; pwd) |
---|
35 | statsdir = @STATSDIR@ |
---|
36 | |
---|
37 | # ------------------------------------------------------------------------ |
---|
38 | # You don't need to edit anything beyond this point |
---|
39 | # ------------------------------------------------------------------------ |
---|
40 | |
---|
41 | INSTALL = @INSTALL@ |
---|
42 | INSTALL_DATA = @INSTALL_DATA@ |
---|
43 | DESTDIR = |
---|
44 | RANLIB = @RANLIB@ |
---|
45 | MAKE = make |
---|
46 | SHELL = /bin/sh |
---|
47 | AR = ar rc |
---|
48 | RM = rm -f |
---|
49 | LN_S = @LN_S@ |
---|
50 | VPATH = $(srcdir) |
---|
51 | MKDIR_P = @MKDIR_P@ |
---|
52 | CP = /bin/cp |
---|
53 | |
---|
54 | common_flags = --prefix=$(prefix) --exec_prefix=$(exec_prefix) |
---|
55 | x_flags = |
---|
56 | ifneq ("$(X_INCLUDES)", ) |
---|
57 | x_flags += --x-includes=$(X_INCLUDES) |
---|
58 | endif |
---|
59 | ifneq ("$(X_LIBRARIES)", ) |
---|
60 | x_flags += --x-includes=$(X_LIBRARIES) |
---|
61 | endif |
---|
62 | |
---|
63 | PATH := $(bindir):$(PATH) |
---|
64 | |
---|
65 | targets = \ |
---|
66 | blt builder cmake examples expat expect glew gui geovis \ |
---|
67 | htmlwidget itcl itk lang librappture nanovis nanoscale \ |
---|
68 | optimizer osg osgearth pymol \ |
---|
69 | pymolproxy shape sqlitetcl tcl tcllib tdom tester tk \ |
---|
70 | tkimg tls video voronoi vtk vtkvis zlib |
---|
71 | |
---|
72 | .PHONY: $(targets) |
---|
73 | |
---|
74 | .NOTPARALLEL: |
---|
75 | |
---|
76 | all: gui |
---|
77 | |
---|
78 | fullpkg: tester builder renderservers |
---|
79 | |
---|
80 | renderservers: nanoscale nanovis vtkvis geovis pymolproxy |
---|
81 | |
---|
82 | libshell: $(tcllib)/timestamp $(tls)/timestamp $(itcl)/timestamp |
---|
83 | |
---|
84 | # Aliases for package directory names. |
---|
85 | |
---|
86 | blt = blt2.4z |
---|
87 | builder = builder |
---|
88 | cmake = cmake-2.8.12 |
---|
89 | examples =examples |
---|
90 | expat = expat-2.0.1 |
---|
91 | expect = expect5.45 |
---|
92 | glew = glew |
---|
93 | gui = gui |
---|
94 | htmlwidget = htmlwidget-3a14 |
---|
95 | itcl = itcl3.3 |
---|
96 | itk = itk3.3 |
---|
97 | lang = lang |
---|
98 | librappture = librappture |
---|
99 | nanoscale = nanoscale |
---|
100 | nanovis = nanovis |
---|
101 | optimizer = optimizer |
---|
102 | osg = OpenSceneGraph-3.2.0 |
---|
103 | osgearth = osgearth-2.5 |
---|
104 | pymol = pymol |
---|
105 | pymolproxy = pymolproxy |
---|
106 | shape = shape0.4 |
---|
107 | sqlitetcl = sqlite-3071502/tea |
---|
108 | tcl = tcl8.4.19 |
---|
109 | tcllib = tcllib-1.12 |
---|
110 | tdom = tDOM-0.8.2 |
---|
111 | tester = tester |
---|
112 | tk = tk8.4.19 |
---|
113 | tkimg = tkimg1.3 |
---|
114 | tls = tls1.6 |
---|
115 | video = video |
---|
116 | voronoi = voronoi |
---|
117 | vtk = vtk-6.0.0 |
---|
118 | vtkvis = vtkvis |
---|
119 | geovis = geovis |
---|
120 | zlib = zlib |
---|
121 | |
---|
122 | subdirs = \ |
---|
123 | $(blt) $(builder) $(cmake) $(examples) $(expat) $(expect) $(glew) \ |
---|
124 | $(gui) $(htmlwidget) $(itcl) $(itk) $(lang) $(librappture) $(nanovis) \ |
---|
125 | $(optimizer) $(osg) $(osgearth) $(pymol) $(pymolproxy) $(shape) \ |
---|
126 | $(sqlitetcl) $(tcl) $(tcllib) $(tdom) $(tester) $(tk) $(tkimg) \ |
---|
127 | $(tls) $(video) $(voronoi) $(vtk) $(vtkvis) $(zlib) $(geovis) |
---|
128 | |
---|
129 | |
---|
130 | clean: |
---|
131 | $(RM) -r $(subdirs) |
---|
132 | |
---|
133 | # ------------------------------------------------------------------------- |
---|
134 | # BLT |
---|
135 | # ------------------------------------------------------------------------- |
---|
136 | |
---|
137 | blt_flags = \ |
---|
138 | --enable-shared \ |
---|
139 | $(common_flags) |
---|
140 | |
---|
141 | blt: $(blt)/timestamp |
---|
142 | |
---|
143 | clean-blt: |
---|
144 | $(clean_blt) |
---|
145 | fetch-blt: |
---|
146 | $(fetch_blt) |
---|
147 | configure-blt: |
---|
148 | $(configure_blt) |
---|
149 | build-blt: |
---|
150 | $(build_blt) |
---|
151 | install-blt: |
---|
152 | $(install_blt) |
---|
153 | touch-blt: |
---|
154 | $(touch_blt) |
---|
155 | force-blt: $(tcl)/timestamp $(tk)/timestamp |
---|
156 | + $(clean_blt) |
---|
157 | + $(fetch_blt) |
---|
158 | + $(configure_blt) |
---|
159 | + $(build_blt) |
---|
160 | + $(install_blt) |
---|
161 | + $(touch_blt) |
---|
162 | |
---|
163 | define clean_blt |
---|
164 | $(RM) -r $(blt) |
---|
165 | endef |
---|
166 | define fetch_blt |
---|
167 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(blt) |
---|
168 | endef |
---|
169 | define configure_blt |
---|
170 | $(MKDIR_P) $(blt) |
---|
171 | cd $(blt); $(runtime)/$(blt)/configure $(blt_flags) |
---|
172 | endef |
---|
173 | define build_blt |
---|
174 | $(MAKE) -C $(blt) all |
---|
175 | endef |
---|
176 | define install_blt |
---|
177 | $(MAKE) -C $(blt) install |
---|
178 | endef |
---|
179 | define touch_blt |
---|
180 | touch $(blt)/timestamp |
---|
181 | endef |
---|
182 | |
---|
183 | $(blt)/timestamp: $(tcl)/timestamp $(tk)/timestamp |
---|
184 | + $(clean_blt) |
---|
185 | + $(fetch_blt) |
---|
186 | + $(configure_blt) |
---|
187 | + $(build_blt) |
---|
188 | + $(install_blt) |
---|
189 | + $(touch_blt) |
---|
190 | |
---|
191 | # ------------------------------------------------------------------------- |
---|
192 | # BUILDER |
---|
193 | # ------------------------------------------------------------------------- |
---|
194 | |
---|
195 | builder_flags = \ |
---|
196 | --with-tclsh="$(bindir)/tclsh8.4" \ |
---|
197 | --enable-shared \ |
---|
198 | $(common_flags) |
---|
199 | |
---|
200 | builder: $(builder)/timestamp |
---|
201 | |
---|
202 | clean-builder: |
---|
203 | $(clean_builder) |
---|
204 | fetch-builder: |
---|
205 | $(fetch_builder) |
---|
206 | configure-builder: |
---|
207 | build-builder: |
---|
208 | $(build_builder) |
---|
209 | install-builder: |
---|
210 | $(install_builder) |
---|
211 | touch-builder: |
---|
212 | $(touch_builder) |
---|
213 | force-builder: $(gui)/timestamp |
---|
214 | + $(clean_builder) |
---|
215 | + $(fetch_builder) |
---|
216 | + $(configure_builder) |
---|
217 | + $(build_builder) |
---|
218 | + $(install_builder) |
---|
219 | + $(touch_builder) |
---|
220 | |
---|
221 | define clean_builder |
---|
222 | $(MAKE) -C $(builder) clean |
---|
223 | endef |
---|
224 | define fetch_builder |
---|
225 | endef |
---|
226 | define build_builder |
---|
227 | $(MAKE) -C $(builder) all |
---|
228 | endef |
---|
229 | define install_builder |
---|
230 | $(MAKE) -C $(builder) install |
---|
231 | endef |
---|
232 | define touch_builder |
---|
233 | touch $(builder)/timestamp |
---|
234 | endef |
---|
235 | |
---|
236 | $(builder)/timestamp: $(gui)/timestamp |
---|
237 | + $(clean_builder) |
---|
238 | + $(fetch_builder) |
---|
239 | + $(configure_builder) |
---|
240 | + $(build_builder) |
---|
241 | + $(install_builder) |
---|
242 | + $(touch_builder) |
---|
243 | |
---|
244 | # ------------------------------------------------------------------------- |
---|
245 | # CMAKE |
---|
246 | # ------------------------------------------------------------------------- |
---|
247 | |
---|
248 | cmake_flags = \ |
---|
249 | --prefix=$(prefix) |
---|
250 | |
---|
251 | cmake: $(cmake)/timestamp |
---|
252 | |
---|
253 | clean-cmake: |
---|
254 | $(clean_cmake) |
---|
255 | fetch-cmake: |
---|
256 | $(fetch_cmake) |
---|
257 | configure-cmake: |
---|
258 | $(configure_cmake) |
---|
259 | build-cmake: |
---|
260 | $(build_cmake) |
---|
261 | install-cmake: |
---|
262 | $(install_cmake) |
---|
263 | touch-cmake: |
---|
264 | $(touch_cmake) |
---|
265 | force-cmake: |
---|
266 | + $(clean_cmake) |
---|
267 | + $(fetch_cmake) |
---|
268 | + $(configure_cmake) |
---|
269 | + $(build_cmake) |
---|
270 | + $(install_cmake) |
---|
271 | + $(touch_cmake) |
---|
272 | |
---|
273 | define clean_cmake |
---|
274 | $(RM) -r $(cmake) |
---|
275 | endef |
---|
276 | define fetch_cmake |
---|
277 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(cmake) |
---|
278 | endef |
---|
279 | define configure_cmake |
---|
280 | $(MKDIR_P) $(cmake) |
---|
281 | cd $(cmake); $(runtime)/$(cmake)/configure $(cmake_flags) |
---|
282 | endef |
---|
283 | define build_cmake |
---|
284 | $(MAKE) -C $(cmake) all |
---|
285 | endef |
---|
286 | define install_cmake |
---|
287 | $(MAKE) -C $(cmake) install |
---|
288 | endef |
---|
289 | define touch_cmake |
---|
290 | touch $(cmake)/timestamp |
---|
291 | endef |
---|
292 | |
---|
293 | $(cmake)/timestamp: |
---|
294 | + $(clean_cmake) |
---|
295 | + $(fetch_cmake) |
---|
296 | + $(configure_cmake) |
---|
297 | + $(build_cmake) |
---|
298 | + $(install_cmake) |
---|
299 | + $(touch_cmake) |
---|
300 | |
---|
301 | # ------------------------------------------------------------------------- |
---|
302 | # EXAMPLES |
---|
303 | # ------------------------------------------------------------------------- |
---|
304 | |
---|
305 | examples_flags = \ |
---|
306 | --with-tclsh="$(bindir)/tclsh8.4" \ |
---|
307 | --enable-shared \ |
---|
308 | $(common_flags) |
---|
309 | |
---|
310 | examples: $(examples)/timestamp |
---|
311 | |
---|
312 | clean-examples: |
---|
313 | $(clean_examples) |
---|
314 | fetch-examples: |
---|
315 | $(fetch_examples) |
---|
316 | configure-examples: |
---|
317 | $(configure_examples) |
---|
318 | build-examples: |
---|
319 | $(build_examples) |
---|
320 | install-examples: |
---|
321 | $(install_examples) |
---|
322 | touch-examples: |
---|
323 | $(touch_examples) |
---|
324 | force-examples: $(gui)/timestamp |
---|
325 | + $(clean_examples) |
---|
326 | + $(fetch_examples) |
---|
327 | + $(configure_examples) |
---|
328 | + $(build_examples) |
---|
329 | + $(install_examples) |
---|
330 | + $(touch_examples) |
---|
331 | |
---|
332 | define clean_examples |
---|
333 | $(MAKE) -C $(examples) clean |
---|
334 | endef |
---|
335 | define fetch_examples |
---|
336 | endef |
---|
337 | define configure_examples |
---|
338 | $(MKDIR_P) $(examples) |
---|
339 | endef |
---|
340 | define build_examples |
---|
341 | $(MAKE) -C $(examples) all |
---|
342 | endef |
---|
343 | define install_examples |
---|
344 | $(MAKE) -C $(examples) install |
---|
345 | endef |
---|
346 | define touch_examples |
---|
347 | touch $(examples)/timestamp |
---|
348 | endef |
---|
349 | |
---|
350 | $(examples)/timestamp: $(gui)/timestamp |
---|
351 | + $(clean_examples) |
---|
352 | + $(fetch_examples) |
---|
353 | + $(configure_examples) |
---|
354 | + $(build_examples) |
---|
355 | + $(install_examples) |
---|
356 | + $(touch_examples) |
---|
357 | |
---|
358 | # ------------------------------------------------------------------------- |
---|
359 | # EXPAT |
---|
360 | # ------------------------------------------------------------------------- |
---|
361 | |
---|
362 | expat_flags = \ |
---|
363 | --enable-shared \ |
---|
364 | $(common_flags) |
---|
365 | |
---|
366 | expat: $(expat)/timestamp |
---|
367 | |
---|
368 | clean-expat: |
---|
369 | $(clean_expat) |
---|
370 | fetch-expat: |
---|
371 | $(fetch_expat) |
---|
372 | configure-expat: |
---|
373 | $(configure_expat) |
---|
374 | build-expat: |
---|
375 | $(build_expat) |
---|
376 | install-expat: |
---|
377 | $(install_expat) |
---|
378 | touch-expat: |
---|
379 | $(touch_expat) |
---|
380 | force-expat: |
---|
381 | + $(clean_expat) |
---|
382 | + $(fetch_expat) |
---|
383 | + $(configure_expat) |
---|
384 | + $(build_expat) |
---|
385 | + $(install_expat) |
---|
386 | + $(touch_expat) |
---|
387 | |
---|
388 | define clean_expat |
---|
389 | $(RM) -r $(expat) |
---|
390 | endef |
---|
391 | define fetch_expat |
---|
392 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(expat) |
---|
393 | endef |
---|
394 | define configure_expat |
---|
395 | $(MKDIR_P) $(expat) |
---|
396 | cd $(expat); $(runtime)/$(expat)/configure $(expat_flags) |
---|
397 | endef |
---|
398 | define build_expat |
---|
399 | $(MAKE) -C $(expat) all |
---|
400 | endef |
---|
401 | define install_expat |
---|
402 | $(MAKE) -C $(expat) install |
---|
403 | endef |
---|
404 | define touch_expat |
---|
405 | touch $(expat)/timestamp |
---|
406 | endef |
---|
407 | |
---|
408 | $(expat)/timestamp: |
---|
409 | + $(clean_expat) |
---|
410 | + $(fetch_expat) |
---|
411 | + $(configure_expat) |
---|
412 | + $(build_expat) |
---|
413 | + $(install_expat) |
---|
414 | + $(touch_expat) |
---|
415 | |
---|
416 | # ------------------------------------------------------------------------- |
---|
417 | # EXPECT |
---|
418 | # ------------------------------------------------------------------------- |
---|
419 | |
---|
420 | expect_flags = \ |
---|
421 | --enable-shared \ |
---|
422 | --enable-64bit \ |
---|
423 | --with-tcl=$(libdir) \ |
---|
424 | --with-tclinclude=$(incdir) \ |
---|
425 | $(common_flags) |
---|
426 | |
---|
427 | expect: $(expect)/timestamp |
---|
428 | |
---|
429 | clean-expect: |
---|
430 | $(clean_expect) |
---|
431 | fetch-expect: |
---|
432 | $(fetch_expect) |
---|
433 | configure-expect: |
---|
434 | $(configure_expect) |
---|
435 | build-expect: |
---|
436 | $(build_expect) |
---|
437 | install-expect: |
---|
438 | $(install_expect) |
---|
439 | touch-expect: |
---|
440 | $(touch_expect) |
---|
441 | force-expect: $(tcl)/timestamp $(tk)/timestamp |
---|
442 | + $(clean_expect) |
---|
443 | + $(fetch_expect) |
---|
444 | + $(configure_expect) |
---|
445 | + $(build_expect) |
---|
446 | + $(install_expect) |
---|
447 | + $(touch_expect) |
---|
448 | |
---|
449 | define clean_expect |
---|
450 | $(RM) -r $(expect) |
---|
451 | endef |
---|
452 | define fetch_expect |
---|
453 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(expect) |
---|
454 | endef |
---|
455 | define configure_expect |
---|
456 | $(MKDIR_P) $(expect) |
---|
457 | cd $(expect); $(runtime)/$(expect)/configure $(expect_flags) |
---|
458 | endef |
---|
459 | define build_expect |
---|
460 | $(MAKE) -C $(expect) all |
---|
461 | endef |
---|
462 | define install_expect |
---|
463 | $(MAKE) -C $(expect) install |
---|
464 | endef |
---|
465 | define touch_expect |
---|
466 | touch $(expect)/timestamp |
---|
467 | endef |
---|
468 | |
---|
469 | $(expect)/timestamp: $(tcl)/timestamp $(tk)/timestamp |
---|
470 | + $(clean_expect) |
---|
471 | + $(fetch_expect) |
---|
472 | + $(configure_expect) |
---|
473 | + $(build_expect) |
---|
474 | + $(install_expect) |
---|
475 | + $(touch_expect) |
---|
476 | |
---|
477 | # ------------------------------------------------------------------------- |
---|
478 | # GLEW |
---|
479 | # ------------------------------------------------------------------------- |
---|
480 | |
---|
481 | glew_flags = \ |
---|
482 | --enable-shared \ |
---|
483 | $(common_flags) |
---|
484 | |
---|
485 | glew: $(glew)/timestamp |
---|
486 | |
---|
487 | clean-glew: |
---|
488 | $(clean_glew) |
---|
489 | fetch-glew: |
---|
490 | $(fetch_glew) |
---|
491 | configure-glew: |
---|
492 | $(configure_glew) |
---|
493 | build-glew: |
---|
494 | $(build_glew) |
---|
495 | install-glew: |
---|
496 | $(install_glew) |
---|
497 | touch-glew: |
---|
498 | $(touch_glew) |
---|
499 | force-glew: |
---|
500 | + $(clean_glew) |
---|
501 | + $(fetch_glew) |
---|
502 | + $(configure_glew) |
---|
503 | + $(build_glew) |
---|
504 | + $(install_glew) |
---|
505 | + $(touch_glew) |
---|
506 | |
---|
507 | define clean_glew |
---|
508 | $(RM) -r $(glew) |
---|
509 | endef |
---|
510 | define fetch_glew |
---|
511 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(glew) |
---|
512 | endef |
---|
513 | define configure_glew |
---|
514 | $(MKDIR_P) $(glew) |
---|
515 | cd $(glew); $(runtime)/$(glew)/configure $(glew_flags) |
---|
516 | endef |
---|
517 | define build_glew |
---|
518 | $(MAKE) -C $(glew) all |
---|
519 | endef |
---|
520 | define install_glew |
---|
521 | $(MAKE) -C $(glew) install |
---|
522 | endef |
---|
523 | define touch_glew |
---|
524 | touch $(glew)/timestamp |
---|
525 | endef |
---|
526 | |
---|
527 | $(glew)/timestamp: |
---|
528 | + $(clean_glew) |
---|
529 | + $(fetch_glew) |
---|
530 | + $(configure_glew) |
---|
531 | + $(build_glew) |
---|
532 | + $(install_glew) |
---|
533 | + $(touch_glew) |
---|
534 | |
---|
535 | # ------------------------------------------------------------------------- |
---|
536 | # GUI |
---|
537 | # ------------------------------------------------------------------------- |
---|
538 | |
---|
539 | gui_flags = \ |
---|
540 | --with-tclsh="$(bindir)/tclsh8.4" \ |
---|
541 | --enable-shared \ |
---|
542 | $(common_flags) |
---|
543 | |
---|
544 | gui: $(gui)/timestamp |
---|
545 | |
---|
546 | clean-gui: |
---|
547 | $(clean_gui) |
---|
548 | fetch-gui: |
---|
549 | $(fetch_gui) |
---|
550 | configure-gui: |
---|
551 | $(configure_gui) |
---|
552 | build-gui: |
---|
553 | $(build_gui) |
---|
554 | install-gui: |
---|
555 | $(install_gui) |
---|
556 | touch-gui: |
---|
557 | $(touch_gui) |
---|
558 | force-gui: $(librappture)/timestamp \ |
---|
559 | $(blt)/timestamp \ |
---|
560 | $(itk)/timestamp \ |
---|
561 | $(htmlwidget)/timestamp \ |
---|
562 | $(shape)/timestamp \ |
---|
563 | $(sqlitetcl)/timestamp \ |
---|
564 | $(vtk)/timestamp |
---|
565 | + $(clean_gui) |
---|
566 | + $(fetch_gui) |
---|
567 | + $(configure_gui) |
---|
568 | + $(build_gui) |
---|
569 | + $(install_gui) |
---|
570 | + $(touch_gui) |
---|
571 | |
---|
572 | define clean_gui |
---|
573 | $(RM) -r $(gui) |
---|
574 | endef |
---|
575 | define fetch_gui |
---|
576 | endef |
---|
577 | define configure_gui |
---|
578 | $(MKDIR_P) $(gui) |
---|
579 | cd $(gui); $(srcdir)/$(gui)/configure $(gui_flags) |
---|
580 | endef |
---|
581 | define build_gui |
---|
582 | $(MAKE) -C $(gui) all |
---|
583 | endef |
---|
584 | define install_gui |
---|
585 | $(MAKE) -C $(gui) install |
---|
586 | endef |
---|
587 | define touch_gui |
---|
588 | touch $(gui)/timestamp |
---|
589 | endef |
---|
590 | |
---|
591 | $(gui)/timestamp: $(librappture)/timestamp \ |
---|
592 | $(blt)/timestamp \ |
---|
593 | $(itk)/timestamp \ |
---|
594 | $(htmlwidget)/timestamp \ |
---|
595 | $(shape)/timestamp \ |
---|
596 | $(sqlitetcl)/timestamp \ |
---|
597 | $(vtk)/timestamp |
---|
598 | + $(clean_gui) |
---|
599 | + $(fetch_gui) |
---|
600 | + $(configure_gui) |
---|
601 | + $(build_gui) |
---|
602 | + $(install_gui) |
---|
603 | + $(touch_gui) |
---|
604 | |
---|
605 | # ------------------------------------------------------------------------- |
---|
606 | # HTMLWIDGET |
---|
607 | # ------------------------------------------------------------------------- |
---|
608 | |
---|
609 | htmlwidget_flags = \ |
---|
610 | --enable-shared \ |
---|
611 | $(common_flags) |
---|
612 | |
---|
613 | htmlwidget: $(htmlwidget)/timestamp |
---|
614 | |
---|
615 | clean-htmlwidget: |
---|
616 | $(clean_htmlwidget) |
---|
617 | fetch-htmlwidget: |
---|
618 | $(fetch_htmlwidget) |
---|
619 | configure-htmlwidget: |
---|
620 | $(configure_htmlwidget) |
---|
621 | build-htmlwidget: |
---|
622 | $(build_htmlwidget) |
---|
623 | install-htmlwidget: |
---|
624 | $(install_htmlwidget) |
---|
625 | touch-htmlwidget: |
---|
626 | $(touch_htmlwidget) |
---|
627 | force-htmlwidget: $(tk)/timestamp |
---|
628 | + $(clean_htmlwidget) |
---|
629 | + $(fetch_htmlwidget) |
---|
630 | + $(configure_htmlwidget) |
---|
631 | + $(build_htmlwidget) |
---|
632 | + $(install_htmlwidget) |
---|
633 | + $(touch_htmlwidget) |
---|
634 | |
---|
635 | define clean_htmlwidget |
---|
636 | $(RM) -r $(htmlwidget) |
---|
637 | endef |
---|
638 | define fetch_htmlwidget |
---|
639 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(htmlwidget) |
---|
640 | endef |
---|
641 | define configure_htmlwidget |
---|
642 | $(MKDIR_P) $(htmlwidget) |
---|
643 | cd $(htmlwidget); $(runtime)/$(htmlwidget)/configure $(htmlwidget_flags) |
---|
644 | endef |
---|
645 | define build_htmlwidget |
---|
646 | $(MAKE) -C $(htmlwidget) all |
---|
647 | endef |
---|
648 | define install_htmlwidget |
---|
649 | $(MAKE) -C $(htmlwidget) install |
---|
650 | endef |
---|
651 | define touch_htmlwidget |
---|
652 | touch $(htmlwidget)/timestamp |
---|
653 | endef |
---|
654 | |
---|
655 | $(htmlwidget)/timestamp: $(tk)/timestamp |
---|
656 | + $(clean_htmlwidget) |
---|
657 | + $(fetch_htmlwidget) |
---|
658 | + $(configure_htmlwidget) |
---|
659 | + $(build_htmlwidget) |
---|
660 | + $(install_htmlwidget) |
---|
661 | + $(touch_htmlwidget) |
---|
662 | |
---|
663 | # ------------------------------------------------------------------------- |
---|
664 | # ITCL |
---|
665 | # ------------------------------------------------------------------------- |
---|
666 | |
---|
667 | itcl_flags = \ |
---|
668 | --enable-shared \ |
---|
669 | $(common_flags) |
---|
670 | |
---|
671 | itcl: $(itcl)/timestamp |
---|
672 | |
---|
673 | clean-itcl: |
---|
674 | $(clean_itcl) |
---|
675 | fetch-itcl: |
---|
676 | $(fetch_itcl) |
---|
677 | configure-itcl: |
---|
678 | $(configure_itcl) |
---|
679 | build-itcl: |
---|
680 | $(build_itcl) |
---|
681 | install-itcl: |
---|
682 | $(install_itcl) |
---|
683 | touch-itcl: |
---|
684 | $(touch_itcl) |
---|
685 | force-itcl: |
---|
686 | + $(clean_itcl) |
---|
687 | + $(fetch_itcl) |
---|
688 | + $(configure_itcl) |
---|
689 | + $(build_itcl) |
---|
690 | + $(install_itcl) |
---|
691 | + $(touch_itcl) |
---|
692 | |
---|
693 | define clean_itcl |
---|
694 | $(RM) -r $(itcl) |
---|
695 | endef |
---|
696 | define fetch_itcl |
---|
697 | sh $(srcdir)/fetch.sh $(TAG) $(srcdir) $(itcl) |
---|
698 | endef |
---|
699 | define configure_itcl |
---|
700 | $(MKDIR_P) $(itcl) |
---|
701 | cd $(itcl); $(runtime)/$(itcl)/configure $(itcl_flags) |
---|
702 | endef |
---|
703 | define build_itcl |
---|
704 | $(MAKE) -C $(itcl) all |
---|
705 | endef |
---|
706 | define install_itcl |
---|
707 | $(MAKE) -C $(itcl) install |
---|
708 | endef |
---|
709 | define touch_itcl |
---|
710 | touch $(itcl)/timestamp |
---|
711 | endef |
---|
712 | |
---|
713 | $(itcl)/timestamp: $(tcl)/timestamp |
---|
714 | + $(clean_itcl) |
---|
715 | + $(fetch_itcl) |
---|
716 | + $(configure_itcl) |
---|
717 | + $(build_itcl) |
---|
718 | + $(install_itcl) |
---|
719 | + $(touch_itcl) |
---|
720 | |
---|
721 | # ------------------------------------------------------------------------- |
---|
722 | # ITK |
---|
723 | # ------------------------------------------------------------------------- |
---|
724 | |
---|
725 | itk_flags = \ |
---|
726 | --enable-shared \ |
---|
727 | $(common_flags) |
---|
728 | |
---|
729 | itk: $(itk)/timestamp |
---|
730 | |
---|
731 | clean-itk: |
---|
732 | $(clean_itk) |
---|
733 | fetch-itk: |
---|
734 | $(fetch_itk) |
---|
735 | configure-itk: |
---|
736 | $(configure_itk) |
---|
737 | build-itk: |
---|
738 | $(build_itk) |
---|
739 | install-itk: |
---|
740 | $(install_itk) |
---|
741 | touch-itk: |
---|
742 | $(touch_itk) |
---|
743 | force-itk: $(itcl)/timestamp $(tk)/timestamp |
---|
744 | + $(clean_itk) |
---|
745 | + $(fetch_itk) |
---|
746 | + $(configure_itk) |
---|
747 | + $(build_itk) |
---|
748 | + $(install_itk) |
---|
749 | + $(touch_itk) |
---|
750 | |
---|
751 | define clean_itk |
---|
752 | $(RM) -r $(itk) |
---|
753 | endef |
---|
754 | define fetch_itk |
---|
755 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(itk) |
---|
756 | endef |
---|
757 | define configure_itk |
---|
758 | $(MKDIR_P) $(itk) |
---|
759 | cd $(itk); $(runtime)/$(itk)/configure $(itk_flags) |
---|
760 | endef |
---|
761 | define build_itk |
---|
762 | $(MAKE) -C $(itk) all |
---|
763 | endef |
---|
764 | define install_itk |
---|
765 | $(MAKE) -C $(itk) install |
---|
766 | endef |
---|
767 | define touch_itk |
---|
768 | touch $(itk)/timestamp |
---|
769 | endef |
---|
770 | |
---|
771 | $(itk)/timestamp: $(itcl)/timestamp $(tk)/timestamp |
---|
772 | + $(clean_itk) |
---|
773 | + $(fetch_itk) |
---|
774 | + $(configure_itk) |
---|
775 | + $(build_itk) |
---|
776 | + $(install_itk) |
---|
777 | + $(touch_itk) |
---|
778 | |
---|
779 | # ------------------------------------------------------------------------- |
---|
780 | # LANG |
---|
781 | # ------------------------------------------------------------------------- |
---|
782 | |
---|
783 | lang_flags = \ |
---|
784 | --enable-shared \ |
---|
785 | $(common_flags) |
---|
786 | |
---|
787 | lang: $(lang)/timestamp |
---|
788 | |
---|
789 | clean-lang: |
---|
790 | $(clean_lang) |
---|
791 | fetch-lang: |
---|
792 | $(fetch_lang) |
---|
793 | configure-lang: |
---|
794 | $(configure_lang) |
---|
795 | build-lang: |
---|
796 | $(build_lang) |
---|
797 | install-lang: |
---|
798 | $(install_lang) |
---|
799 | touch-lang: |
---|
800 | $(touch_lang) |
---|
801 | force-lang: $(gui)/timestamp |
---|
802 | + $(clean_lang) |
---|
803 | + $(fetch_lang) |
---|
804 | + $(configure_lang) |
---|
805 | + $(build_lang) |
---|
806 | + $(install_lang) |
---|
807 | + $(touch_lang) |
---|
808 | |
---|
809 | define clean_lang |
---|
810 | $(RM) -r $(lang) |
---|
811 | endef |
---|
812 | define fetch_lang |
---|
813 | endef |
---|
814 | define configure_lang |
---|
815 | $(MKDIR_P) $(lang) |
---|
816 | cd $(lang); $(srcdir)/$(lang)/configure $(lang_flags) |
---|
817 | endef |
---|
818 | define build_lang |
---|
819 | $(MAKE) -C $(lang) all |
---|
820 | endef |
---|
821 | define install_lang |
---|
822 | $(MAKE) -C $(lang) install |
---|
823 | endef |
---|
824 | define touch_lang |
---|
825 | touch $(lang)/timestamp |
---|
826 | endef |
---|
827 | |
---|
828 | $(lang)/timestamp: $(librappture)/timestamp $(tcl)/timestamp $(itcl)/timestamp |
---|
829 | + $(clean_lang) |
---|
830 | + $(fetch_lang) |
---|
831 | + $(configure_lang) |
---|
832 | + $(build_lang) |
---|
833 | + $(install_lang) |
---|
834 | + $(touch_lang) |
---|
835 | |
---|
836 | |
---|
837 | # ------------------------------------------------------------------------- |
---|
838 | # LIBRAPPTURE |
---|
839 | # ------------------------------------------------------------------------- |
---|
840 | |
---|
841 | librappture_flags = \ |
---|
842 | --enable-shared \ |
---|
843 | $(common_flags) |
---|
844 | |
---|
845 | librappture: $(librappture)/timestamp |
---|
846 | |
---|
847 | clean-librappture: |
---|
848 | $(clean_librappture) |
---|
849 | fetch-librappture: |
---|
850 | $(fetch_librappture) |
---|
851 | configure-librappture: |
---|
852 | $(configure_librappture) |
---|
853 | build-librappture: |
---|
854 | $(build_librappture) |
---|
855 | install-librappture: |
---|
856 | $(install_librappture) |
---|
857 | touch-librappture: |
---|
858 | $(touch_librappture) |
---|
859 | force-librappture: |
---|
860 | + $(clean_librappture) |
---|
861 | + $(fetch_librappture) |
---|
862 | + $(configure_librappture) |
---|
863 | + $(build_librappture) |
---|
864 | + $(install_librappture) |
---|
865 | + $(touch_librappture) |
---|
866 | |
---|
867 | define clean_librappture |
---|
868 | $(RM) -r $(librappture) |
---|
869 | endef |
---|
870 | define fetch_librappture |
---|
871 | endef |
---|
872 | define configure_librappture |
---|
873 | $(MKDIR_P) $(librappture) |
---|
874 | cd $(librappture); $(srcdir)/src/configure $(librappture_flags) |
---|
875 | endef |
---|
876 | define build_librappture |
---|
877 | $(MAKE) -C $(librappture) all |
---|
878 | endef |
---|
879 | define install_librappture |
---|
880 | $(MAKE) -C $(librappture) install |
---|
881 | endef |
---|
882 | define touch_librappture |
---|
883 | touch $(librappture)/timestamp |
---|
884 | endef |
---|
885 | |
---|
886 | $(librappture)/timestamp: |
---|
887 | + $(clean_librappture) |
---|
888 | + $(fetch_librappture) |
---|
889 | + $(configure_librappture) |
---|
890 | + $(build_librappture) |
---|
891 | + $(install_librappture) |
---|
892 | + $(touch_librappture) |
---|
893 | |
---|
894 | # ------------------------------------------------------------------------- |
---|
895 | # NANOSCALE |
---|
896 | # ------------------------------------------------------------------------- |
---|
897 | |
---|
898 | nanoscale_flags = \ |
---|
899 | --with-statsdir=$(statsdir) \ |
---|
900 | $(common_flags) |
---|
901 | |
---|
902 | nanoscale: $(nanoscale)/timestamp |
---|
903 | |
---|
904 | clean-nanoscale: |
---|
905 | $(clean_nanoscale) |
---|
906 | fetch-nanoscale: |
---|
907 | $(fetch_nanoscale) |
---|
908 | configure-nanoscale: |
---|
909 | $(configure_nanoscale) |
---|
910 | build-nanoscale: |
---|
911 | $(build_nanoscale) |
---|
912 | install-nanoscale: |
---|
913 | $(install_nanoscale) |
---|
914 | touch-nanoscale: |
---|
915 | $(touch_nanoscale) |
---|
916 | force-nanoscale: $(pymol)/timestamp |
---|
917 | + $(clean_nanoscale) |
---|
918 | + $(fetch_nanoscale) |
---|
919 | + $(configure_nanoscale) |
---|
920 | + $(build_nanoscale) |
---|
921 | + $(install_nanoscale) |
---|
922 | + $(touch_nanoscale) |
---|
923 | |
---|
924 | define clean_nanoscale |
---|
925 | $(RM) -r $(nanoscale) |
---|
926 | endef |
---|
927 | define fetch_nanoscale |
---|
928 | endef |
---|
929 | define configure_nanoscale |
---|
930 | $(MKDIR_P) $(nanoscale) |
---|
931 | cd $(nanoscale); $(srcdir)/packages/vizservers/$(nanoscale)/configure $(nanoscale_flags) |
---|
932 | endef |
---|
933 | define build_nanoscale |
---|
934 | $(MAKE) -C $(nanoscale) all |
---|
935 | endef |
---|
936 | define install_nanoscale |
---|
937 | $(MAKE) -C $(nanoscale) install |
---|
938 | endef |
---|
939 | define touch_nanoscale |
---|
940 | touch $(nanoscale)/timestamp |
---|
941 | endef |
---|
942 | |
---|
943 | $(nanoscale)/timestamp: $(pymol)/timestamp |
---|
944 | + $(clean_nanoscale) |
---|
945 | + $(fetch_nanoscale) |
---|
946 | + $(configure_nanoscale) |
---|
947 | + $(build_nanoscale) |
---|
948 | + $(install_nanoscale) |
---|
949 | + $(touch_nanoscale) |
---|
950 | |
---|
951 | |
---|
952 | # ------------------------------------------------------------------------- |
---|
953 | # NANOVIS |
---|
954 | # ------------------------------------------------------------------------- |
---|
955 | |
---|
956 | nanovis_flags = \ |
---|
957 | --with-tcllib=$(libdir) \ |
---|
958 | --with-rappture=$(exec_prefix) \ |
---|
959 | --with-vtk="6.0" \ |
---|
960 | --with-vtk-includes=$(incdir) \ |
---|
961 | --with-vtk-libs=$(libdir) \ |
---|
962 | --with-statsdir=$(statsdir) \ |
---|
963 | $(common_flags) |
---|
964 | |
---|
965 | nanovis: $(nanovis)/timestamp |
---|
966 | |
---|
967 | clean-nanovis: |
---|
968 | $(clean_nanovis) |
---|
969 | fetch-nanovis: |
---|
970 | $(fetch_nanoscale) |
---|
971 | configure-nanovis: |
---|
972 | $(configure_nanovis) |
---|
973 | build-nanovis: |
---|
974 | $(build_nanovis) |
---|
975 | install-nanovis: |
---|
976 | $(install_nanovis) |
---|
977 | touch-nanovis: |
---|
978 | $(touch_nanovis) |
---|
979 | force-nanovis: $(librappture)/timestamp $(vtk)/timestamp |
---|
980 | + $(clean_nanovis) |
---|
981 | + $(fetch_nanovis) |
---|
982 | + $(configure_nanovis) |
---|
983 | + $(build_nanovis) |
---|
984 | + $(install_nanovis) |
---|
985 | + $(touch_nanovis) |
---|
986 | |
---|
987 | define clean_nanovis |
---|
988 | $(RM) -r $(nanovis) |
---|
989 | endef |
---|
990 | define fetch_nanovis |
---|
991 | endef |
---|
992 | define configure_nanovis |
---|
993 | $(MKDIR_P) $(nanovis) |
---|
994 | cd $(nanovis); $(srcdir)/packages/vizservers/$(nanovis)/configure $(nanovis_flags) |
---|
995 | endef |
---|
996 | define build_nanovis |
---|
997 | $(MAKE) -C $(nanovis) all |
---|
998 | endef |
---|
999 | define install_nanovis |
---|
1000 | $(MAKE) -C $(nanovis) install |
---|
1001 | endef |
---|
1002 | define touch_nanovis |
---|
1003 | touch $(nanovis)/timestamp |
---|
1004 | endef |
---|
1005 | |
---|
1006 | $(nanovis)/timestamp: $(librappture)/timestamp $(vtk)/timestamp |
---|
1007 | + $(clean_nanovis) |
---|
1008 | + $(fetch_nanovis) |
---|
1009 | + $(configure_nanovis) |
---|
1010 | + $(build_nanovis) |
---|
1011 | + $(install_nanovis) |
---|
1012 | + $(touch_nanovis) |
---|
1013 | |
---|
1014 | # ------------------------------------------------------------------------- |
---|
1015 | # OPTIMIZER |
---|
1016 | # ------------------------------------------------------------------------- |
---|
1017 | |
---|
1018 | optimizer_flags = \ |
---|
1019 | --with-tclsh="$(bindir)/tclsh8.4" \ |
---|
1020 | --enable-shared \ |
---|
1021 | $(common_flags) |
---|
1022 | |
---|
1023 | optimizer: $(optimizer)/timestamp |
---|
1024 | |
---|
1025 | clean-optimizer: |
---|
1026 | $(clean_optimizer) |
---|
1027 | fetch-optimizer: |
---|
1028 | $(fetch_optimizer) |
---|
1029 | configure-optimizer: |
---|
1030 | $(configure_optimizer) |
---|
1031 | build-optimizer: |
---|
1032 | $(build_optimizer) |
---|
1033 | install-optimizer: |
---|
1034 | $(install_optimizer) |
---|
1035 | touch-optimizer: |
---|
1036 | $(touch_optimizer) |
---|
1037 | force-optimizer: $(gui)/timestamp |
---|
1038 | + $(clean_optimizer) |
---|
1039 | + $(fetch_optimizer) |
---|
1040 | + $(configure_optimizer) |
---|
1041 | + $(build_optimizer) |
---|
1042 | + $(install_optimizer) |
---|
1043 | + $(touch_optimizer) |
---|
1044 | |
---|
1045 | define clean_optimizer |
---|
1046 | $(RM) -r $(optimizer) |
---|
1047 | endef |
---|
1048 | define fetch_optimizer |
---|
1049 | endef |
---|
1050 | define configure_optimizer |
---|
1051 | $(MKDIR_P) $(optimizer) |
---|
1052 | cd $(optimizer); $(srcdir)/$(optimizer)/configure $(optimizer_flags) |
---|
1053 | endef |
---|
1054 | define build_optimizer |
---|
1055 | $(MAKE) -C $(optimizer) all |
---|
1056 | endef |
---|
1057 | define install_optimizer |
---|
1058 | $(MAKE) -C $(optimizer) install |
---|
1059 | endef |
---|
1060 | define touch_optimizer |
---|
1061 | touch $(optimizer)/timestamp |
---|
1062 | endef |
---|
1063 | |
---|
1064 | $(optimizer)/timestamp: $(gui)/timestamp |
---|
1065 | + $(clean_optimizer) |
---|
1066 | + $(fetch_optimizer) |
---|
1067 | + $(configure_optimizer) |
---|
1068 | + $(build_optimizer) |
---|
1069 | + $(install_optimizer) |
---|
1070 | + $(touch_optimizer) |
---|
1071 | |
---|
1072 | # ------------------------------------------------------------------------- |
---|
1073 | # OSG |
---|
1074 | # ------------------------------------------------------------------------- |
---|
1075 | |
---|
1076 | osg_flags = \ |
---|
1077 | --with-tclsh="$(bindir)/tclsh8.4" \ |
---|
1078 | --enable-shared \ |
---|
1079 | $(common_flags) |
---|
1080 | |
---|
1081 | osg: $(osg)/timestamp |
---|
1082 | |
---|
1083 | clean-osg: |
---|
1084 | $(clean_osg) |
---|
1085 | fetch-osg: |
---|
1086 | $(fetch_osg) |
---|
1087 | configure-osg: |
---|
1088 | $(configure_osg) |
---|
1089 | build-osg: |
---|
1090 | $(build_osg) |
---|
1091 | install-osg: |
---|
1092 | $(install_osg) |
---|
1093 | touch-osg: |
---|
1094 | $(touch_osg) |
---|
1095 | force-osg: $(gui)/timestamp |
---|
1096 | + $(clean_osg) |
---|
1097 | + $(fetch_osg) |
---|
1098 | + $(configure_osg) |
---|
1099 | + $(build_osg) |
---|
1100 | + $(install_osg) |
---|
1101 | + $(touch_osg) |
---|
1102 | |
---|
1103 | define clean_osg |
---|
1104 | $(RM) -r $(osg) |
---|
1105 | endef |
---|
1106 | define fetch_osg |
---|
1107 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(osg) |
---|
1108 | endef |
---|
1109 | define configure_osg |
---|
1110 | $(MKDIR_P) $(osg) |
---|
1111 | cd $(osg); $(runtime)/$(osg)/configure $(osg_flags) |
---|
1112 | endef |
---|
1113 | define build_osg |
---|
1114 | $(MAKE) -C $(osg) all |
---|
1115 | endef |
---|
1116 | define install_osg |
---|
1117 | $(MAKE) -C $(osg) install |
---|
1118 | endef |
---|
1119 | define touch_osg |
---|
1120 | touch $(osg)/timestamp |
---|
1121 | endef |
---|
1122 | |
---|
1123 | $(osg)/timestamp: |
---|
1124 | + $(clean_osg) |
---|
1125 | + $(fetch_osg) |
---|
1126 | + $(configure_osg) |
---|
1127 | + $(build_osg) |
---|
1128 | + $(install_osg) |
---|
1129 | + $(touch_osg) |
---|
1130 | |
---|
1131 | # ------------------------------------------------------------------------- |
---|
1132 | # OSGEARTH |
---|
1133 | # ------------------------------------------------------------------------- |
---|
1134 | |
---|
1135 | osgearth_flags = \ |
---|
1136 | --with-tclsh="$(bindir)/tclsh8.4" \ |
---|
1137 | --enable-shared \ |
---|
1138 | $(common_flags) |
---|
1139 | |
---|
1140 | osgearth: $(osgearth)/timestamp |
---|
1141 | |
---|
1142 | clean-osgearth: |
---|
1143 | $(clean_osgearth) |
---|
1144 | fetch-osgearth: |
---|
1145 | $(fetch_osgearth) |
---|
1146 | configure-osgearth: |
---|
1147 | $(configure_osgearth) |
---|
1148 | build-osgearth: |
---|
1149 | $(build_osgearth) |
---|
1150 | install-osgearth: |
---|
1151 | $(install_osgearth) |
---|
1152 | touch-osgearth: |
---|
1153 | $(touch_osgearth) |
---|
1154 | force-osgearth: $(gui)/timestamp |
---|
1155 | + $(clean_osgearth) |
---|
1156 | + $(fetch_osgearth) |
---|
1157 | + $(configure_osgearth) |
---|
1158 | + $(build_osgearth) |
---|
1159 | + $(install_osgearth) |
---|
1160 | + $(touch_osgearth) |
---|
1161 | |
---|
1162 | define clean_osgearth |
---|
1163 | $(RM) -r $(osgearth) |
---|
1164 | endef |
---|
1165 | define fetch_osgearth |
---|
1166 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(osgearth) |
---|
1167 | endef |
---|
1168 | define configure_osgearth |
---|
1169 | $(MKDIR_P) $(osgearth) |
---|
1170 | cd $(osgearth); $(runtime)/$(osgearth)/configure $(osgearth_flags) |
---|
1171 | endef |
---|
1172 | define build_osgearth |
---|
1173 | $(MAKE) -C $(osgearth) all |
---|
1174 | endef |
---|
1175 | define install_osgearth |
---|
1176 | $(MAKE) -C $(osgearth) install |
---|
1177 | endef |
---|
1178 | define touch_osgearth |
---|
1179 | touch $(osgearth)/timestamp |
---|
1180 | endef |
---|
1181 | |
---|
1182 | $(osgearth)/timestamp: $(osg)/timestamp |
---|
1183 | + $(clean_osgearth) |
---|
1184 | + $(fetch_osgearth) |
---|
1185 | + $(configure_osgearth) |
---|
1186 | + $(build_osgearth) |
---|
1187 | + $(install_osgearth) |
---|
1188 | + $(touch_osgearth) |
---|
1189 | |
---|
1190 | # ------------------------------------------------------------------------- |
---|
1191 | # PYMOL |
---|
1192 | # ------------------------------------------------------------------------- |
---|
1193 | |
---|
1194 | pymol_flags = \ |
---|
1195 | $(common_flags) |
---|
1196 | |
---|
1197 | pymol: $(pymol)/timestamp |
---|
1198 | |
---|
1199 | clean-pymol: |
---|
1200 | $(clean_pymol) |
---|
1201 | fetch-pymol: |
---|
1202 | $(fetch_pymol) |
---|
1203 | configure-pymol: |
---|
1204 | $(configure_pymol) |
---|
1205 | build-pymol: |
---|
1206 | $(build_pymol) |
---|
1207 | install-pymol: |
---|
1208 | $(install_pymol) |
---|
1209 | touch-pymol: |
---|
1210 | $(touch_pymol) |
---|
1211 | force-pymol: $(glew)/timestamp |
---|
1212 | + $(clean_pymol) |
---|
1213 | + $(fetch_pymol) |
---|
1214 | + $(configure_pymol) |
---|
1215 | + $(build_pymol) |
---|
1216 | + $(install_pymol) |
---|
1217 | + $(touch_pymol) |
---|
1218 | |
---|
1219 | define clean_pymol |
---|
1220 | $(RM) -r $(pymol) |
---|
1221 | endef |
---|
1222 | define fetch_pymol |
---|
1223 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(pymol) |
---|
1224 | endef |
---|
1225 | define configure_pymol |
---|
1226 | $(MKDIR_P) $(pymol) |
---|
1227 | cd $(pymol); $(runtime)/$(pymol)/configure $(pymol_flags) |
---|
1228 | endef |
---|
1229 | define build_pymol |
---|
1230 | $(MAKE) -C $(pymol) all |
---|
1231 | endef |
---|
1232 | define install_pymol |
---|
1233 | $(MAKE) -C $(pymol) install |
---|
1234 | endef |
---|
1235 | define touch_pymol |
---|
1236 | touch $(pymol)/timestamp |
---|
1237 | endef |
---|
1238 | |
---|
1239 | $(pymol)/timestamp: $(glew)/timestamp |
---|
1240 | + $(clean_pymol) |
---|
1241 | + $(fetch_pymol) |
---|
1242 | + $(configure_pymol) |
---|
1243 | + $(build_pymol) |
---|
1244 | + $(install_pymol) |
---|
1245 | + $(touch_pymol) |
---|
1246 | |
---|
1247 | |
---|
1248 | # ------------------------------------------------------------------------- |
---|
1249 | # PYMOLPROXY |
---|
1250 | # ------------------------------------------------------------------------- |
---|
1251 | |
---|
1252 | pymolproxy_flags = \ |
---|
1253 | --with-tcllib=$(libdir) \ |
---|
1254 | --with-statsdir=$(statsdir) \ |
---|
1255 | $(common_flags) |
---|
1256 | |
---|
1257 | pymolproxy: $(pymolproxy)/timestamp |
---|
1258 | |
---|
1259 | clean-pymolproxy: |
---|
1260 | $(clean_pymolproxy) |
---|
1261 | fetch-pymolproxy: |
---|
1262 | $(fetch_pymolproxy) |
---|
1263 | configure-pymolproxy: |
---|
1264 | $(configure_pymolproxy) |
---|
1265 | build-pymolproxy: |
---|
1266 | $(build_pymolproxy) |
---|
1267 | install-pymolproxy: |
---|
1268 | $(install_pymolproxy) |
---|
1269 | touch-pymolproxy: |
---|
1270 | $(touch_pymolproxy) |
---|
1271 | force-pymolproxy: $(pymol)/timestamp |
---|
1272 | + $(clean_pymolproxy) |
---|
1273 | + $(fetch_pymolproxy) |
---|
1274 | + $(configure_pymolproxy) |
---|
1275 | + $(build_pymolproxy) |
---|
1276 | + $(install_pymolproxy) |
---|
1277 | + $(touch_pymolproxy) |
---|
1278 | |
---|
1279 | define clean_pymolproxy |
---|
1280 | $(RM) -r $(pymolproxy) |
---|
1281 | endef |
---|
1282 | define fetch_pymolproxy |
---|
1283 | endef |
---|
1284 | define configure_pymolproxy |
---|
1285 | $(MKDIR_P) $(pymolproxy) |
---|
1286 | cd $(pymolproxy); $(srcdir)/packages/vizservers/$(pymolproxy)/configure $(pymolproxy_flags) |
---|
1287 | endef |
---|
1288 | define build_pymolproxy |
---|
1289 | $(MAKE) -C $(pymolproxy) all |
---|
1290 | endef |
---|
1291 | define install_pymolproxy |
---|
1292 | $(MAKE) -C $(pymolproxy) install |
---|
1293 | endef |
---|
1294 | define touch_pymolproxy |
---|
1295 | touch $(pymolproxy)/timestamp |
---|
1296 | endef |
---|
1297 | |
---|
1298 | $(pymolproxy)/timestamp: $(pymol)/timestamp |
---|
1299 | + $(clean_pymolproxy) |
---|
1300 | + $(fetch_pymolproxy) |
---|
1301 | + $(configure_pymolproxy) |
---|
1302 | + $(build_pymolproxy) |
---|
1303 | + $(install_pymolproxy) |
---|
1304 | + $(touch_pymolproxy) |
---|
1305 | |
---|
1306 | # ------------------------------------------------------------------------- |
---|
1307 | # SHAPE |
---|
1308 | # ------------------------------------------------------------------------- |
---|
1309 | |
---|
1310 | shape_flags = \ |
---|
1311 | --enable-shared \ |
---|
1312 | --with-tclconf=$(libdir) \ |
---|
1313 | --with-tkconf=$(libdir) \ |
---|
1314 | $(common_flags) |
---|
1315 | |
---|
1316 | shape: $(shape)/timestamp |
---|
1317 | |
---|
1318 | clean-shape: |
---|
1319 | $(clean_shape) |
---|
1320 | fetch-shape: |
---|
1321 | $(fetch_shape) |
---|
1322 | configure-shape: |
---|
1323 | $(configure_shape) |
---|
1324 | build-shape: |
---|
1325 | $(build_shape) |
---|
1326 | install-shape: |
---|
1327 | $(install_shape) |
---|
1328 | touch-shape: |
---|
1329 | $(touch_shape) |
---|
1330 | force-shape: $(tk)/timestamp |
---|
1331 | + $(clean_shape) |
---|
1332 | + $(fetch_shape) |
---|
1333 | + $(configure_shape) |
---|
1334 | + $(build_shape) |
---|
1335 | + $(install_shape) |
---|
1336 | + $(touch_shape) |
---|
1337 | |
---|
1338 | define clean_shape |
---|
1339 | $(RM) -r $(shape) |
---|
1340 | endef |
---|
1341 | define fetch_shape |
---|
1342 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(shape) |
---|
1343 | endef |
---|
1344 | define configure_shape |
---|
1345 | $(MKDIR_P) $(shape) |
---|
1346 | cd $(shape); $(runtime)/$(shape)/unix/configure $(shape_flags) |
---|
1347 | endef |
---|
1348 | define build_shape |
---|
1349 | $(MAKE) -C $(shape) all |
---|
1350 | endef |
---|
1351 | define install_shape |
---|
1352 | $(MAKE) -C $(shape) install |
---|
1353 | endef |
---|
1354 | define touch_shape |
---|
1355 | touch $(shape)/timestamp |
---|
1356 | endef |
---|
1357 | |
---|
1358 | $(shape)/timestamp: $(tk)/timestamp |
---|
1359 | + $(clean_shape) |
---|
1360 | + $(fetch_shape) |
---|
1361 | + $(configure_shape) |
---|
1362 | + $(build_shape) |
---|
1363 | + $(install_shape) |
---|
1364 | + $(touch_shape) |
---|
1365 | |
---|
1366 | # ------------------------------------------------------------------------- |
---|
1367 | # SQLITETCL |
---|
1368 | # ------------------------------------------------------------------------- |
---|
1369 | |
---|
1370 | sqlitetcl_flags = \ |
---|
1371 | --enable-shared \ |
---|
1372 | $(common_flags) |
---|
1373 | |
---|
1374 | sqlitetcl: $(sqlitetcl)/timestamp |
---|
1375 | |
---|
1376 | clean-sqlitetcl: |
---|
1377 | $(clean_sqlitetcl) |
---|
1378 | fetch-sqlitetcl: |
---|
1379 | $(fetch_sqlitetcl) |
---|
1380 | configure-sqlitetcl: |
---|
1381 | $(configure_sqlitetcl) |
---|
1382 | build-sqlitetcl: |
---|
1383 | $(build_sqlitetcl) |
---|
1384 | install-sqlitetcl: |
---|
1385 | $(install_sqlitetcl) |
---|
1386 | touch-sqlitetcl: |
---|
1387 | $(touch_sqlitetcl) |
---|
1388 | force-sqlitetcl: $(tcl)/timestamp |
---|
1389 | + $(clean_sqlitetcl) |
---|
1390 | + $(fetch_sqlitelcl) |
---|
1391 | + $(configure_sqlitetcl) |
---|
1392 | + $(build_sqlitetcl) |
---|
1393 | + $(install_sqlitetcl) |
---|
1394 | + $(touch_sqlitetcl) |
---|
1395 | |
---|
1396 | define clean_sqlitetcl |
---|
1397 | $(RM) -r $(sqlitetcl) |
---|
1398 | endef |
---|
1399 | define fetch_sqlitetcl |
---|
1400 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(sqllitetcl) |
---|
1401 | endef |
---|
1402 | define configure_sqlitetcl |
---|
1403 | $(MKDIR_P) $(sqlitetcl) |
---|
1404 | cd $(sqlitetcl); $(runtime)/$(sqlitetcl)/configure $(sqlitetcl_flags) |
---|
1405 | endef |
---|
1406 | define build_sqlitetcl |
---|
1407 | $(MAKE) -C $(sqlitetcl) all |
---|
1408 | endef |
---|
1409 | define install_sqlitetcl |
---|
1410 | $(MAKE) -C $(sqlitetcl) install |
---|
1411 | endef |
---|
1412 | define touch_sqlitetcl |
---|
1413 | touch $(sqlitetcl)/timestamp |
---|
1414 | endef |
---|
1415 | |
---|
1416 | $(sqlitetcl)/timestamp: $(tcl)/timestamp |
---|
1417 | + $(clean_sqlitetcl) |
---|
1418 | + $(fetch_sqlitelcl) |
---|
1419 | + $(configure_sqlitetcl) |
---|
1420 | + $(build_sqlitetcl) |
---|
1421 | + $(install_sqlitetcl) |
---|
1422 | + $(touch_sqlitetcl) |
---|
1423 | |
---|
1424 | # ------------------------------------------------------------------------- |
---|
1425 | # TCL |
---|
1426 | # ------------------------------------------------------------------------- |
---|
1427 | |
---|
1428 | tcl_flags = \ |
---|
1429 | --enable-shared \ |
---|
1430 | --disable-threads \ |
---|
1431 | $(common_flags) |
---|
1432 | |
---|
1433 | tcl: $(tcl)/timestamp |
---|
1434 | |
---|
1435 | clean-tcl: |
---|
1436 | $(clean_tcl) |
---|
1437 | fetch-tcl: |
---|
1438 | $(fetch_tcl) |
---|
1439 | configure-tcl: |
---|
1440 | $(configure_tcl) |
---|
1441 | build-tcl: |
---|
1442 | $(build_tcl) |
---|
1443 | install-tcl: |
---|
1444 | $(install_tcl) |
---|
1445 | touch-tcl: |
---|
1446 | $(touch_tcl) |
---|
1447 | force-tcl: |
---|
1448 | + $(clean_tcl) |
---|
1449 | + $(fetch_tcl) |
---|
1450 | + $(configure_tcl) |
---|
1451 | + $(build_tcl) |
---|
1452 | + $(install_tcl) |
---|
1453 | + $(touch_tcl) |
---|
1454 | |
---|
1455 | define fetch_tcl |
---|
1456 | sh $(srcdir)/fetch.sh trunk $(srcdir) $(tcl) |
---|
1457 | endef |
---|
1458 | define clean_tcl |
---|
1459 | $(RM) -r $(tcl) |
---|
1460 | endef |
---|
1461 | define fetch_tcl |
---|
1462 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(tcl) |
---|
1463 | endef |
---|
1464 | define configure_tcl |
---|
1465 | $(MKDIR_P) $(tcl) |
---|
1466 | cd $(tcl); $(srcdir)/runtime/$(tcl)/unix/configure $(tcl_flags) |
---|
1467 | endef |
---|
1468 | define build_tcl |
---|
1469 | $(MAKE) -C $(tcl) all |
---|
1470 | endef |
---|
1471 | define install_tcl |
---|
1472 | $(MAKE) -C $(tcl) install |
---|
1473 | endef |
---|
1474 | define touch_tcl |
---|
1475 | touch $(tcl)/timestamp |
---|
1476 | endef |
---|
1477 | |
---|
1478 | $(tcl)/timestamp: |
---|
1479 | + $(clean_tcl) |
---|
1480 | + $(fetch_tcl) |
---|
1481 | + $(configure_tcl) |
---|
1482 | + $(build_tcl) |
---|
1483 | + $(install_tcl) |
---|
1484 | + $(touch_tcl) |
---|
1485 | |
---|
1486 | # ------------------------------------------------------------------------- |
---|
1487 | # TCLLIB |
---|
1488 | # ------------------------------------------------------------------------- |
---|
1489 | |
---|
1490 | tcllib_flags = \ |
---|
1491 | --enable-shared \ |
---|
1492 | $(common_flags) |
---|
1493 | |
---|
1494 | tcllib: $(tcllib)/timestamp |
---|
1495 | |
---|
1496 | clean-tcllib: |
---|
1497 | $(clean_tcllib) |
---|
1498 | fetch-tcllib: |
---|
1499 | $(fetch_tcllib) |
---|
1500 | configure-tcllib: |
---|
1501 | $(configure_tcllib) |
---|
1502 | build-tcllib: |
---|
1503 | $(build_tcllib) |
---|
1504 | install-tcllib: |
---|
1505 | $(install_tcllib) |
---|
1506 | touch-tcllib: |
---|
1507 | $(touch_tcllib) |
---|
1508 | force-tcllib: $(tcl)/timestamp |
---|
1509 | + $(clean_tcllib) |
---|
1510 | + $(fetch_tcllib) |
---|
1511 | + $(configure_tcllib) |
---|
1512 | + $(build_tcllib) |
---|
1513 | + $(install_tcllib) |
---|
1514 | + $(touch_tcllib) |
---|
1515 | |
---|
1516 | define clean_tcllib |
---|
1517 | $(RM) -r $(tcllib) |
---|
1518 | endef |
---|
1519 | define fetch_tcllib |
---|
1520 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(tcllib) |
---|
1521 | endef |
---|
1522 | define configure_tcllib |
---|
1523 | $(MKDIR_P) $(tcllib) |
---|
1524 | cd $(tcllib); $(runtime)/$(tcllib)/configure $(tcllib_flags) |
---|
1525 | endef |
---|
1526 | define build_tcllib |
---|
1527 | $(MAKE) -C $(tcllib) all |
---|
1528 | endef |
---|
1529 | define install_tcllib |
---|
1530 | $(MAKE) -C $(tcllib) install |
---|
1531 | endef |
---|
1532 | define touch_tcllib |
---|
1533 | touch $(tcllib)/timestamp |
---|
1534 | endef |
---|
1535 | |
---|
1536 | $(tcllib)/timestamp: $(tcl)/timestamp |
---|
1537 | + $(clean_tcllib) |
---|
1538 | + $(fetch_tcllib) |
---|
1539 | + $(configure_tcllib) |
---|
1540 | + $(build_tcllib) |
---|
1541 | + $(install_tcllib) |
---|
1542 | + $(touch_tcllib) |
---|
1543 | |
---|
1544 | # ------------------------------------------------------------------------- |
---|
1545 | # TDOM |
---|
1546 | # ------------------------------------------------------------------------- |
---|
1547 | |
---|
1548 | tdom_flags = \ |
---|
1549 | --enable-shared \ |
---|
1550 | $(common_flags) |
---|
1551 | |
---|
1552 | tdom: $(tdom)/timestamp |
---|
1553 | |
---|
1554 | clean-tdom: |
---|
1555 | $(clean_tdom) |
---|
1556 | fetch-tdom: |
---|
1557 | $(fetch_tdom) |
---|
1558 | configure-tdom: |
---|
1559 | $(configure_tdom) |
---|
1560 | build-tdom: |
---|
1561 | $(build_tdom) |
---|
1562 | install-tdom: |
---|
1563 | $(install_tdom) |
---|
1564 | touch-tdom: |
---|
1565 | $(touch_tdom) |
---|
1566 | force-tdom: $(tcl)/timestamp |
---|
1567 | + $(clean_tdom) |
---|
1568 | + $(fetch_tdom) |
---|
1569 | + $(configure_tdom) |
---|
1570 | + $(build_tdom) |
---|
1571 | + $(install_tdom) |
---|
1572 | + $(touch_tdom) |
---|
1573 | |
---|
1574 | define clean_tdom |
---|
1575 | $(RM) -r $(tdom) |
---|
1576 | endef |
---|
1577 | define fetch_tdom |
---|
1578 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(tdom) |
---|
1579 | endef |
---|
1580 | define configure_tdom |
---|
1581 | $(MKDIR_P) $(tdom) |
---|
1582 | cd $(tdom); $(runtime)/$(tdom)/configure $(tdom_flags) |
---|
1583 | endef |
---|
1584 | define build_tdom |
---|
1585 | $(MAKE) -C $(tdom) all |
---|
1586 | endef |
---|
1587 | define install_tdom |
---|
1588 | $(MAKE) -C $(tdom) install |
---|
1589 | endef |
---|
1590 | define touch_tdom |
---|
1591 | touch $(tdom)/timestamp |
---|
1592 | endef |
---|
1593 | |
---|
1594 | $(tdom)/timestamp: $(tcl)/timestamp |
---|
1595 | + $(clean_tdom) |
---|
1596 | + $(fetch_tdom) |
---|
1597 | + $(configure_tdom) |
---|
1598 | + $(build_tdom) |
---|
1599 | + $(install_tdom) |
---|
1600 | + $(touch_tdom) |
---|
1601 | |
---|
1602 | # ------------------------------------------------------------------------- |
---|
1603 | # TESTER |
---|
1604 | # ------------------------------------------------------------------------- |
---|
1605 | |
---|
1606 | tester_flags = \ |
---|
1607 | --with-tclsh="$(bindir)/tclsh8.4" \ |
---|
1608 | --enable-shared \ |
---|
1609 | $(common_flags) |
---|
1610 | |
---|
1611 | tester: $(tester)/timestamp |
---|
1612 | |
---|
1613 | clean-tester: |
---|
1614 | $(clean_tester) |
---|
1615 | fetch-tester: |
---|
1616 | $(fetch_tester) |
---|
1617 | configure-tester: |
---|
1618 | $(configure_tester) |
---|
1619 | build-tester: |
---|
1620 | $(build_tester) |
---|
1621 | install-tester: |
---|
1622 | $(install_tester) |
---|
1623 | touch-tester: |
---|
1624 | $(touch_tester) |
---|
1625 | force-tester: $(gui)/timestamp |
---|
1626 | + $(clean_tester) |
---|
1627 | + $(fetch_tester) |
---|
1628 | + $(configure_tester) |
---|
1629 | + $(build_tester) |
---|
1630 | + $(install_tester) |
---|
1631 | + $(touch_tester) |
---|
1632 | |
---|
1633 | define clean_tester |
---|
1634 | $(MAKE) -C $(tester) clean |
---|
1635 | endef |
---|
1636 | define fetch_tester |
---|
1637 | endef |
---|
1638 | define configure_tester |
---|
1639 | $(MKDIR_P) $(tester) |
---|
1640 | endef |
---|
1641 | define build_tester |
---|
1642 | $(MAKE) -C $(tester) all |
---|
1643 | endef |
---|
1644 | define install_tester |
---|
1645 | $(MAKE) -C $(tester) install |
---|
1646 | endef |
---|
1647 | define touch_tester |
---|
1648 | touch $(tester)/timestamp |
---|
1649 | endef |
---|
1650 | |
---|
1651 | $(tester)/timestamp: $(gui)/timestamp |
---|
1652 | + $(clean_tester) |
---|
1653 | + $(fetch_tester) |
---|
1654 | + $(configure_tester) |
---|
1655 | + $(build_tester) |
---|
1656 | + $(install_tester) |
---|
1657 | + $(touch_tester) |
---|
1658 | |
---|
1659 | # ------------------------------------------------------------------------- |
---|
1660 | # TK |
---|
1661 | # ------------------------------------------------------------------------- |
---|
1662 | |
---|
1663 | tk_flags = \ |
---|
1664 | --enable-shared \ |
---|
1665 | --disable-threads \ |
---|
1666 | $(common_flags) |
---|
1667 | |
---|
1668 | tk: $(tk)/timestamp |
---|
1669 | |
---|
1670 | clean-tk: |
---|
1671 | $(clean_tk) |
---|
1672 | fetch-tk: |
---|
1673 | $(fetch_tk) |
---|
1674 | configure-tk: |
---|
1675 | $(configure_tk) |
---|
1676 | build-tk: |
---|
1677 | $(build_tk) |
---|
1678 | install-tk: |
---|
1679 | $(install_tk) |
---|
1680 | touch-tk: |
---|
1681 | $(touch_tk) |
---|
1682 | force-tk: $(tcl)/timestamp |
---|
1683 | + $(clean_tk) |
---|
1684 | + $(fetch_tk) |
---|
1685 | + $(configure_tk) |
---|
1686 | + $(build_tk) |
---|
1687 | + $(install_tk) |
---|
1688 | + $(touch_tk) |
---|
1689 | |
---|
1690 | define clean_tk |
---|
1691 | $(RM) -r $(tk) |
---|
1692 | endef |
---|
1693 | define fetch_tk |
---|
1694 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(tk) |
---|
1695 | endef |
---|
1696 | define configure_tk |
---|
1697 | $(MKDIR_P) $(tk) |
---|
1698 | cd $(tk); $(runtime)/$(tk)/unix/configure $(tk_flags) |
---|
1699 | endef |
---|
1700 | define build_tk |
---|
1701 | $(MAKE) -C $(tk) all |
---|
1702 | endef |
---|
1703 | define install_tk |
---|
1704 | $(MAKE) -C $(tk) install |
---|
1705 | endef |
---|
1706 | define touch_tk |
---|
1707 | touch $(tk)/timestamp |
---|
1708 | endef |
---|
1709 | |
---|
1710 | $(tk)/timestamp: $(tcl)/timestamp |
---|
1711 | + $(clean_tk) |
---|
1712 | + $(fetch_tk) |
---|
1713 | + $(configure_tk) |
---|
1714 | + $(build_tk) |
---|
1715 | + $(install_tk) |
---|
1716 | + $(touch_tk) |
---|
1717 | |
---|
1718 | # ------------------------------------------------------------------------- |
---|
1719 | # TKING |
---|
1720 | # ------------------------------------------------------------------------- |
---|
1721 | |
---|
1722 | tkimg_flags = \ |
---|
1723 | --enable-shared \ |
---|
1724 | $(common_flags) |
---|
1725 | |
---|
1726 | tkimg: $(tkimg)/timestamp |
---|
1727 | |
---|
1728 | clean-tkimg: |
---|
1729 | $(clean_tkimg) |
---|
1730 | fetch-tkimg: |
---|
1731 | $(fetch_tkimg) |
---|
1732 | configure-tkimg: |
---|
1733 | $(configure_tkimg) |
---|
1734 | build-tkimg: |
---|
1735 | $(build_tkimg) |
---|
1736 | install-tkimg: |
---|
1737 | $(install_tkimg) |
---|
1738 | touch-tkimg: |
---|
1739 | $(touch_tkimg) |
---|
1740 | force-tkimg: $(tk)/timestamp |
---|
1741 | + $(clean_tkimg) |
---|
1742 | + $(fetch_tkimg) |
---|
1743 | + $(configure_tkimg) |
---|
1744 | + $(build_tkimg) |
---|
1745 | + $(install_tkimg) |
---|
1746 | + $(touch_tkimg) |
---|
1747 | |
---|
1748 | define clean_tkimg |
---|
1749 | $(RM) -r $(tkimg) |
---|
1750 | endef |
---|
1751 | define fetch_tkimg |
---|
1752 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(tkimg) |
---|
1753 | endef |
---|
1754 | define configure_tkimg |
---|
1755 | $(MKDIR_P) $(tkimg) |
---|
1756 | cd $(tkimg); $(runtime)/$(tkimg)/configure $(tkimg_flags) |
---|
1757 | endef |
---|
1758 | define build_tkimg |
---|
1759 | $(MAKE) -C $(tkimg) all |
---|
1760 | endef |
---|
1761 | define install_tkimg |
---|
1762 | $(MAKE) -C $(tkimg) install |
---|
1763 | endef |
---|
1764 | define touch_tkimg |
---|
1765 | touch $(tkimg)/timestamp |
---|
1766 | endef |
---|
1767 | |
---|
1768 | $(tkimg)/timestamp: $(tk)/timestamp |
---|
1769 | + $(clean_tkimg) |
---|
1770 | + $(fetch_tkimg) |
---|
1771 | + $(configure_tkimg) |
---|
1772 | + $(build_tkimg) |
---|
1773 | + $(install_tkimg) |
---|
1774 | + $(touch_tkimg) |
---|
1775 | |
---|
1776 | # ------------------------------------------------------------------------- |
---|
1777 | # TLS |
---|
1778 | # ------------------------------------------------------------------------- |
---|
1779 | |
---|
1780 | tls_flags = \ |
---|
1781 | --enable-shared \ |
---|
1782 | $(common_flags) |
---|
1783 | |
---|
1784 | tls: $(tls)/timestamp |
---|
1785 | |
---|
1786 | clean-tls: |
---|
1787 | $(clean_tls) |
---|
1788 | fetch-tls: |
---|
1789 | $(fetch_tls) |
---|
1790 | configure-tls: |
---|
1791 | $(configure_tls) |
---|
1792 | build-tls: |
---|
1793 | $(build_tls) |
---|
1794 | install-tls: |
---|
1795 | $(install_tls) |
---|
1796 | touch-tls: |
---|
1797 | $(touch_tls) |
---|
1798 | force-tls: $(tcl)/timestamp |
---|
1799 | + $(clean_tls) |
---|
1800 | + $(fetch_tls) |
---|
1801 | + $(configure_tls) |
---|
1802 | + $(build_tls) |
---|
1803 | + $(install_tls) |
---|
1804 | + $(touch_tls) |
---|
1805 | |
---|
1806 | define clean_tls |
---|
1807 | $(RM) -r $(tls) |
---|
1808 | endef |
---|
1809 | define fetch_tls |
---|
1810 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(tkimg) |
---|
1811 | endef |
---|
1812 | define configure_tls |
---|
1813 | $(MKDIR_P) $(tls) |
---|
1814 | cd $(tls); $(runtime)/$(tls)/configure $(tls_flags) |
---|
1815 | endef |
---|
1816 | define build_tls |
---|
1817 | $(MAKE) -C $(tls) all |
---|
1818 | endef |
---|
1819 | define install_tls |
---|
1820 | $(MAKE) -C $(tls) install |
---|
1821 | endef |
---|
1822 | define touch_tls |
---|
1823 | touch $(tls)/timestamp |
---|
1824 | endef |
---|
1825 | |
---|
1826 | $(tls)/timestamp: $(tcl)/timestamp |
---|
1827 | + $(clean_tls) |
---|
1828 | + $(fetch_tls) |
---|
1829 | + $(configure_tls) |
---|
1830 | + $(build_tls) |
---|
1831 | + $(install_tls) |
---|
1832 | + $(touch_tls) |
---|
1833 | |
---|
1834 | # ------------------------------------------------------------------------- |
---|
1835 | # VIDEO |
---|
1836 | # ------------------------------------------------------------------------- |
---|
1837 | |
---|
1838 | video_flags = \ |
---|
1839 | --with-tclsh="$(bindir)/tclsh8.4" \ |
---|
1840 | --enable-shared \ |
---|
1841 | $(common_flags) |
---|
1842 | |
---|
1843 | video: $(video)/timestamp |
---|
1844 | |
---|
1845 | clean-video: |
---|
1846 | $(clean_video) |
---|
1847 | fetch-video: |
---|
1848 | $(fetch_video) |
---|
1849 | configure-video: |
---|
1850 | $(configure_video) |
---|
1851 | build-video: |
---|
1852 | $(build_video) |
---|
1853 | install-video: |
---|
1854 | $(install_video) |
---|
1855 | touch-video: |
---|
1856 | $(touch_video) |
---|
1857 | force-video: $(gui)/timestamp |
---|
1858 | + $(clean_video) |
---|
1859 | + $(fetch_video) |
---|
1860 | + $(configure_video) |
---|
1861 | + $(build_video) |
---|
1862 | + $(install_video) |
---|
1863 | + $(touch_video) |
---|
1864 | |
---|
1865 | define clean_video |
---|
1866 | $(RM) -r $(video) |
---|
1867 | endef |
---|
1868 | define fetch_video |
---|
1869 | endef |
---|
1870 | define configure_video |
---|
1871 | $(MKDIR_P) $(video) |
---|
1872 | cd $(video); $(srcdir)/$(video)/configure $(video_flags) |
---|
1873 | endef |
---|
1874 | define build_video |
---|
1875 | $(MAKE) -C $(video) all |
---|
1876 | endef |
---|
1877 | define install_video |
---|
1878 | $(MAKE) -C $(video) install |
---|
1879 | endef |
---|
1880 | define touch_video |
---|
1881 | touch $(video)/timestamp |
---|
1882 | endef |
---|
1883 | |
---|
1884 | $(video)/timestamp: $(gui)/timestamp |
---|
1885 | + $(clean_video) |
---|
1886 | + $(fetch_video) |
---|
1887 | + $(configure_video) |
---|
1888 | + $(build_video) |
---|
1889 | + $(install_video) |
---|
1890 | + $(touch_video) |
---|
1891 | |
---|
1892 | |
---|
1893 | # ------------------------------------------------------------------------- |
---|
1894 | # VORONOI |
---|
1895 | # ------------------------------------------------------------------------- |
---|
1896 | |
---|
1897 | voronoi_flags = \ |
---|
1898 | --enable-shared \ |
---|
1899 | $(common_flags) |
---|
1900 | |
---|
1901 | voronoi: $(voronoi)/timestamp |
---|
1902 | |
---|
1903 | clean-voronoi: |
---|
1904 | $(clean_voronoi) |
---|
1905 | fetch-voronoi: |
---|
1906 | $(fetch_voronoi) |
---|
1907 | configure-voronoi: |
---|
1908 | $(configure_voronoi) |
---|
1909 | build-voronoi: |
---|
1910 | $(build_voronoi) |
---|
1911 | install-voronoi: |
---|
1912 | $(install_voronoi) |
---|
1913 | touch-voronoi: |
---|
1914 | $(touch_voronoi) |
---|
1915 | force-voronoi: |
---|
1916 | + $(clean_voronoi) |
---|
1917 | + $(fetch_voronoi) |
---|
1918 | + $(configure_voronoi) |
---|
1919 | + $(build_voronoi) |
---|
1920 | + $(install_voronoi) |
---|
1921 | + $(touch_voronoi) |
---|
1922 | |
---|
1923 | define clean_voronoi |
---|
1924 | $(RM) -r $(voronoi) |
---|
1925 | endef |
---|
1926 | define fetch_voronoi |
---|
1927 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(voronoi) |
---|
1928 | endef |
---|
1929 | define configure_voronoi |
---|
1930 | $(MKDIR_P) $(voronoi) |
---|
1931 | cd $(voronoi); $(runtime)/$(voronoi)/configure $(voronoi_flags) |
---|
1932 | endef |
---|
1933 | define build_voronoi |
---|
1934 | $(MAKE) -C $(voronoi) all |
---|
1935 | endef |
---|
1936 | define install_voronoi |
---|
1937 | $(MAKE) -C $(voronoi) install |
---|
1938 | endef |
---|
1939 | define touch_voronoi |
---|
1940 | touch $(voronoi)/timestamp |
---|
1941 | endef |
---|
1942 | |
---|
1943 | $(voronoi)/timestamp: |
---|
1944 | + $(clean_voronoi) |
---|
1945 | + $(fetch_voronoi) |
---|
1946 | + $(configure_voronoi) |
---|
1947 | + $(build_voronoi) |
---|
1948 | + $(install_voronoi) |
---|
1949 | + $(touch_voronoi) |
---|
1950 | |
---|
1951 | # ------------------------------------------------------------------------- |
---|
1952 | # VTK |
---|
1953 | # ------------------------------------------------------------------------- |
---|
1954 | |
---|
1955 | vtk_flags = \ |
---|
1956 | $(common_flags) |
---|
1957 | |
---|
1958 | vtk: $(vtk)/timestamp |
---|
1959 | |
---|
1960 | clean-vtk: |
---|
1961 | $(clean_vtk) |
---|
1962 | fetch-vtk: |
---|
1963 | $(fetch_vtk) |
---|
1964 | configure-vtk: |
---|
1965 | $(configure_vtk) |
---|
1966 | build-vtk: |
---|
1967 | $(build_vtk) |
---|
1968 | install-vtk: |
---|
1969 | $(install_vtk) |
---|
1970 | touch-vtk: |
---|
1971 | $(touch_vtk) |
---|
1972 | force-vtk: $(cmake)/timestamp $(glew)/timestamp $(tk)/timestamp |
---|
1973 | + $(clean_vtk) |
---|
1974 | + $(fetch_vtk) |
---|
1975 | + $(configure_vtk) |
---|
1976 | + $(build_vtk) |
---|
1977 | + $(install_vtk) |
---|
1978 | + $(touch_vtk) |
---|
1979 | |
---|
1980 | define clean_vtk |
---|
1981 | $(RM) -r $(vtk) |
---|
1982 | endef |
---|
1983 | define fetch_vtk |
---|
1984 | sh $(srcdir)/fetch.sh $(TAG) $(srcdir) $(vtk) |
---|
1985 | endef |
---|
1986 | define configure_vtk |
---|
1987 | $(MKDIR_P) $(vtk) |
---|
1988 | cd $(vtk); $(runtime)/$(vtk)/configure $(vtk_flags) |
---|
1989 | endef |
---|
1990 | define build_vtk |
---|
1991 | $(MAKE) -C $(vtk) all |
---|
1992 | endef |
---|
1993 | define install_vtk |
---|
1994 | $(MAKE) -C $(vtk) install |
---|
1995 | endef |
---|
1996 | define touch_vtk |
---|
1997 | touch $(vtk)/timestamp |
---|
1998 | endef |
---|
1999 | |
---|
2000 | $(vtk)/timestamp: $(cmake)/timestamp $(glew)/timestamp $(tk)/timestamp |
---|
2001 | + $(clean_vtk) |
---|
2002 | + $(fetch_vtk) |
---|
2003 | + $(configure_vtk) |
---|
2004 | + $(build_vtk) |
---|
2005 | + $(install_vtk) |
---|
2006 | + $(touch_vtk) |
---|
2007 | |
---|
2008 | # ------------------------------------------------------------------------- |
---|
2009 | # VTKVIS |
---|
2010 | # ------------------------------------------------------------------------- |
---|
2011 | |
---|
2012 | vtkvis_flags = \ |
---|
2013 | --with-tcllib=$(libdir) \ |
---|
2014 | --with-rappture=$(libdir) \ |
---|
2015 | --with-vtk="6.0" \ |
---|
2016 | --with-vtk-includes=$(incdir) \ |
---|
2017 | --with-vtk-libs=$(libdir) \ |
---|
2018 | --with-statsdir=$(statsdir) \ |
---|
2019 | $(common_flags) |
---|
2020 | |
---|
2021 | vtkvis: $(vtkvis)/timestamp |
---|
2022 | |
---|
2023 | clean-vtkvis: |
---|
2024 | $(clean_vtkvis) |
---|
2025 | fetch-vtkvis: |
---|
2026 | $(fetch_vtkvis) |
---|
2027 | configure-vtkvis: |
---|
2028 | $(configure_vtkvis) |
---|
2029 | build-vtkvis: |
---|
2030 | $(build_vtkvis) |
---|
2031 | install-vtkvis: |
---|
2032 | $(install_vtkvis) |
---|
2033 | touch-vtkvis: |
---|
2034 | $(touch_vtkvis) |
---|
2035 | force-vtkvis: $(vtk)/timestamp |
---|
2036 | + $(clean_vtkvis) |
---|
2037 | + $(fetch_vtkvis) |
---|
2038 | + $(configure_vtkvis) |
---|
2039 | + $(build_vtkvis) |
---|
2040 | + $(install_vtkvis) |
---|
2041 | + $(touch_vtkvis) |
---|
2042 | |
---|
2043 | define clean_vtkvis |
---|
2044 | $(RM) -r $(vtkvis) |
---|
2045 | endef |
---|
2046 | define fetch_vtkvis |
---|
2047 | endef |
---|
2048 | define configure_vtkvis |
---|
2049 | $(MKDIR_P) $(vtkvis) |
---|
2050 | cd $(vtkvis); $(srcdir)/packages/vizservers/$(vtkvis)/configure $(vtkvis_flags) |
---|
2051 | endef |
---|
2052 | define build_vtkvis |
---|
2053 | $(MAKE) -C $(vtkvis) all |
---|
2054 | endef |
---|
2055 | define install_vtkvis |
---|
2056 | $(MAKE) -C $(vtkvis) install |
---|
2057 | endef |
---|
2058 | define touch_vtkvis |
---|
2059 | touch $(vtkvis)/timestamp |
---|
2060 | endef |
---|
2061 | |
---|
2062 | $(vtkvis)/timestamp: $(vtk)/timestamp |
---|
2063 | + $(clean_vtkvis) |
---|
2064 | + $(fetch_vtkvis) |
---|
2065 | + $(configure_vtkvis) |
---|
2066 | + $(build_vtkvis) |
---|
2067 | + $(install_vtkvis) |
---|
2068 | + $(touch_vtkvis) |
---|
2069 | |
---|
2070 | # ------------------------------------------------------------------------- |
---|
2071 | # GEOVIS |
---|
2072 | # ------------------------------------------------------------------------- |
---|
2073 | |
---|
2074 | geovis_flags = \ |
---|
2075 | --with-tcllib=$(libdir) \ |
---|
2076 | --with-rappture=$(libdir) \ |
---|
2077 | --with-vtk="6.0" \ |
---|
2078 | --with-vtk-includes=$(incdir) \ |
---|
2079 | --with-vtk-libs=$(libdir) \ |
---|
2080 | --with-statsdir=$(statsdir) \ |
---|
2081 | $(common_flags) |
---|
2082 | |
---|
2083 | geovis: $(geovis)/timestamp |
---|
2084 | |
---|
2085 | clean-geovis: |
---|
2086 | $(clean_geovis) |
---|
2087 | fetch-geovis: |
---|
2088 | $(fetch_geovis) |
---|
2089 | configure-geovis: |
---|
2090 | $(configure_geovis) |
---|
2091 | build-geovis: |
---|
2092 | $(build_geovis) |
---|
2093 | install-geovis: |
---|
2094 | $(install_geovis) |
---|
2095 | touch-geovis: |
---|
2096 | $(touch_geovis) |
---|
2097 | force-geovis: $(vtk)/timestamp |
---|
2098 | + $(clean_geovis) |
---|
2099 | + $(fetch_geovis) |
---|
2100 | + $(configure_geovis) |
---|
2101 | + $(build_geovis) |
---|
2102 | + $(install_geovis) |
---|
2103 | + $(touch_geovis) |
---|
2104 | |
---|
2105 | define clean_geovis |
---|
2106 | $(RM) -r $(geovis) |
---|
2107 | endef |
---|
2108 | define fetch_geovis |
---|
2109 | endef |
---|
2110 | define configure_geovis |
---|
2111 | $(MKDIR_P) $(geovis) |
---|
2112 | cd $(geovis); $(srcdir)/packages/vizservers/$(geovis)/configure $(geovis_flags) |
---|
2113 | endef |
---|
2114 | define build_geovis |
---|
2115 | $(MAKE) -C $(geovis) all |
---|
2116 | endef |
---|
2117 | define install_geovis |
---|
2118 | $(MAKE) -C $(geovis) install |
---|
2119 | endef |
---|
2120 | define touch_geovis |
---|
2121 | touch $(geovis)/timestamp |
---|
2122 | endef |
---|
2123 | |
---|
2124 | $(geovis)/timestamp: $(osgearth)/timestamp |
---|
2125 | + $(clean_geovis) |
---|
2126 | + $(fetch_geovis) |
---|
2127 | + $(configure_geovis) |
---|
2128 | + $(build_geovis) |
---|
2129 | + $(install_geovis) |
---|
2130 | + $(touch_geovis) |
---|
2131 | |
---|
2132 | # ------------------------------------------------------------------------- |
---|
2133 | # ZLIB |
---|
2134 | # ------------------------------------------------------------------------- |
---|
2135 | |
---|
2136 | zlib_flags = \ |
---|
2137 | --enable-shared \ |
---|
2138 | $(common_flags) |
---|
2139 | |
---|
2140 | zlib: $(zlib)/timestamp |
---|
2141 | |
---|
2142 | clean-zlib: |
---|
2143 | $(clean_zlib) |
---|
2144 | fetch-zlib: |
---|
2145 | $(fetch_zlib) |
---|
2146 | configure-zlib: |
---|
2147 | $(configure_zlib) |
---|
2148 | build-zlib: |
---|
2149 | $(build_zlib) |
---|
2150 | install-zlib: |
---|
2151 | $(install_zlib) |
---|
2152 | touch-zlib: |
---|
2153 | $(touch_zlib) |
---|
2154 | force-zlib: |
---|
2155 | + $(clean_zlib) |
---|
2156 | + $(fetch_zlib) |
---|
2157 | + $(configure_zlib) |
---|
2158 | + $(build_zlib) |
---|
2159 | + $(install_zlib) |
---|
2160 | + $(touch_zlib) |
---|
2161 | |
---|
2162 | define clean_zlib |
---|
2163 | $(RM) -r $(zlib) |
---|
2164 | endef |
---|
2165 | define fetch_zlib |
---|
2166 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(zlib) |
---|
2167 | endef |
---|
2168 | define configure_zlib |
---|
2169 | $(MKDIR_P) $(zlib) |
---|
2170 | cd $(zlib); $(runtime)/$(zlib)/configure $(zlib_flags) |
---|
2171 | endef |
---|
2172 | define build_zlib |
---|
2173 | $(MAKE) -C $(zlib) all |
---|
2174 | endef |
---|
2175 | define install_zlib |
---|
2176 | $(MAKE) -C $(zlib) install |
---|
2177 | endef |
---|
2178 | define touch_zlib |
---|
2179 | touch $(zlib)/timestamp |
---|
2180 | endef |
---|
2181 | |
---|
2182 | $(zlib)/timestamp: |
---|
2183 | + $(clean_zlib) |
---|
2184 | + $(fetch_zlib) |
---|
2185 | + $(configure_zlib) |
---|
2186 | + $(build_zlib) |
---|
2187 | + $(install_zlib) |
---|
2188 | + $(touch_zlib) |
---|