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 ../rappture/runtime; pwd) |
---|
18 | TAG = branches/blt4 |
---|
19 | VTK_VERSION = 6.0 |
---|
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 | HAVE_VTK = @HAVE_VTK@ |
---|
54 | |
---|
55 | common_flags = --prefix=$(prefix) --exec_prefix=$(exec_prefix) |
---|
56 | x_flags = |
---|
57 | ifneq ("$(X_INCLUDES)", ) |
---|
58 | x_flags += --x-includes=$(X_INCLUDES) |
---|
59 | endif |
---|
60 | ifneq ("$(X_LIBRARIES)", ) |
---|
61 | x_flags += --x-includes=$(X_LIBRARIES) |
---|
62 | endif |
---|
63 | |
---|
64 | PATH := $(bindir):$(PATH) |
---|
65 | |
---|
66 | targets = \ |
---|
67 | blt builder cmake examples expat expect gui htmlwidget itcl \ |
---|
68 | itk lang lib optimizer shape sqlitetcl tcl tcllib \ |
---|
69 | tdom tester tk tkimg tls video vtk zlib packages |
---|
70 | |
---|
71 | .PHONY: $(targets) |
---|
72 | |
---|
73 | .NOTPARALLEL: |
---|
74 | |
---|
75 | all: gui lang all_packages |
---|
76 | |
---|
77 | all_packages: runner tester builder packages video optimizer |
---|
78 | |
---|
79 | # Aliases for package directory names. |
---|
80 | |
---|
81 | blt = blt4 |
---|
82 | cmake = cmake-2.8.12.2 |
---|
83 | examples = examples |
---|
84 | expat = expat-2.1.0 |
---|
85 | expect = expect5.45 |
---|
86 | freetype = freetype-2.5.3 |
---|
87 | gui = gui |
---|
88 | htmlwidget = htmlwidget-3a14 |
---|
89 | itcl = itcl3.4 |
---|
90 | itk = itk3.3 |
---|
91 | jpeg = jpeg-8d |
---|
92 | libpng = libpng-1.6.15 |
---|
93 | lib = lib |
---|
94 | openssl = openssl-1.0.1j |
---|
95 | optimizer = optimizer |
---|
96 | shape = shape0.4 |
---|
97 | sqlitetcl = sqlite-src-3080703 |
---|
98 | sqlitetcl = sqlite-3071502 |
---|
99 | tcl = tcl8.5.10 |
---|
100 | tcllib = tcllib-1.15 |
---|
101 | tdom = tDOM-0.8.3 |
---|
102 | tiff = tiff-4.0.3 |
---|
103 | tk = tk8.5.10 |
---|
104 | tkimg = tkimg1.4 |
---|
105 | tls = tls1.6 |
---|
106 | vtk = vtk-6.0.0 |
---|
107 | zlib = zlib |
---|
108 | tester = tester |
---|
109 | builder = builder |
---|
110 | lang = lang |
---|
111 | video = video |
---|
112 | runner = runner |
---|
113 | |
---|
114 | subdirs = \ |
---|
115 | $(blt) $(builder) $(cmake) $(examples) $(expat) $(expect) \ |
---|
116 | $(gui) $(htmlwidget) $(itcl) $(itk) $(lang) $(lib) \ |
---|
117 | $(optimizer) $(shape) \ |
---|
118 | $(sqlitetcl) $(tcl) $(tcllib) $(tdom) $(tester) $(tk) $(tkimg) \ |
---|
119 | $(tls) $(vtk) $(zlib) |
---|
120 | |
---|
121 | ifeq ("$(HAVE_VTK)", 1) |
---|
122 | vtk_timestamp = $(vtk)/timestamp |
---|
123 | cmake_timestamp = $(cmake)/timestamp |
---|
124 | endif |
---|
125 | |
---|
126 | clean: |
---|
127 | $(RM) -r $(subdirs) |
---|
128 | |
---|
129 | # ------------------------------------------------------------------------- |
---|
130 | # BLT |
---|
131 | # ------------------------------------------------------------------------- |
---|
132 | |
---|
133 | blt_flags = \ |
---|
134 | --enable-shared \ |
---|
135 | $(common_flags) |
---|
136 | |
---|
137 | blt: $(blt)/timestamp |
---|
138 | |
---|
139 | clean-blt: |
---|
140 | $(clean_blt) |
---|
141 | fetch-blt: |
---|
142 | $(fetch_blt) |
---|
143 | configure-blt: |
---|
144 | $(configure_blt) |
---|
145 | build-blt: |
---|
146 | $(build_blt) |
---|
147 | install-blt: |
---|
148 | $(install_blt) |
---|
149 | touch-blt: |
---|
150 | $(touch_blt) |
---|
151 | force-blt: $(tcl)/timestamp $(tk)/timestamp |
---|
152 | + $(clean_blt) |
---|
153 | + $(fetch_blt) |
---|
154 | + $(configure_blt) |
---|
155 | + $(build_blt) |
---|
156 | + $(install_blt) |
---|
157 | + $(touch_blt) |
---|
158 | |
---|
159 | define clean_blt |
---|
160 | $(RM) -r $(blt) |
---|
161 | endef |
---|
162 | define fetch_blt |
---|
163 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(blt) |
---|
164 | endef |
---|
165 | define configure_blt |
---|
166 | $(MKDIR_P) $(blt) |
---|
167 | cd $(blt); $(runtime)/$(blt)/configure $(blt_flags) |
---|
168 | endef |
---|
169 | define build_blt |
---|
170 | $(MAKE) -C $(blt) all |
---|
171 | endef |
---|
172 | define install_blt |
---|
173 | $(MAKE) -C $(blt) install |
---|
174 | endef |
---|
175 | define touch_blt |
---|
176 | touch $(blt)/timestamp |
---|
177 | endef |
---|
178 | |
---|
179 | $(blt)/timestamp: $(tcl)/timestamp $(tk)/timestamp |
---|
180 | + $(clean_blt) |
---|
181 | + $(fetch_blt) |
---|
182 | + $(configure_blt) |
---|
183 | + $(build_blt) |
---|
184 | + $(install_blt) |
---|
185 | + $(touch_blt) |
---|
186 | |
---|
187 | # ------------------------------------------------------------------------- |
---|
188 | # BUILDER |
---|
189 | # ------------------------------------------------------------------------- |
---|
190 | |
---|
191 | builder_flags = \ |
---|
192 | --with-tclsh="$(bindir)/tclsh8.4" \ |
---|
193 | --enable-shared \ |
---|
194 | $(common_flags) |
---|
195 | |
---|
196 | builder: $(builder)/timestamp |
---|
197 | |
---|
198 | clean-builder: |
---|
199 | $(clean_builder) |
---|
200 | fetch-builder: |
---|
201 | $(fetch_builder) |
---|
202 | configure-builder: |
---|
203 | build-builder: |
---|
204 | $(build_builder) |
---|
205 | install-builder: |
---|
206 | $(install_builder) |
---|
207 | touch-builder: |
---|
208 | $(touch_builder) |
---|
209 | force-builder: $(gui)/timestamp |
---|
210 | + $(clean_builder) |
---|
211 | + $(fetch_builder) |
---|
212 | + $(configure_builder) |
---|
213 | + $(build_builder) |
---|
214 | + $(install_builder) |
---|
215 | + $(touch_builder) |
---|
216 | |
---|
217 | define clean_builder |
---|
218 | $(MAKE) -C $(builder) clean |
---|
219 | endef |
---|
220 | define fetch_builder |
---|
221 | endef |
---|
222 | define build_builder |
---|
223 | $(MAKE) -C $(builder) all |
---|
224 | endef |
---|
225 | define install_builder |
---|
226 | $(MAKE) -C $(builder) install |
---|
227 | endef |
---|
228 | define touch_builder |
---|
229 | touch $(builder)/timestamp |
---|
230 | endef |
---|
231 | |
---|
232 | $(builder)/timestamp: $(gui)/timestamp |
---|
233 | + $(clean_builder) |
---|
234 | + $(fetch_builder) |
---|
235 | + $(configure_builder) |
---|
236 | + $(build_builder) |
---|
237 | + $(install_builder) |
---|
238 | + $(touch_builder) |
---|
239 | |
---|
240 | # ------------------------------------------------------------------------- |
---|
241 | # CMAKE |
---|
242 | # ------------------------------------------------------------------------- |
---|
243 | |
---|
244 | cmake_flags = \ |
---|
245 | --prefix=$(prefix) |
---|
246 | |
---|
247 | cmake: $(cmake)/timestamp |
---|
248 | |
---|
249 | clean-cmake: |
---|
250 | $(clean_cmake) |
---|
251 | fetch-cmake: |
---|
252 | $(fetch_cmake) |
---|
253 | configure-cmake: |
---|
254 | $(configure_cmake) |
---|
255 | build-cmake: |
---|
256 | $(build_cmake) |
---|
257 | install-cmake: |
---|
258 | $(install_cmake) |
---|
259 | touch-cmake: |
---|
260 | $(touch_cmake) |
---|
261 | force-cmake: |
---|
262 | + $(clean_cmake) |
---|
263 | + $(fetch_cmake) |
---|
264 | + $(configure_cmake) |
---|
265 | + $(build_cmake) |
---|
266 | + $(install_cmake) |
---|
267 | + $(touch_cmake) |
---|
268 | |
---|
269 | define clean_cmake |
---|
270 | $(RM) -r $(cmake) |
---|
271 | endef |
---|
272 | define fetch_cmake |
---|
273 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(cmake) |
---|
274 | endef |
---|
275 | define configure_cmake |
---|
276 | $(MKDIR_P) $(cmake) |
---|
277 | cd $(cmake); $(runtime)/$(cmake)/configure $(cmake_flags) |
---|
278 | endef |
---|
279 | define build_cmake |
---|
280 | $(MAKE) -C $(cmake) all |
---|
281 | endef |
---|
282 | define install_cmake |
---|
283 | $(MAKE) -C $(cmake) install |
---|
284 | endef |
---|
285 | define touch_cmake |
---|
286 | touch $(cmake)/timestamp |
---|
287 | endef |
---|
288 | |
---|
289 | $(cmake)/timestamp: |
---|
290 | + $(clean_cmake) |
---|
291 | + $(fetch_cmake) |
---|
292 | + $(configure_cmake) |
---|
293 | + $(build_cmake) |
---|
294 | + $(install_cmake) |
---|
295 | + $(touch_cmake) |
---|
296 | |
---|
297 | # ------------------------------------------------------------------------- |
---|
298 | # EXAMPLES |
---|
299 | # ------------------------------------------------------------------------- |
---|
300 | |
---|
301 | examples_flags = \ |
---|
302 | --with-tclsh="$(bindir)/tclsh8.4" \ |
---|
303 | --enable-shared \ |
---|
304 | $(common_flags) |
---|
305 | |
---|
306 | examples: $(examples)/timestamp |
---|
307 | |
---|
308 | clean-examples: |
---|
309 | $(clean_examples) |
---|
310 | fetch-examples: |
---|
311 | $(fetch_examples) |
---|
312 | configure-examples: |
---|
313 | $(configure_examples) |
---|
314 | build-examples: |
---|
315 | $(build_examples) |
---|
316 | install-examples: |
---|
317 | $(install_examples) |
---|
318 | touch-examples: |
---|
319 | $(touch_examples) |
---|
320 | force-examples: $(gui)/timestamp |
---|
321 | + $(clean_examples) |
---|
322 | + $(fetch_examples) |
---|
323 | + $(configure_examples) |
---|
324 | + $(build_examples) |
---|
325 | + $(install_examples) |
---|
326 | + $(touch_examples) |
---|
327 | |
---|
328 | define clean_examples |
---|
329 | $(MAKE) -C $(examples) clean |
---|
330 | endef |
---|
331 | define fetch_examples |
---|
332 | endef |
---|
333 | define configure_examples |
---|
334 | $(MKDIR_P) $(examples) |
---|
335 | endef |
---|
336 | define build_examples |
---|
337 | $(MAKE) -C $(examples) all |
---|
338 | endef |
---|
339 | define install_examples |
---|
340 | $(MAKE) -C $(examples) install |
---|
341 | endef |
---|
342 | define touch_examples |
---|
343 | touch $(examples)/timestamp |
---|
344 | endef |
---|
345 | |
---|
346 | $(examples)/timestamp: $(gui)/timestamp |
---|
347 | + $(clean_examples) |
---|
348 | + $(fetch_examples) |
---|
349 | + $(configure_examples) |
---|
350 | + $(build_examples) |
---|
351 | + $(install_examples) |
---|
352 | + $(touch_examples) |
---|
353 | |
---|
354 | # ------------------------------------------------------------------------- |
---|
355 | # EXPAT |
---|
356 | # ------------------------------------------------------------------------- |
---|
357 | |
---|
358 | expat_flags = \ |
---|
359 | --enable-shared \ |
---|
360 | $(common_flags) |
---|
361 | |
---|
362 | expat: $(expat)/timestamp |
---|
363 | |
---|
364 | clean-expat: |
---|
365 | $(clean_expat) |
---|
366 | fetch-expat: |
---|
367 | $(fetch_expat) |
---|
368 | configure-expat: |
---|
369 | $(configure_expat) |
---|
370 | build-expat: |
---|
371 | $(build_expat) |
---|
372 | install-expat: |
---|
373 | $(install_expat) |
---|
374 | touch-expat: |
---|
375 | $(touch_expat) |
---|
376 | force-expat: |
---|
377 | + $(clean_expat) |
---|
378 | + $(fetch_expat) |
---|
379 | + $(configure_expat) |
---|
380 | + $(build_expat) |
---|
381 | + $(install_expat) |
---|
382 | + $(touch_expat) |
---|
383 | |
---|
384 | define clean_expat |
---|
385 | $(RM) -r $(expat) |
---|
386 | endef |
---|
387 | define fetch_expat |
---|
388 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(expat) |
---|
389 | endef |
---|
390 | define configure_expat |
---|
391 | $(MKDIR_P) $(expat) |
---|
392 | cd $(expat); $(runtime)/$(expat)/configure $(expat_flags) |
---|
393 | endef |
---|
394 | define build_expat |
---|
395 | $(MAKE) -C $(expat) all |
---|
396 | endef |
---|
397 | define install_expat |
---|
398 | $(MAKE) -C $(expat) install |
---|
399 | endef |
---|
400 | define touch_expat |
---|
401 | touch $(expat)/timestamp |
---|
402 | endef |
---|
403 | |
---|
404 | $(expat)/timestamp: |
---|
405 | + $(clean_expat) |
---|
406 | + $(fetch_expat) |
---|
407 | + $(configure_expat) |
---|
408 | + $(build_expat) |
---|
409 | + $(install_expat) |
---|
410 | + $(touch_expat) |
---|
411 | |
---|
412 | # ------------------------------------------------------------------------- |
---|
413 | # EXPECT |
---|
414 | # ------------------------------------------------------------------------- |
---|
415 | |
---|
416 | expect_flags = \ |
---|
417 | --enable-shared \ |
---|
418 | --enable-64bit \ |
---|
419 | --with-tcl=$(libdir) \ |
---|
420 | --with-tclinclude=$(incdir) \ |
---|
421 | $(common_flags) |
---|
422 | |
---|
423 | expect: $(expect)/timestamp |
---|
424 | |
---|
425 | clean-expect: |
---|
426 | $(clean_expect) |
---|
427 | fetch-expect: |
---|
428 | $(fetch_expect) |
---|
429 | configure-expect: |
---|
430 | $(configure_expect) |
---|
431 | build-expect: |
---|
432 | $(build_expect) |
---|
433 | install-expect: |
---|
434 | $(install_expect) |
---|
435 | touch-expect: |
---|
436 | $(touch_expect) |
---|
437 | force-expect: $(tcl)/timestamp $(tk)/timestamp |
---|
438 | + $(clean_expect) |
---|
439 | + $(fetch_expect) |
---|
440 | + $(configure_expect) |
---|
441 | + $(build_expect) |
---|
442 | + $(install_expect) |
---|
443 | + $(touch_expect) |
---|
444 | |
---|
445 | define clean_expect |
---|
446 | $(RM) -r $(expect) |
---|
447 | endef |
---|
448 | define fetch_expect |
---|
449 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(expect) |
---|
450 | endef |
---|
451 | define configure_expect |
---|
452 | $(MKDIR_P) $(expect) |
---|
453 | cd $(expect); $(runtime)/$(expect)/configure $(expect_flags) |
---|
454 | endef |
---|
455 | define build_expect |
---|
456 | $(MAKE) -C $(expect) all |
---|
457 | endef |
---|
458 | define install_expect |
---|
459 | $(MAKE) -C $(expect) install |
---|
460 | endef |
---|
461 | define touch_expect |
---|
462 | touch $(expect)/timestamp |
---|
463 | endef |
---|
464 | |
---|
465 | $(expect)/timestamp: $(tcl)/timestamp $(tk)/timestamp |
---|
466 | + $(clean_expect) |
---|
467 | + $(fetch_expect) |
---|
468 | + $(configure_expect) |
---|
469 | + $(build_expect) |
---|
470 | + $(install_expect) |
---|
471 | + $(touch_expect) |
---|
472 | |
---|
473 | # ------------------------------------------------------------------------- |
---|
474 | # GUI |
---|
475 | # ------------------------------------------------------------------------- |
---|
476 | |
---|
477 | gui_flags = \ |
---|
478 | $(common_flags) |
---|
479 | |
---|
480 | gui: $(gui)/timestamp |
---|
481 | |
---|
482 | clean-gui: |
---|
483 | $(clean_gui) |
---|
484 | fetch-gui: |
---|
485 | $(fetch_gui) |
---|
486 | configure-gui: |
---|
487 | $(configure_gui) |
---|
488 | build-gui: |
---|
489 | $(build_gui) |
---|
490 | install-gui: |
---|
491 | $(install_gui) |
---|
492 | touch-gui: |
---|
493 | $(touch_gui) |
---|
494 | force-gui: $(lib)/timestamp \ |
---|
495 | $(blt)/timestamp \ |
---|
496 | $(itk)/timestamp \ |
---|
497 | $(htmlwidget)/timestamp \ |
---|
498 | $(shape)/timestamp \ |
---|
499 | $(sqlitetcl)/timestamp \ |
---|
500 | $(vtk_timestamp) |
---|
501 | + $(clean_gui) |
---|
502 | + $(fetch_gui) |
---|
503 | + $(configure_gui) |
---|
504 | + $(build_gui) |
---|
505 | + $(install_gui) |
---|
506 | + $(touch_gui) |
---|
507 | |
---|
508 | define clean_gui |
---|
509 | $(RM) -r $(gui) |
---|
510 | endef |
---|
511 | define fetch_gui |
---|
512 | endef |
---|
513 | define configure_gui |
---|
514 | $(MKDIR_P) $(gui) |
---|
515 | cd $(gui); $(srcdir)/$(gui)/configure $(gui_flags) |
---|
516 | endef |
---|
517 | define build_gui |
---|
518 | $(MAKE) -C $(gui) all |
---|
519 | endef |
---|
520 | define install_gui |
---|
521 | $(MAKE) -C $(gui) install |
---|
522 | endef |
---|
523 | define touch_gui |
---|
524 | touch $(gui)/timestamp |
---|
525 | endef |
---|
526 | |
---|
527 | $(gui)/timestamp: $(lib)/timestamp \ |
---|
528 | $(blt)/timestamp \ |
---|
529 | $(itk)/timestamp \ |
---|
530 | $(htmlwidget)/timestamp \ |
---|
531 | $(shape)/timestamp \ |
---|
532 | $(tdom)/timestamp \ |
---|
533 | $(tcllib)/timestamp \ |
---|
534 | $(tls)/timestamp \ |
---|
535 | $(tkimg)/timestamp \ |
---|
536 | $(sqlitetcl)/timestamp \ |
---|
537 | $(vtk_timestamp) |
---|
538 | + $(clean_gui) |
---|
539 | + $(fetch_gui) |
---|
540 | + $(configure_gui) |
---|
541 | + $(build_gui) |
---|
542 | + $(install_gui) |
---|
543 | + $(touch_gui) |
---|
544 | |
---|
545 | # ------------------------------------------------------------------------- |
---|
546 | # HTMLWIDGET |
---|
547 | # ------------------------------------------------------------------------- |
---|
548 | |
---|
549 | htmlwidget_flags = \ |
---|
550 | --enable-shared \ |
---|
551 | $(common_flags) |
---|
552 | |
---|
553 | htmlwidget: $(htmlwidget)/timestamp |
---|
554 | |
---|
555 | clean-htmlwidget: |
---|
556 | $(clean_htmlwidget) |
---|
557 | fetch-htmlwidget: |
---|
558 | $(fetch_htmlwidget) |
---|
559 | configure-htmlwidget: |
---|
560 | $(configure_htmlwidget) |
---|
561 | build-htmlwidget: |
---|
562 | $(build_htmlwidget) |
---|
563 | install-htmlwidget: |
---|
564 | $(install_htmlwidget) |
---|
565 | touch-htmlwidget: |
---|
566 | $(touch_htmlwidget) |
---|
567 | force-htmlwidget: $(tk)/timestamp |
---|
568 | + $(clean_htmlwidget) |
---|
569 | + $(fetch_htmlwidget) |
---|
570 | + $(configure_htmlwidget) |
---|
571 | + $(build_htmlwidget) |
---|
572 | + $(install_htmlwidget) |
---|
573 | + $(touch_htmlwidget) |
---|
574 | |
---|
575 | define clean_htmlwidget |
---|
576 | $(RM) -r $(htmlwidget) |
---|
577 | endef |
---|
578 | define fetch_htmlwidget |
---|
579 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(htmlwidget) |
---|
580 | endef |
---|
581 | define configure_htmlwidget |
---|
582 | $(MKDIR_P) $(htmlwidget) |
---|
583 | cd $(htmlwidget); $(runtime)/$(htmlwidget)/configure $(htmlwidget_flags) |
---|
584 | endef |
---|
585 | define build_htmlwidget |
---|
586 | $(MAKE) -C $(htmlwidget) all |
---|
587 | endef |
---|
588 | define install_htmlwidget |
---|
589 | $(MAKE) -C $(htmlwidget) install |
---|
590 | endef |
---|
591 | define touch_htmlwidget |
---|
592 | touch $(htmlwidget)/timestamp |
---|
593 | endef |
---|
594 | |
---|
595 | $(htmlwidget)/timestamp: $(tk)/timestamp |
---|
596 | + $(clean_htmlwidget) |
---|
597 | + $(fetch_htmlwidget) |
---|
598 | + $(configure_htmlwidget) |
---|
599 | + $(build_htmlwidget) |
---|
600 | + $(install_htmlwidget) |
---|
601 | + $(touch_htmlwidget) |
---|
602 | |
---|
603 | # ------------------------------------------------------------------------- |
---|
604 | # ITCL |
---|
605 | # ------------------------------------------------------------------------- |
---|
606 | |
---|
607 | itcl_flags = \ |
---|
608 | --enable-shared \ |
---|
609 | $(common_flags) |
---|
610 | |
---|
611 | itcl: $(itcl)/timestamp |
---|
612 | |
---|
613 | clean-itcl: |
---|
614 | $(clean_itcl) |
---|
615 | fetch-itcl: |
---|
616 | $(fetch_itcl) |
---|
617 | configure-itcl: |
---|
618 | $(configure_itcl) |
---|
619 | build-itcl: |
---|
620 | $(build_itcl) |
---|
621 | install-itcl: |
---|
622 | $(install_itcl) |
---|
623 | touch-itcl: |
---|
624 | $(touch_itcl) |
---|
625 | force-itcl: |
---|
626 | + $(clean_itcl) |
---|
627 | + $(fetch_itcl) |
---|
628 | + $(configure_itcl) |
---|
629 | + $(build_itcl) |
---|
630 | + $(install_itcl) |
---|
631 | + $(touch_itcl) |
---|
632 | |
---|
633 | define clean_itcl |
---|
634 | $(RM) -r $(itcl) |
---|
635 | endef |
---|
636 | define fetch_itcl |
---|
637 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(itcl) |
---|
638 | endef |
---|
639 | define configure_itcl |
---|
640 | $(MKDIR_P) $(itcl) |
---|
641 | cd $(itcl); $(runtime)/$(itcl)/configure $(itcl_flags) |
---|
642 | endef |
---|
643 | define build_itcl |
---|
644 | $(MAKE) -C $(itcl) all |
---|
645 | endef |
---|
646 | define install_itcl |
---|
647 | $(MAKE) -C $(itcl) install |
---|
648 | endef |
---|
649 | define touch_itcl |
---|
650 | touch $(itcl)/timestamp |
---|
651 | endef |
---|
652 | |
---|
653 | $(itcl)/timestamp: $(tcl)/timestamp |
---|
654 | + $(clean_itcl) |
---|
655 | + $(fetch_itcl) |
---|
656 | + $(configure_itcl) |
---|
657 | + $(build_itcl) |
---|
658 | + $(install_itcl) |
---|
659 | + $(touch_itcl) |
---|
660 | |
---|
661 | # ------------------------------------------------------------------------- |
---|
662 | # ITK |
---|
663 | # ------------------------------------------------------------------------- |
---|
664 | |
---|
665 | itk_flags = \ |
---|
666 | --enable-shared \ |
---|
667 | $(common_flags) |
---|
668 | |
---|
669 | itk: $(itk)/timestamp |
---|
670 | |
---|
671 | clean-itk: |
---|
672 | $(clean_itk) |
---|
673 | fetch-itk: |
---|
674 | $(fetch_itk) |
---|
675 | configure-itk: |
---|
676 | $(configure_itk) |
---|
677 | build-itk: |
---|
678 | $(build_itk) |
---|
679 | install-itk: |
---|
680 | $(install_itk) |
---|
681 | touch-itk: |
---|
682 | $(touch_itk) |
---|
683 | force-itk: $(itcl)/timestamp $(tk)/timestamp |
---|
684 | + $(clean_itk) |
---|
685 | + $(fetch_itk) |
---|
686 | + $(configure_itk) |
---|
687 | + $(build_itk) |
---|
688 | + $(install_itk) |
---|
689 | + $(touch_itk) |
---|
690 | |
---|
691 | define clean_itk |
---|
692 | $(RM) -r $(itk) |
---|
693 | endef |
---|
694 | define fetch_itk |
---|
695 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(itk) |
---|
696 | endef |
---|
697 | define configure_itk |
---|
698 | $(MKDIR_P) $(itk) |
---|
699 | cd $(itk); $(runtime)/$(itk)/configure $(itk_flags) |
---|
700 | endef |
---|
701 | define build_itk |
---|
702 | $(MAKE) -C $(itk) all |
---|
703 | endef |
---|
704 | define install_itk |
---|
705 | $(MAKE) -C $(itk) install |
---|
706 | endef |
---|
707 | define touch_itk |
---|
708 | touch $(itk)/timestamp |
---|
709 | endef |
---|
710 | |
---|
711 | $(itk)/timestamp: $(itcl)/timestamp $(tk)/timestamp |
---|
712 | + $(clean_itk) |
---|
713 | + $(fetch_itk) |
---|
714 | + $(configure_itk) |
---|
715 | + $(build_itk) |
---|
716 | + $(install_itk) |
---|
717 | + $(touch_itk) |
---|
718 | |
---|
719 | # ------------------------------------------------------------------------- |
---|
720 | # LANG |
---|
721 | # ------------------------------------------------------------------------- |
---|
722 | |
---|
723 | lang_flags = \ |
---|
724 | --enable-shared \ |
---|
725 | $(common_flags) |
---|
726 | |
---|
727 | lang: $(lang)/timestamp |
---|
728 | |
---|
729 | clean-lang: |
---|
730 | $(clean_lang) |
---|
731 | fetch-lang: |
---|
732 | $(fetch_lang) |
---|
733 | configure-lang: |
---|
734 | $(configure_lang) |
---|
735 | build-lang: |
---|
736 | $(build_lang) |
---|
737 | install-lang: |
---|
738 | $(install_lang) |
---|
739 | touch-lang: |
---|
740 | $(touch_lang) |
---|
741 | force-lang: $(gui)/timestamp |
---|
742 | + $(clean_lang) |
---|
743 | + $(fetch_lang) |
---|
744 | + $(configure_lang) |
---|
745 | + $(build_lang) |
---|
746 | + $(install_lang) |
---|
747 | + $(touch_lang) |
---|
748 | |
---|
749 | define clean_lang |
---|
750 | $(RM) -r $(lang) |
---|
751 | endef |
---|
752 | define fetch_lang |
---|
753 | endef |
---|
754 | define configure_lang |
---|
755 | $(MKDIR_P) $(lang) |
---|
756 | cd $(lang); $(srcdir)/$(lang)/configure $(lang_flags) |
---|
757 | endef |
---|
758 | define build_lang |
---|
759 | $(MAKE) -C $(lang) all |
---|
760 | endef |
---|
761 | define install_lang |
---|
762 | $(MAKE) -C $(lang) install |
---|
763 | endef |
---|
764 | define touch_lang |
---|
765 | touch $(lang)/timestamp |
---|
766 | endef |
---|
767 | |
---|
768 | $(lang)/timestamp: $(lib)/timestamp $(tcl)/timestamp $(itcl)/timestamp |
---|
769 | + $(clean_lang) |
---|
770 | + $(fetch_lang) |
---|
771 | + $(configure_lang) |
---|
772 | + $(build_lang) |
---|
773 | + $(install_lang) |
---|
774 | + $(touch_lang) |
---|
775 | |
---|
776 | |
---|
777 | # ------------------------------------------------------------------------- |
---|
778 | # LIB |
---|
779 | # ------------------------------------------------------------------------- |
---|
780 | |
---|
781 | lib_flags = \ |
---|
782 | --enable-shared \ |
---|
783 | $(common_flags) |
---|
784 | |
---|
785 | lib: $(lib)/timestamp |
---|
786 | |
---|
787 | clean-lib: |
---|
788 | $(clean_lib) |
---|
789 | fetch-lib: |
---|
790 | $(fetch_lib) |
---|
791 | configure-lib: |
---|
792 | $(configure_lib) |
---|
793 | build-lib: |
---|
794 | $(build_lib) |
---|
795 | install-lib: |
---|
796 | $(install_lib) |
---|
797 | touch-lib: |
---|
798 | $(touch_lib) |
---|
799 | force-lib: |
---|
800 | + $(clean_lib) |
---|
801 | + $(fetch_lib) |
---|
802 | + $(configure_lib) |
---|
803 | + $(build_lib) |
---|
804 | + $(install_lib) |
---|
805 | + $(touch_lib) |
---|
806 | |
---|
807 | define clean_lib |
---|
808 | $(RM) -r $(lib) |
---|
809 | endef |
---|
810 | define fetch_lib |
---|
811 | endef |
---|
812 | define configure_lib |
---|
813 | $(MKDIR_P) $(lib) |
---|
814 | cd $(lib); $(srcdir)/lib/configure $(lib_flags) |
---|
815 | endef |
---|
816 | define build_lib |
---|
817 | $(MAKE) -C $(lib) all |
---|
818 | endef |
---|
819 | define install_lib |
---|
820 | $(MAKE) -C $(lib) install |
---|
821 | endef |
---|
822 | define touch_lib |
---|
823 | touch $(lib)/timestamp |
---|
824 | endef |
---|
825 | |
---|
826 | $(lib)/timestamp: |
---|
827 | + $(clean_lib) |
---|
828 | + $(fetch_lib) |
---|
829 | + $(configure_lib) |
---|
830 | + $(build_lib) |
---|
831 | + $(install_lib) |
---|
832 | + $(touch_lib) |
---|
833 | |
---|
834 | # ------------------------------------------------------------------------- |
---|
835 | # OPTIMIZER |
---|
836 | # ------------------------------------------------------------------------- |
---|
837 | |
---|
838 | optimizer_flags = \ |
---|
839 | --with-tclsh="$(bindir)/tclsh8.5" \ |
---|
840 | --enable-shared \ |
---|
841 | --disable-threads \ |
---|
842 | $(common_flags) |
---|
843 | |
---|
844 | optimizer: $(optimizer)/timestamp |
---|
845 | |
---|
846 | clean-optimizer: |
---|
847 | $(clean_optimizer) |
---|
848 | fetch-optimizer: |
---|
849 | $(fetch_optimizer) |
---|
850 | configure-optimizer: |
---|
851 | $(configure_optimizer) |
---|
852 | build-optimizer: |
---|
853 | $(build_optimizer) |
---|
854 | install-optimizer: |
---|
855 | $(install_optimizer) |
---|
856 | touch-optimizer: |
---|
857 | $(touch_optimizer) |
---|
858 | force-optimizer: $(gui)/timestamp |
---|
859 | + $(clean_optimizer) |
---|
860 | + $(fetch_optimizer) |
---|
861 | + $(configure_optimizer) |
---|
862 | + $(build_optimizer) |
---|
863 | + $(install_optimizer) |
---|
864 | + $(touch_optimizer) |
---|
865 | |
---|
866 | define clean_optimizer |
---|
867 | $(RM) -r $(optimizer) |
---|
868 | endef |
---|
869 | define fetch_optimizer |
---|
870 | endef |
---|
871 | define configure_optimizer |
---|
872 | $(MKDIR_P) $(optimizer) |
---|
873 | cd $(optimizer); $(srcdir)/packages/$(optimizer)/configure $(optimizer_flags) |
---|
874 | endef |
---|
875 | define build_optimizer |
---|
876 | $(MAKE) -C $(optimizer) all |
---|
877 | endef |
---|
878 | define install_optimizer |
---|
879 | $(MAKE) -C $(optimizer) install |
---|
880 | endef |
---|
881 | define touch_optimizer |
---|
882 | touch $(optimizer)/timestamp |
---|
883 | endef |
---|
884 | |
---|
885 | $(optimizer)/timestamp: #$(gui)/timestamp |
---|
886 | + $(clean_optimizer) |
---|
887 | + $(fetch_optimizer) |
---|
888 | + $(configure_optimizer) |
---|
889 | + $(build_optimizer) |
---|
890 | + $(install_optimizer) |
---|
891 | + $(touch_optimizer) |
---|
892 | |
---|
893 | # ------------------------------------------------------------------------- |
---|
894 | # SHAPE |
---|
895 | # ------------------------------------------------------------------------- |
---|
896 | |
---|
897 | shape_flags = \ |
---|
898 | --enable-shared \ |
---|
899 | --with-tclconf=$(libdir) \ |
---|
900 | --with-tkconf=$(libdir) \ |
---|
901 | $(common_flags) |
---|
902 | |
---|
903 | shape: $(shape)/timestamp |
---|
904 | |
---|
905 | clean-shape: |
---|
906 | $(clean_shape) |
---|
907 | fetch-shape: |
---|
908 | $(fetch_shape) |
---|
909 | configure-shape: |
---|
910 | $(configure_shape) |
---|
911 | build-shape: |
---|
912 | $(build_shape) |
---|
913 | install-shape: |
---|
914 | $(install_shape) |
---|
915 | touch-shape: |
---|
916 | $(touch_shape) |
---|
917 | force-shape: $(tk)/timestamp |
---|
918 | + $(clean_shape) |
---|
919 | + $(fetch_shape) |
---|
920 | + $(configure_shape) |
---|
921 | + $(build_shape) |
---|
922 | + $(install_shape) |
---|
923 | + $(touch_shape) |
---|
924 | |
---|
925 | define clean_shape |
---|
926 | $(RM) -r $(shape) |
---|
927 | endef |
---|
928 | define fetch_shape |
---|
929 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(shape) |
---|
930 | endef |
---|
931 | define configure_shape |
---|
932 | $(MKDIR_P) $(shape) |
---|
933 | cd $(shape); $(runtime)/$(shape)/unix/configure $(shape_flags) |
---|
934 | endef |
---|
935 | define build_shape |
---|
936 | $(MAKE) -C $(shape) all |
---|
937 | endef |
---|
938 | define install_shape |
---|
939 | $(MAKE) -C $(shape) install |
---|
940 | endef |
---|
941 | define touch_shape |
---|
942 | touch $(shape)/timestamp |
---|
943 | endef |
---|
944 | |
---|
945 | $(shape)/timestamp: $(tk)/timestamp |
---|
946 | + $(clean_shape) |
---|
947 | + $(fetch_shape) |
---|
948 | + $(configure_shape) |
---|
949 | + $(build_shape) |
---|
950 | + $(install_shape) |
---|
951 | + $(touch_shape) |
---|
952 | |
---|
953 | # ------------------------------------------------------------------------- |
---|
954 | # SQLITETCL |
---|
955 | # ------------------------------------------------------------------------- |
---|
956 | |
---|
957 | sqlitetcl_flags = \ |
---|
958 | --enable-shared \ |
---|
959 | $(common_flags) |
---|
960 | |
---|
961 | sqlitetcl: $(sqlitetcl)/timestamp |
---|
962 | |
---|
963 | clean-sqlitetcl: |
---|
964 | $(clean_sqlitetcl) |
---|
965 | fetch-sqlitetcl: |
---|
966 | $(fetch_sqlitetcl) |
---|
967 | configure-sqlitetcl: |
---|
968 | $(configure_sqlitetcl) |
---|
969 | build-sqlitetcl: |
---|
970 | $(build_sqlitetcl) |
---|
971 | install-sqlitetcl: |
---|
972 | $(install_sqlitetcl) |
---|
973 | touch-sqlitetcl: |
---|
974 | $(touch_sqlitetcl) |
---|
975 | force-sqlitetcl: $(tcl)/timestamp |
---|
976 | + $(clean_sqlitetcl) |
---|
977 | + $(fetch_sqlitetcl) |
---|
978 | + $(configure_sqlitetcl) |
---|
979 | + $(build_sqlitetcl) |
---|
980 | + $(install_sqlitetcl) |
---|
981 | + $(touch_sqlitetcl) |
---|
982 | |
---|
983 | define clean_sqlitetcl |
---|
984 | $(RM) -r $(sqlitetcl) |
---|
985 | endef |
---|
986 | define fetch_sqlitetcl |
---|
987 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(sqlitetcl) |
---|
988 | endef |
---|
989 | define configure_sqlitetcl |
---|
990 | $(MKDIR_P) $(sqlitetcl) |
---|
991 | cd $(sqlitetcl); $(runtime)/$(sqlitetcl)/tea/configure $(sqlitetcl_flags) |
---|
992 | endef |
---|
993 | define build_sqlitetcl |
---|
994 | $(MAKE) -C $(sqlitetcl) all |
---|
995 | endef |
---|
996 | define install_sqlitetcl |
---|
997 | $(MAKE) -C $(sqlitetcl) install |
---|
998 | endef |
---|
999 | define touch_sqlitetcl |
---|
1000 | touch $(sqlitetcl)/timestamp |
---|
1001 | endef |
---|
1002 | |
---|
1003 | $(sqlitetcl)/timestamp: $(tcl)/timestamp |
---|
1004 | + $(clean_sqlitetcl) |
---|
1005 | + $(fetch_sqlitetcl) |
---|
1006 | + $(configure_sqlitetcl) |
---|
1007 | + $(build_sqlitetcl) |
---|
1008 | + $(install_sqlitetcl) |
---|
1009 | + $(touch_sqlitetcl) |
---|
1010 | |
---|
1011 | # ------------------------------------------------------------------------- |
---|
1012 | # TCL |
---|
1013 | # ------------------------------------------------------------------------- |
---|
1014 | |
---|
1015 | tcl_flags = \ |
---|
1016 | --enable-shared \ |
---|
1017 | --disable-threads \ |
---|
1018 | $(common_flags) |
---|
1019 | |
---|
1020 | tcl: $(tcl)/timestamp |
---|
1021 | |
---|
1022 | clean-tcl: |
---|
1023 | $(clean_tcl) |
---|
1024 | fetch-tcl: |
---|
1025 | $(fetch_tcl) |
---|
1026 | configure-tcl: |
---|
1027 | $(configure_tcl) |
---|
1028 | build-tcl: |
---|
1029 | $(build_tcl) |
---|
1030 | install-tcl: |
---|
1031 | $(install_tcl) |
---|
1032 | touch-tcl: |
---|
1033 | $(touch_tcl) |
---|
1034 | force-tcl: |
---|
1035 | + $(clean_tcl) |
---|
1036 | + $(fetch_tcl) |
---|
1037 | + $(configure_tcl) |
---|
1038 | + $(build_tcl) |
---|
1039 | + $(install_tcl) |
---|
1040 | + $(touch_tcl) |
---|
1041 | |
---|
1042 | define fetch_tcl |
---|
1043 | sh $(srcdir)/fetch.sh $(TAG) $(srcdir) $(tcl) |
---|
1044 | endef |
---|
1045 | define clean_tcl |
---|
1046 | $(RM) -r $(tcl) |
---|
1047 | endef |
---|
1048 | define fetch_tcl |
---|
1049 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(tcl) |
---|
1050 | endef |
---|
1051 | define configure_tcl |
---|
1052 | $(MKDIR_P) $(tcl) |
---|
1053 | cd $(tcl); $(srcdir)/runtime/$(tcl)/unix/configure $(tcl_flags) |
---|
1054 | endef |
---|
1055 | define build_tcl |
---|
1056 | $(MAKE) -C $(tcl) all |
---|
1057 | endef |
---|
1058 | define install_tcl |
---|
1059 | $(MAKE) -C $(tcl) install |
---|
1060 | $(RM) $(bindir)/tclsh |
---|
1061 | (cd $(bindir); $(LN_S) tclsh$(TCL_VERSION) tclsh) |
---|
1062 | endef |
---|
1063 | define touch_tcl |
---|
1064 | touch $(tcl)/timestamp |
---|
1065 | endef |
---|
1066 | |
---|
1067 | $(tcl)/timestamp: |
---|
1068 | + $(clean_tcl) |
---|
1069 | + $(fetch_tcl) |
---|
1070 | + $(configure_tcl) |
---|
1071 | + $(build_tcl) |
---|
1072 | + $(install_tcl) |
---|
1073 | + $(touch_tcl) |
---|
1074 | |
---|
1075 | # ------------------------------------------------------------------------- |
---|
1076 | # TCLLIB |
---|
1077 | # ------------------------------------------------------------------------- |
---|
1078 | |
---|
1079 | tcllib_flags = \ |
---|
1080 | --enable-shared \ |
---|
1081 | $(common_flags) |
---|
1082 | |
---|
1083 | tcllib: $(tcllib)/timestamp |
---|
1084 | |
---|
1085 | clean-tcllib: |
---|
1086 | $(clean_tcllib) |
---|
1087 | fetch-tcllib: |
---|
1088 | $(fetch_tcllib) |
---|
1089 | configure-tcllib: |
---|
1090 | $(configure_tcllib) |
---|
1091 | build-tcllib: |
---|
1092 | $(build_tcllib) |
---|
1093 | install-tcllib: |
---|
1094 | $(install_tcllib) |
---|
1095 | touch-tcllib: |
---|
1096 | $(touch_tcllib) |
---|
1097 | force-tcllib: $(tcl)/timestamp |
---|
1098 | + $(clean_tcllib) |
---|
1099 | + $(fetch_tcllib) |
---|
1100 | + $(configure_tcllib) |
---|
1101 | + $(build_tcllib) |
---|
1102 | + $(install_tcllib) |
---|
1103 | + $(touch_tcllib) |
---|
1104 | |
---|
1105 | define clean_tcllib |
---|
1106 | $(RM) -r $(tcllib) |
---|
1107 | endef |
---|
1108 | define fetch_tcllib |
---|
1109 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(tcllib) |
---|
1110 | endef |
---|
1111 | define configure_tcllib |
---|
1112 | $(MKDIR_P) $(tcllib) |
---|
1113 | cd $(tcllib); $(runtime)/$(tcllib)/configure $(tcllib_flags) |
---|
1114 | endef |
---|
1115 | define build_tcllib |
---|
1116 | $(MAKE) -C $(tcllib) all |
---|
1117 | endef |
---|
1118 | define install_tcllib |
---|
1119 | $(MAKE) -C $(tcllib) install |
---|
1120 | endef |
---|
1121 | define touch_tcllib |
---|
1122 | touch $(tcllib)/timestamp |
---|
1123 | endef |
---|
1124 | |
---|
1125 | $(tcllib)/timestamp: $(tcl)/timestamp |
---|
1126 | + $(clean_tcllib) |
---|
1127 | + $(fetch_tcllib) |
---|
1128 | + $(configure_tcllib) |
---|
1129 | + $(build_tcllib) |
---|
1130 | + $(install_tcllib) |
---|
1131 | + $(touch_tcllib) |
---|
1132 | |
---|
1133 | # ------------------------------------------------------------------------- |
---|
1134 | # TDOM |
---|
1135 | # ------------------------------------------------------------------------- |
---|
1136 | |
---|
1137 | tdom_flags = \ |
---|
1138 | --enable-shared \ |
---|
1139 | $(common_flags) |
---|
1140 | |
---|
1141 | tdom: $(tdom)/timestamp |
---|
1142 | |
---|
1143 | clean-tdom: |
---|
1144 | $(clean_tdom) |
---|
1145 | fetch-tdom: |
---|
1146 | $(fetch_tdom) |
---|
1147 | configure-tdom: |
---|
1148 | $(configure_tdom) |
---|
1149 | build-tdom: |
---|
1150 | $(build_tdom) |
---|
1151 | install-tdom: |
---|
1152 | $(install_tdom) |
---|
1153 | touch-tdom: |
---|
1154 | $(touch_tdom) |
---|
1155 | force-tdom: $(tcl)/timestamp |
---|
1156 | + $(clean_tdom) |
---|
1157 | + $(fetch_tdom) |
---|
1158 | + $(configure_tdom) |
---|
1159 | + $(build_tdom) |
---|
1160 | + $(install_tdom) |
---|
1161 | + $(touch_tdom) |
---|
1162 | |
---|
1163 | define clean_tdom |
---|
1164 | $(RM) -r $(tdom) |
---|
1165 | endef |
---|
1166 | define fetch_tdom |
---|
1167 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(tdom) |
---|
1168 | endef |
---|
1169 | define configure_tdom |
---|
1170 | $(MKDIR_P) $(tdom) |
---|
1171 | cd $(tdom); $(runtime)/$(tdom)/configure $(tdom_flags) |
---|
1172 | endef |
---|
1173 | define build_tdom |
---|
1174 | $(MAKE) -C $(tdom) all |
---|
1175 | endef |
---|
1176 | define install_tdom |
---|
1177 | $(MAKE) -C $(tdom) install |
---|
1178 | endef |
---|
1179 | define touch_tdom |
---|
1180 | touch $(tdom)/timestamp |
---|
1181 | endef |
---|
1182 | |
---|
1183 | $(tdom)/timestamp: $(tcl)/timestamp |
---|
1184 | + $(clean_tdom) |
---|
1185 | + $(fetch_tdom) |
---|
1186 | + $(configure_tdom) |
---|
1187 | + $(build_tdom) |
---|
1188 | + $(install_tdom) |
---|
1189 | + $(touch_tdom) |
---|
1190 | |
---|
1191 | # ------------------------------------------------------------------------- |
---|
1192 | # TESTER |
---|
1193 | # ------------------------------------------------------------------------- |
---|
1194 | |
---|
1195 | tester_flags = \ |
---|
1196 | --with-tclsh="$(bindir)/tclsh8.4" \ |
---|
1197 | --enable-shared \ |
---|
1198 | $(common_flags) |
---|
1199 | |
---|
1200 | tester: $(tester)/timestamp |
---|
1201 | |
---|
1202 | clean-tester: |
---|
1203 | $(clean_tester) |
---|
1204 | fetch-tester: |
---|
1205 | $(fetch_tester) |
---|
1206 | configure-tester: |
---|
1207 | $(configure_tester) |
---|
1208 | build-tester: |
---|
1209 | $(build_tester) |
---|
1210 | install-tester: |
---|
1211 | $(install_tester) |
---|
1212 | touch-tester: |
---|
1213 | $(touch_tester) |
---|
1214 | force-tester: $(gui)/timestamp |
---|
1215 | + $(clean_tester) |
---|
1216 | + $(fetch_tester) |
---|
1217 | + $(configure_tester) |
---|
1218 | + $(build_tester) |
---|
1219 | + $(install_tester) |
---|
1220 | + $(touch_tester) |
---|
1221 | |
---|
1222 | define clean_tester |
---|
1223 | $(MAKE) -C $(tester) clean |
---|
1224 | endef |
---|
1225 | define fetch_tester |
---|
1226 | endef |
---|
1227 | define configure_tester |
---|
1228 | endef |
---|
1229 | define build_tester |
---|
1230 | $(MAKE) -C $(tester) all |
---|
1231 | endef |
---|
1232 | define install_tester |
---|
1233 | $(MAKE) -C $(tester) install |
---|
1234 | endef |
---|
1235 | define touch_tester |
---|
1236 | touch $(tester)/timestamp |
---|
1237 | endef |
---|
1238 | |
---|
1239 | $(tester)/timestamp: $(gui)/timestamp |
---|
1240 | + $(clean_tester) |
---|
1241 | + $(fetch_tester) |
---|
1242 | + $(configure_tester) |
---|
1243 | + $(build_tester) |
---|
1244 | + $(install_tester) |
---|
1245 | + $(touch_tester) |
---|
1246 | |
---|
1247 | # ------------------------------------------------------------------------- |
---|
1248 | # TK |
---|
1249 | # ------------------------------------------------------------------------- |
---|
1250 | |
---|
1251 | tk_flags = \ |
---|
1252 | --enable-shared \ |
---|
1253 | --disable-threads \ |
---|
1254 | $(common_flags) |
---|
1255 | |
---|
1256 | tk: $(tk)/timestamp |
---|
1257 | |
---|
1258 | clean-tk: |
---|
1259 | $(clean_tk) |
---|
1260 | fetch-tk: |
---|
1261 | $(fetch_tk) |
---|
1262 | configure-tk: |
---|
1263 | $(configure_tk) |
---|
1264 | build-tk: |
---|
1265 | $(build_tk) |
---|
1266 | install-tk: |
---|
1267 | $(install_tk) |
---|
1268 | touch-tk: |
---|
1269 | $(touch_tk) |
---|
1270 | force-tk: $(tcl)/timestamp |
---|
1271 | + $(clean_tk) |
---|
1272 | + $(fetch_tk) |
---|
1273 | + $(configure_tk) |
---|
1274 | + $(build_tk) |
---|
1275 | + $(install_tk) |
---|
1276 | + $(touch_tk) |
---|
1277 | |
---|
1278 | define clean_tk |
---|
1279 | $(RM) -r $(tk) |
---|
1280 | endef |
---|
1281 | define fetch_tk |
---|
1282 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(tk) |
---|
1283 | endef |
---|
1284 | define configure_tk |
---|
1285 | $(MKDIR_P) $(tk) |
---|
1286 | cd $(tk); $(runtime)/$(tk)/unix/configure $(tk_flags) |
---|
1287 | endef |
---|
1288 | define build_tk |
---|
1289 | $(MAKE) -C $(tk) all |
---|
1290 | endef |
---|
1291 | define install_tk |
---|
1292 | $(MAKE) -C $(tk) install |
---|
1293 | $(RM) $(bindir)/wish |
---|
1294 | (cd $(bindir); $(LN_S) wish$(TK_VERSION) wish) |
---|
1295 | endef |
---|
1296 | define touch_tk |
---|
1297 | touch $(tk)/timestamp |
---|
1298 | endef |
---|
1299 | |
---|
1300 | $(tk)/timestamp: $(tcl)/timestamp |
---|
1301 | + $(clean_tk) |
---|
1302 | + $(fetch_tk) |
---|
1303 | + $(configure_tk) |
---|
1304 | + $(build_tk) |
---|
1305 | + $(install_tk) |
---|
1306 | + $(touch_tk) |
---|
1307 | |
---|
1308 | # ------------------------------------------------------------------------- |
---|
1309 | # TKING |
---|
1310 | # ------------------------------------------------------------------------- |
---|
1311 | |
---|
1312 | tkimg_flags = \ |
---|
1313 | --enable-shared \ |
---|
1314 | $(common_flags) |
---|
1315 | |
---|
1316 | tkimg: $(tkimg)/timestamp |
---|
1317 | |
---|
1318 | clean-tkimg: |
---|
1319 | $(clean_tkimg) |
---|
1320 | fetch-tkimg: |
---|
1321 | $(fetch_tkimg) |
---|
1322 | configure-tkimg: |
---|
1323 | $(configure_tkimg) |
---|
1324 | build-tkimg: |
---|
1325 | $(build_tkimg) |
---|
1326 | install-tkimg: |
---|
1327 | $(install_tkimg) |
---|
1328 | touch-tkimg: |
---|
1329 | $(touch_tkimg) |
---|
1330 | force-tkimg: $(tk)/timestamp |
---|
1331 | + $(clean_tkimg) |
---|
1332 | + $(fetch_tkimg) |
---|
1333 | + $(configure_tkimg) |
---|
1334 | + $(build_tkimg) |
---|
1335 | + $(install_tkimg) |
---|
1336 | + $(touch_tkimg) |
---|
1337 | |
---|
1338 | define clean_tkimg |
---|
1339 | $(RM) -r $(tkimg) |
---|
1340 | endef |
---|
1341 | define fetch_tkimg |
---|
1342 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(tkimg) |
---|
1343 | endef |
---|
1344 | define configure_tkimg |
---|
1345 | $(MKDIR_P) $(tkimg) |
---|
1346 | cd $(tkimg); $(runtime)/$(tkimg)/configure $(tkimg_flags) |
---|
1347 | endef |
---|
1348 | define build_tkimg |
---|
1349 | $(MAKE) -C $(tkimg) all |
---|
1350 | endef |
---|
1351 | define install_tkimg |
---|
1352 | $(MAKE) -C $(tkimg) install |
---|
1353 | endef |
---|
1354 | define touch_tkimg |
---|
1355 | touch $(tkimg)/timestamp |
---|
1356 | endef |
---|
1357 | |
---|
1358 | $(tkimg)/timestamp: $(tk)/timestamp |
---|
1359 | + $(clean_tkimg) |
---|
1360 | + $(fetch_tkimg) |
---|
1361 | + $(configure_tkimg) |
---|
1362 | + $(build_tkimg) |
---|
1363 | + $(install_tkimg) |
---|
1364 | + $(touch_tkimg) |
---|
1365 | |
---|
1366 | # ------------------------------------------------------------------------- |
---|
1367 | # TLS |
---|
1368 | # ------------------------------------------------------------------------- |
---|
1369 | |
---|
1370 | tls_flags = \ |
---|
1371 | --enable-shared \ |
---|
1372 | $(common_flags) |
---|
1373 | |
---|
1374 | tls: $(tls)/timestamp |
---|
1375 | |
---|
1376 | clean-tls: |
---|
1377 | $(clean_tls) |
---|
1378 | fetch-tls: |
---|
1379 | $(fetch_tls) |
---|
1380 | configure-tls: |
---|
1381 | $(configure_tls) |
---|
1382 | build-tls: |
---|
1383 | $(build_tls) |
---|
1384 | install-tls: |
---|
1385 | $(install_tls) |
---|
1386 | touch-tls: |
---|
1387 | $(touch_tls) |
---|
1388 | force-tls: $(tcl)/timestamp |
---|
1389 | + $(clean_tls) |
---|
1390 | + $(fetch_tls) |
---|
1391 | + $(configure_tls) |
---|
1392 | + $(build_tls) |
---|
1393 | + $(install_tls) |
---|
1394 | + $(touch_tls) |
---|
1395 | |
---|
1396 | define clean_tls |
---|
1397 | $(RM) -r $(tls) |
---|
1398 | endef |
---|
1399 | define fetch_tls |
---|
1400 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(tls) |
---|
1401 | endef |
---|
1402 | define configure_tls |
---|
1403 | $(MKDIR_P) $(tls) |
---|
1404 | cd $(tls); $(runtime)/$(tls)/configure $(tls_flags) |
---|
1405 | endef |
---|
1406 | define build_tls |
---|
1407 | $(MAKE) -C $(tls) all |
---|
1408 | endef |
---|
1409 | define install_tls |
---|
1410 | $(MAKE) -C $(tls) install |
---|
1411 | endef |
---|
1412 | define touch_tls |
---|
1413 | touch $(tls)/timestamp |
---|
1414 | endef |
---|
1415 | |
---|
1416 | $(tls)/timestamp: $(tcl)/timestamp |
---|
1417 | + $(clean_tls) |
---|
1418 | + $(fetch_tls) |
---|
1419 | + $(configure_tls) |
---|
1420 | + $(build_tls) |
---|
1421 | + $(install_tls) |
---|
1422 | + $(touch_tls) |
---|
1423 | |
---|
1424 | # ------------------------------------------------------------------------- |
---|
1425 | # VIDEO |
---|
1426 | # ------------------------------------------------------------------------- |
---|
1427 | |
---|
1428 | video_flags = \ |
---|
1429 | --with-tclsh="$(bindir)/tclsh8.4" \ |
---|
1430 | --enable-shared \ |
---|
1431 | $(common_flags) |
---|
1432 | |
---|
1433 | video: $(video)/timestamp |
---|
1434 | |
---|
1435 | clean-video: |
---|
1436 | $(clean_video) |
---|
1437 | fetch-video: |
---|
1438 | $(fetch_video) |
---|
1439 | configure-video: |
---|
1440 | $(configure_video) |
---|
1441 | build-video: |
---|
1442 | $(build_video) |
---|
1443 | install-video: |
---|
1444 | $(install_video) |
---|
1445 | touch-video: |
---|
1446 | $(touch_video) |
---|
1447 | force-video: #$(gui)/timestamp |
---|
1448 | + $(clean_video) |
---|
1449 | + $(fetch_video) |
---|
1450 | + $(configure_video) |
---|
1451 | + $(build_video) |
---|
1452 | + $(install_video) |
---|
1453 | + $(touch_video) |
---|
1454 | |
---|
1455 | define clean_video |
---|
1456 | $(RM) -r $(video) |
---|
1457 | endef |
---|
1458 | define fetch_video |
---|
1459 | endef |
---|
1460 | define configure_video |
---|
1461 | $(MKDIR_P) $(video) |
---|
1462 | cd $(video); $(srcdir)/packages/$(video)/configure $(video_flags) |
---|
1463 | endef |
---|
1464 | define build_video |
---|
1465 | $(MAKE) -C $(video) all |
---|
1466 | endef |
---|
1467 | define install_video |
---|
1468 | $(MAKE) -C $(video) install |
---|
1469 | endef |
---|
1470 | define touch_video |
---|
1471 | touch $(video)/timestamp |
---|
1472 | endef |
---|
1473 | |
---|
1474 | $(video)/timestamp: #$(gui)/timestamp |
---|
1475 | + $(clean_video) |
---|
1476 | + $(fetch_video) |
---|
1477 | + $(configure_video) |
---|
1478 | + $(build_video) |
---|
1479 | + $(install_video) |
---|
1480 | + $(touch_video) |
---|
1481 | |
---|
1482 | # ------------------------------------------------------------------------- |
---|
1483 | # VTK |
---|
1484 | # ------------------------------------------------------------------------- |
---|
1485 | |
---|
1486 | vtk_flags = \ |
---|
1487 | $(common_flags) |
---|
1488 | |
---|
1489 | vtk: $(vtk)/timestamp |
---|
1490 | |
---|
1491 | clean-vtk: |
---|
1492 | $(clean_vtk) |
---|
1493 | fetch-vtk: |
---|
1494 | $(fetch_vtk) |
---|
1495 | configure-vtk: |
---|
1496 | $(configure_vtk) |
---|
1497 | build-vtk: |
---|
1498 | $(build_vtk) |
---|
1499 | install-vtk: |
---|
1500 | $(install_vtk) |
---|
1501 | touch-vtk: |
---|
1502 | $(touch_vtk) |
---|
1503 | force-vtk: $(cmake)/timestamp $(tcl)/timestamp $(tk)/timestamp |
---|
1504 | + $(clean_vtk) |
---|
1505 | + $(fetch_vtk) |
---|
1506 | + $(configure_vtk) |
---|
1507 | + $(build_vtk) |
---|
1508 | + $(install_vtk) |
---|
1509 | + $(touch_vtk) |
---|
1510 | |
---|
1511 | define clean_vtk |
---|
1512 | $(RM) -r $(vtk) |
---|
1513 | endef |
---|
1514 | define fetch_vtk |
---|
1515 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(vtk) |
---|
1516 | endef |
---|
1517 | define configure_vtk |
---|
1518 | $(MKDIR_P) $(vtk) |
---|
1519 | cd $(vtk); $(runtime)/$(vtk)/configure $(vtk_flags) |
---|
1520 | endef |
---|
1521 | define build_vtk |
---|
1522 | $(MAKE) -C $(vtk) all |
---|
1523 | endef |
---|
1524 | define install_vtk |
---|
1525 | $(MAKE) -C $(vtk) install |
---|
1526 | $(RM) $(includedir)/vtk |
---|
1527 | (cd $(includedir); $(LN_S) vtk-$(VTK_VERSION) vtk) |
---|
1528 | $(RM) $(libdir)/tcltk/vtk |
---|
1529 | (cd $(libdir)/tcltk; $(LN_S) vtk-$(VTK_VERSION) vtk) |
---|
1530 | endef |
---|
1531 | define touch_vtk |
---|
1532 | touch $(vtk)/timestamp |
---|
1533 | endef |
---|
1534 | |
---|
1535 | $(vtk)/timestamp: $(cmake)/timestamp $(tcl)/timestamp $(tk)/timestamp |
---|
1536 | + $(clean_vtk) |
---|
1537 | + $(fetch_vtk) |
---|
1538 | + $(configure_vtk) |
---|
1539 | + $(build_vtk) |
---|
1540 | + $(install_vtk) |
---|
1541 | + $(touch_vtk) |
---|
1542 | |
---|
1543 | # ------------------------------------------------------------------------- |
---|
1544 | # ZLIB |
---|
1545 | # ------------------------------------------------------------------------- |
---|
1546 | |
---|
1547 | zlib_flags = \ |
---|
1548 | --enable-shared \ |
---|
1549 | $(common_flags) |
---|
1550 | |
---|
1551 | zlib: $(zlib)/timestamp |
---|
1552 | |
---|
1553 | clean-zlib: |
---|
1554 | $(clean_zlib) |
---|
1555 | fetch-zlib: |
---|
1556 | $(fetch_zlib) |
---|
1557 | configure-zlib: |
---|
1558 | $(configure_zlib) |
---|
1559 | build-zlib: |
---|
1560 | $(build_zlib) |
---|
1561 | install-zlib: |
---|
1562 | $(install_zlib) |
---|
1563 | touch-zlib: |
---|
1564 | $(touch_zlib) |
---|
1565 | force-zlib: |
---|
1566 | + $(clean_zlib) |
---|
1567 | + $(fetch_zlib) |
---|
1568 | + $(configure_zlib) |
---|
1569 | + $(build_zlib) |
---|
1570 | + $(install_zlib) |
---|
1571 | + $(touch_zlib) |
---|
1572 | |
---|
1573 | define clean_zlib |
---|
1574 | $(RM) -r $(zlib) |
---|
1575 | endef |
---|
1576 | define fetch_zlib |
---|
1577 | sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(zlib) |
---|
1578 | endef |
---|
1579 | define configure_zlib |
---|
1580 | $(MKDIR_P) $(zlib) |
---|
1581 | cd $(zlib); $(runtime)/$(zlib)/configure $(zlib_flags) |
---|
1582 | endef |
---|
1583 | define build_zlib |
---|
1584 | $(MAKE) -C $(zlib) all |
---|
1585 | endef |
---|
1586 | define install_zlib |
---|
1587 | $(MAKE) -C $(zlib) install |
---|
1588 | endef |
---|
1589 | define touch_zlib |
---|
1590 | touch $(zlib)/timestamp |
---|
1591 | endef |
---|
1592 | |
---|
1593 | $(zlib)/timestamp: |
---|
1594 | + $(clean_zlib) |
---|
1595 | + $(fetch_zlib) |
---|
1596 | + $(configure_zlib) |
---|
1597 | + $(build_zlib) |
---|
1598 | + $(install_zlib) |
---|
1599 | + $(touch_zlib) |
---|