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