source: branches/r9/Makefile.in @ 4852

Last change on this file since 4852 was 4852, checked in by gah, 7 years ago
File size: 29.8 KB
Line 
1
2# ------------------------------------------------------------------------
3#       Makefile for Rappture
4# ------------------------------------------------------------------------
5
6# ------------------------------------------------------------------------
7#       C Compiler options
8# ------------------------------------------------------------------------
9
10RAPPTURE_MAJOR_VERSION =        @RAPPTURE_MAJOR_VERSION@
11RAPPTURE_MINOR_VERSION =        @RAPPTURE_MINOR_VERSION@
12RAPPTURE_RELEASE_SERIAL =       @RAPPTURE_RELEASE_SERIAL@
13X_INCLUDES =            @X_INCLUDES@
14X_LIBRARIES =           @X_LIBRARIES@
15WORDSIZE =              @WORDSIZE@
16version = $(RAPPTURE_MAJOR_VERSION).$(RAPPTURE_MINOR_VERSION).$(RAPPTURE_RELEASE_SERIAL)
17runtime =               $(shell cd ../rappture/runtime; pwd)
18TAG =                   branches/blt4
19
20# ------------------------------------------------------------------------
21#       Source and targer installation directories
22# ------------------------------------------------------------------------
23
24bindir =                $(exec_prefix)/bin
25datadir =               @datadir@
26datarootdir =           @datarootdir@
27exec_prefix =           @exec_prefix@
28incdir =                $(prefix)/include
29includedir =            @includedir@
30libdir =                @libdir@
31prefix =                @prefix@
32scriptdir =             $(exec_prefix)/scripts
33pkgdir =                $(exec_prefix)/lib
34srcdir =                $(shell cd @srcdir@; pwd)
35statsdir =              @STATSDIR@
36
37# ------------------------------------------------------------------------
38#       You don't need to edit anything beyond this point
39# ------------------------------------------------------------------------
40
41INSTALL =               @INSTALL@
42INSTALL_DATA =          @INSTALL_DATA@
43DESTDIR = 
44RANLIB =                @RANLIB@
45MAKE =                  make
46SHELL =                 /bin/sh
47AR =                    ar rc
48RM =                    rm -f
49LN_S =                  @LN_S@
50VPATH =                 $(srcdir)
51MKDIR_P =               @MKDIR_P@
52CP =                    /bin/cp
53
54common_flags =          --prefix=$(prefix) --exec_prefix=$(exec_prefix)
55x_flags =
56ifneq ("$(X_INCLUDES)", )
57x_flags += --x-includes=$(X_INCLUDES)
58endif
59ifneq ("$(X_LIBRARIES)", )
60x_flags += --x-includes=$(X_LIBRARIES)
61endif
62
63PATH := $(bindir):$(PATH)
64
65targets = \
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
74all: gui packages lang
75
76fullpkg: tester builder packages
77
78libshell: $(tcllib)/timestamp $(tls)/timestamp $(itcl)/timestamp
79
80# Aliases for package directory names.
81
82blt = blt4
83cmake = cmake-2.8.12.2
84examples = examples
85expat = expat-2.1.0
86expect = expect5.45
87freetype = freetype-2.5.3
88gui = gui
89htmlwidget = htmlwidget-3a14
90itcl = itcl3.4
91itk = itk3.3
92jpeg = jpeg-8d
93libpng = libpng-1.6.15
94librappture = librappture
95openssl = openssl-1.0.1j
96optimizer = optimizer
97shape = shape0.4
98sqlitetcl = sqlite-src-3080703
99sqlitetcl = sqlite-3071502
100tcl = tcl8.5.10
101tcllib = tcllib-1.15
102tdom = tDOM-0.8.3
103tiff = tiff-4.0.3
104tk = tk8.5.10
105tkimg = tkimg1.4
106tls = tls1.6
107vtk = vtk-6.0.0
108zlib = zlib
109tester = tester
110builder = builder
111lang = lang
112
113subdirs = \
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
121clean:
122        $(RM) -r $(subdirs)
123
124# -------------------------------------------------------------------------
125#  BLT
126# -------------------------------------------------------------------------
127
128blt_flags =     \
129        --enable-shared \
130        $(common_flags)
131
132blt: $(blt)/timestamp
133
134clean-blt:
135        $(clean_blt)
136fetch-blt:
137        $(fetch_blt)
138configure-blt:
139        $(configure_blt)
140build-blt:
141        $(build_blt)
142install-blt:
143        $(install_blt)
144touch-blt:
145        $(touch_blt)
146force-blt: $(tcl)/timestamp $(tk)/timestamp
147        + $(clean_blt)
148        + $(fetch_blt)
149        + $(configure_blt)
150        + $(build_blt)
151        + $(install_blt)
152        + $(touch_blt)
153
154define clean_blt
155        $(RM) -r $(blt)
156endef
157define fetch_blt
158        sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(blt)
159endef
160define configure_blt
161        $(MKDIR_P) $(blt)
162        cd $(blt); $(runtime)/$(blt)/configure $(blt_flags)
163endef
164define build_blt
165        $(MAKE)  -C $(blt) all
166endef
167define install_blt
168        $(MAKE) -C $(blt) install
169endef
170define touch_blt
171        touch $(blt)/timestamp
172endef
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
186builder_flags = \
187        --with-tclsh="$(bindir)/tclsh8.4" \
188        --enable-shared \
189        $(common_flags)
190
191builder: $(builder)/timestamp
192
193clean-builder:
194        $(clean_builder)
195fetch-builder:
196        $(fetch_builder)
197configure-builder:
198build-builder:
199        $(build_builder)
200install-builder:
201        $(install_builder)
202touch-builder:
203        $(touch_builder)
204force-builder: $(gui)/timestamp
205        + $(clean_builder)
206        + $(fetch_builder)
207        + $(configure_builder)
208        + $(build_builder)
209        + $(install_builder)
210        + $(touch_builder)
211
212define clean_builder
213        $(MAKE) -C $(builder) clean
214endef
215define fetch_builder
216endef
217define build_builder
218        $(MAKE) -C $(builder) all
219endef
220define install_builder
221        $(MAKE) -C $(builder) install
222endef
223define touch_builder
224        touch $(builder)/timestamp
225endef
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
239cmake_flags =   \
240        --prefix=$(prefix)
241
242cmake: $(cmake)/timestamp
243
244clean-cmake:
245        $(clean_cmake)
246fetch-cmake:
247        $(fetch_cmake)
248configure-cmake:
249        $(configure_cmake)
250build-cmake:
251        $(build_cmake)
252install-cmake:
253        $(install_cmake)
254touch-cmake:
255        $(touch_cmake)
256force-cmake:
257        + $(clean_cmake)
258        + $(fetch_cmake)
259        + $(configure_cmake)
260        + $(build_cmake)
261        + $(install_cmake)
262        + $(touch_cmake)
263
264define clean_cmake
265        $(RM) -r $(cmake)
266endef
267define fetch_cmake
268        sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(cmake)
269endef
270define configure_cmake
271        $(MKDIR_P) $(cmake)
272        cd $(cmake); $(runtime)/$(cmake)/configure $(cmake_flags)
273endef
274define build_cmake
275        $(MAKE)  -C $(cmake) all
276endef
277define install_cmake
278        $(MAKE) -C $(cmake) install
279endef
280define touch_cmake
281        touch $(cmake)/timestamp
282endef
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
296examples_flags =        \
297        --with-tclsh="$(bindir)/tclsh8.4" \
298        --enable-shared \
299        $(common_flags)
300
301examples: $(examples)/timestamp
302
303clean-examples:
304        $(clean_examples)
305fetch-examples:
306        $(fetch_examples)
307configure-examples:
308        $(configure_examples)
309build-examples:
310        $(build_examples)
311install-examples:
312        $(install_examples)
313touch-examples:
314        $(touch_examples)
315force-examples: $(gui)/timestamp
316        + $(clean_examples)
317        + $(fetch_examples)
318        + $(configure_examples)
319        + $(build_examples)
320        + $(install_examples)
321        + $(touch_examples)
322
323define clean_examples
324        $(MAKE) -C $(examples) clean
325endef
326define fetch_examples
327endef
328define configure_examples
329        $(MKDIR_P) $(examples)
330endef
331define build_examples
332        $(MAKE) -C $(examples) all
333endef
334define install_examples
335        $(MAKE) -C $(examples) install
336endef
337define touch_examples
338        touch $(examples)/timestamp
339endef
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
353expat_flags =   \
354        --enable-shared \
355        $(common_flags)
356
357expat: $(expat)/timestamp
358
359clean-expat:
360        $(clean_expat)
361fetch-expat:
362        $(fetch_expat)
363configure-expat:
364        $(configure_expat)
365build-expat:
366        $(build_expat)
367install-expat:
368        $(install_expat)
369touch-expat:
370        $(touch_expat)
371force-expat:
372        + $(clean_expat)
373        + $(fetch_expat)
374        + $(configure_expat)
375        + $(build_expat)
376        + $(install_expat)
377        + $(touch_expat)
378
379define clean_expat
380        $(RM) -r $(expat)
381endef
382define fetch_expat
383        sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(expat)
384endef
385define configure_expat
386        $(MKDIR_P) $(expat)
387        cd $(expat); $(runtime)/$(expat)/configure $(expat_flags)
388endef
389define build_expat
390        $(MAKE)  -C $(expat) all
391endef
392define install_expat
393        $(MAKE) -C $(expat) install
394endef
395define touch_expat
396        touch $(expat)/timestamp
397endef
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
411expect_flags =  \
412        --enable-shared \
413        --enable-64bit \
414        --with-tcl=$(libdir) \
415        --with-tclinclude=$(incdir) \
416        $(common_flags)
417
418expect: $(expect)/timestamp
419
420clean-expect:
421        $(clean_expect)
422fetch-expect:
423        $(fetch_expect)
424configure-expect:
425        $(configure_expect)
426build-expect:
427        $(build_expect)
428install-expect:
429        $(install_expect)
430touch-expect:
431        $(touch_expect)
432force-expect: $(tcl)/timestamp $(tk)/timestamp
433        + $(clean_expect)
434        + $(fetch_expect)
435        + $(configure_expect)
436        + $(build_expect)
437        + $(install_expect)
438        + $(touch_expect)
439
440define clean_expect
441        $(RM) -r $(expect)
442endef
443define fetch_expect
444        sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(expect)
445endef
446define configure_expect
447        $(MKDIR_P) $(expect)
448        cd $(expect); $(runtime)/$(expect)/configure $(expect_flags)
449endef
450define build_expect
451        $(MAKE)  -C $(expect) all
452endef
453define install_expect
454        $(MAKE) -C $(expect) install
455endef
456define touch_expect
457        touch $(expect)/timestamp
458endef
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
472gui_flags =     \
473        --with-tclsh="$(bindir)/tclsh8.4" \
474        --enable-shared \
475        $(common_flags)
476
477gui: $(gui)/timestamp
478
479clean-gui:
480        $(clean_gui)
481fetch-gui:
482        $(fetch_gui)
483configure-gui:
484        $(configure_gui)
485build-gui:
486        $(build_gui)
487install-gui:
488        $(install_gui)
489touch-gui:
490        $(touch_gui)
491force-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
505define clean_gui
506        $(RM) -r $(gui)
507endef
508define fetch_gui
509endef
510define configure_gui
511        $(MKDIR_P) $(gui)
512        cd $(gui); $(srcdir)/$(gui)/configure $(gui_flags)
513endef
514define build_gui
515        $(MAKE) -C $(gui) all
516endef
517define install_gui
518        $(MAKE) -C $(gui) install
519endef
520define touch_gui
521        touch $(gui)/timestamp
522endef
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
542htmlwidget_flags = \
543        --enable-shared \
544        $(common_flags)
545
546htmlwidget: $(htmlwidget)/timestamp
547
548clean-htmlwidget:
549        $(clean_htmlwidget)
550fetch-htmlwidget:
551        $(fetch_htmlwidget)
552configure-htmlwidget:
553        $(configure_htmlwidget)
554build-htmlwidget:
555        $(build_htmlwidget)
556install-htmlwidget:
557        $(install_htmlwidget)
558touch-htmlwidget:
559        $(touch_htmlwidget)
560force-htmlwidget: $(tk)/timestamp
561        + $(clean_htmlwidget)
562        + $(fetch_htmlwidget)
563        + $(configure_htmlwidget)
564        + $(build_htmlwidget)
565        + $(install_htmlwidget)
566        + $(touch_htmlwidget)
567
568define clean_htmlwidget
569        $(RM) -r $(htmlwidget)
570endef
571define fetch_htmlwidget
572        sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(htmlwidget)
573endef
574define configure_htmlwidget
575        $(MKDIR_P) $(htmlwidget)
576        cd $(htmlwidget); $(runtime)/$(htmlwidget)/configure $(htmlwidget_flags)
577endef
578define build_htmlwidget
579        $(MAKE) -C $(htmlwidget) all
580endef
581define install_htmlwidget
582        $(MAKE) -C $(htmlwidget) install
583endef
584define touch_htmlwidget
585        touch $(htmlwidget)/timestamp
586endef
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
600itcl_flags =    \
601        --enable-shared \
602        $(common_flags)
603
604itcl: $(itcl)/timestamp
605
606clean-itcl:
607        $(clean_itcl)
608fetch-itcl:
609        $(fetch_itcl)
610configure-itcl:
611        $(configure_itcl)
612build-itcl:
613        $(build_itcl)
614install-itcl:
615        $(install_itcl)
616touch-itcl:
617        $(touch_itcl)
618force-itcl:
619        + $(clean_itcl)
620        + $(fetch_itcl)
621        + $(configure_itcl)
622        + $(build_itcl)
623        + $(install_itcl)
624        + $(touch_itcl)
625
626define clean_itcl
627        $(RM) -r $(itcl)
628endef
629define fetch_itcl
630        sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(itcl)
631endef
632define configure_itcl
633        $(MKDIR_P) $(itcl)
634        cd $(itcl); $(runtime)/$(itcl)/configure $(itcl_flags)
635endef
636define build_itcl
637        $(MAKE)  -C $(itcl) all
638endef
639define install_itcl
640        $(MAKE) -C $(itcl) install
641endef
642define touch_itcl
643        touch $(itcl)/timestamp
644endef
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
658itk_flags =     \
659        --enable-shared \
660        $(common_flags)
661
662itk: $(itk)/timestamp
663
664clean-itk:
665        $(clean_itk)
666fetch-itk:
667        $(fetch_itk)
668configure-itk:
669        $(configure_itk)
670build-itk:
671        $(build_itk)
672install-itk:
673        $(install_itk)
674touch-itk:
675        $(touch_itk)
676force-itk: $(itcl)/timestamp $(tk)/timestamp
677        + $(clean_itk)
678        + $(fetch_itk)
679        + $(configure_itk)
680        + $(build_itk)
681        + $(install_itk)
682        + $(touch_itk)
683
684define clean_itk
685        $(RM) -r $(itk)
686endef
687define fetch_itk
688        sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(itk)
689endef
690define configure_itk
691        $(MKDIR_P) $(itk)
692        cd $(itk); $(runtime)/$(itk)/configure $(itk_flags)
693endef
694define build_itk
695        $(MAKE) -C $(itk) all
696endef
697define install_itk
698        $(MAKE) -C $(itk) install
699endef
700define touch_itk
701        touch $(itk)/timestamp
702endef
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
716lang_flags =    \
717        --enable-shared \
718        $(common_flags)
719
720lang: $(lang)/timestamp
721
722clean-lang:
723        $(clean_lang)
724fetch-lang:
725        $(fetch_lang)
726configure-lang:
727        $(configure_lang)
728build-lang:
729        $(build_lang)
730install-lang:
731        $(install_lang)
732touch-lang:
733        $(touch_lang)
734force-lang: $(gui)/timestamp
735        + $(clean_lang)
736        + $(fetch_lang)
737        + $(configure_lang)
738        + $(build_lang)
739        + $(install_lang)
740        + $(touch_lang)
741
742define clean_lang
743        $(RM) -r $(lang)
744endef
745define fetch_lang
746endef
747define configure_lang
748        $(MKDIR_P) $(lang)
749        cd $(lang); $(srcdir)/$(lang)/configure $(lang_flags)
750endef
751define build_lang
752        $(MAKE) -C $(lang) all
753endef
754define install_lang
755        $(MAKE) -C $(lang) install
756endef
757define touch_lang
758        touch $(lang)/timestamp
759endef
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
774librappture_flags =     \
775        --enable-shared \
776        $(common_flags)
777
778librappture: $(librappture)/timestamp
779
780clean-librappture:
781        $(clean_librappture)
782fetch-librappture:
783        $(fetch_librappture)
784configure-librappture:
785        $(configure_librappture)
786build-librappture:
787        $(build_librappture)
788install-librappture:
789        $(install_librappture)
790touch-librappture:
791        $(touch_librappture)
792force-librappture:
793        + $(clean_librappture)
794        + $(fetch_librappture)
795        + $(configure_librappture)
796        + $(build_librappture)
797        + $(install_librappture)
798        + $(touch_librappture)
799
800define clean_librappture
801        $(RM) -r $(librappture)
802endef
803define fetch_librappture
804endef
805define configure_librappture
806        $(MKDIR_P) $(librappture)
807        cd $(librappture); $(srcdir)/src/configure $(librappture_flags)
808endef
809define build_librappture
810        $(MAKE)  -C $(librappture) all
811endef
812define install_librappture
813        $(MAKE) -C $(librappture) install
814endef
815define touch_librappture
816        touch $(librappture)/timestamp
817endef
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
831optimizer_flags =       \
832        --with-tclsh="$(bindir)/tclsh8.4" \
833        --enable-shared \
834        $(common_flags)
835
836optimizer: $(optimizer)/timestamp
837
838clean-optimizer:
839        $(clean_optimizer)
840fetch-optimizer:
841        $(fetch_optimizer)
842configure-optimizer:
843        $(configure_optimizer)
844build-optimizer:
845        $(build_optimizer)
846install-optimizer:
847        $(install_optimizer)
848touch-optimizer:
849        $(touch_optimizer)
850force-optimizer: $(gui)/timestamp
851        + $(clean_optimizer)
852        + $(fetch_optimizer)
853        + $(configure_optimizer)
854        + $(build_optimizer)
855        + $(install_optimizer)
856        + $(touch_optimizer)
857
858define clean_optimizer
859        $(RM) -r $(optimizer)
860endef
861define fetch_optimizer
862endef
863define configure_optimizer
864        $(MKDIR_P) $(optimizer)
865        cd $(optimizer); $(srcdir)/$(optimizer)/configure $(optimizer_flags)
866endef
867define build_optimizer
868        $(MAKE) -C $(optimizer) all
869endef
870define install_optimizer
871        $(MAKE) -C $(optimizer) install
872endef
873define touch_optimizer
874        touch $(optimizer)/timestamp
875endef
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
889shape_flags =   \
890        --enable-shared \
891        --with-tclconf=$(libdir) \
892        --with-tkconf=$(libdir) \
893        $(common_flags)
894
895shape: $(shape)/timestamp
896
897clean-shape:
898        $(clean_shape)
899fetch-shape:
900        $(fetch_shape)
901configure-shape:
902        $(configure_shape)
903build-shape:
904        $(build_shape)
905install-shape:
906        $(install_shape)
907touch-shape:
908        $(touch_shape)
909force-shape: $(tk)/timestamp
910        + $(clean_shape)
911        + $(fetch_shape)
912        + $(configure_shape)
913        + $(build_shape)
914        + $(install_shape)
915        + $(touch_shape)
916
917define clean_shape
918        $(RM) -r $(shape)
919endef
920define fetch_shape
921        sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(shape)
922endef
923define configure_shape
924        $(MKDIR_P) $(shape)
925        cd $(shape); $(runtime)/$(shape)/unix/configure $(shape_flags)
926endef
927define build_shape
928        $(MAKE) -C $(shape) all
929endef
930define install_shape
931        $(MAKE) -C $(shape) install
932endef
933define touch_shape
934        touch $(shape)/timestamp
935endef
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
949sqlitetcl_flags = \
950        --enable-shared \
951        $(common_flags)
952
953sqlitetcl: $(sqlitetcl)/timestamp
954
955clean-sqlitetcl:
956        $(clean_sqlitetcl)
957fetch-sqlitetcl:
958        $(fetch_sqlitetcl)
959configure-sqlitetcl:
960        $(configure_sqlitetcl)
961build-sqlitetcl:
962        $(build_sqlitetcl)
963install-sqlitetcl:
964        $(install_sqlitetcl)
965touch-sqlitetcl:
966        $(touch_sqlitetcl)
967force-sqlitetcl: $(tcl)/timestamp
968        + $(clean_sqlitetcl)
969        + $(fetch_sqlitelcl)
970        + $(configure_sqlitetcl)
971        + $(build_sqlitetcl)
972        + $(install_sqlitetcl)
973        + $(touch_sqlitetcl)
974
975define clean_sqlitetcl
976        $(RM) -r $(sqlitetcl)
977endef
978define fetch_sqlitetcl
979        sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(sqlitetcl)
980endef
981define configure_sqlitetcl
982        $(MKDIR_P) $(sqlitetcl)
983        cd $(sqlitetcl); $(runtime)/$(sqlitetcl)/autoconf/tea/configure $(sqlitetcl_flags)
984endef
985define build_sqlitetcl
986        $(MAKE) -C $(sqlitetcl) all
987endef
988define install_sqlitetcl
989        $(MAKE) -C $(sqlitetcl) install
990endef
991define touch_sqlitetcl
992        touch $(sqlitetcl)/timestamp
993endef
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
1007tcl_flags =     \
1008        --enable-shared \
1009        --disable-threads \
1010        $(common_flags)
1011
1012tcl: $(tcl)/timestamp
1013
1014clean-tcl:
1015        $(clean_tcl)
1016fetch-tcl:
1017        $(fetch_tcl)
1018configure-tcl:
1019        $(configure_tcl)
1020build-tcl:
1021        $(build_tcl)
1022install-tcl:
1023        $(install_tcl)
1024touch-tcl:
1025        $(touch_tcl)
1026force-tcl:
1027        + $(clean_tcl)
1028        + $(fetch_tcl)
1029        + $(configure_tcl)
1030        + $(build_tcl)
1031        + $(install_tcl)
1032        + $(touch_tcl)
1033
1034define fetch_tcl
1035        sh $(srcdir)/fetch.sh $(TAG) $(srcdir) $(tcl)
1036endef
1037define clean_tcl
1038        $(RM) -r $(tcl)
1039endef
1040define fetch_tcl
1041        sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(tcl)
1042endef
1043define configure_tcl
1044        $(MKDIR_P) $(tcl)
1045        cd $(tcl); $(srcdir)/runtime/$(tcl)/unix/configure $(tcl_flags)
1046endef
1047define build_tcl
1048        $(MAKE)  -C $(tcl) all
1049endef
1050define install_tcl
1051        $(MAKE) -C $(tcl) install
1052endef
1053define touch_tcl
1054        touch $(tcl)/timestamp
1055endef
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
1069tcllib_flags =  \
1070        --enable-shared \
1071        $(common_flags)
1072
1073tcllib: $(tcllib)/timestamp
1074
1075clean-tcllib:
1076        $(clean_tcllib)
1077fetch-tcllib:
1078        $(fetch_tcllib)
1079configure-tcllib:
1080        $(configure_tcllib)
1081build-tcllib:
1082        $(build_tcllib)
1083install-tcllib:
1084        $(install_tcllib)
1085touch-tcllib:
1086        $(touch_tcllib)
1087force-tcllib: $(tcl)/timestamp
1088        + $(clean_tcllib)
1089        + $(fetch_tcllib)
1090        + $(configure_tcllib)
1091        + $(build_tcllib)
1092        + $(install_tcllib)
1093        + $(touch_tcllib)
1094
1095define clean_tcllib
1096        $(RM) -r $(tcllib)
1097endef
1098define fetch_tcllib
1099        sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(tcllib)
1100endef
1101define configure_tcllib
1102        $(MKDIR_P) $(tcllib)
1103        cd $(tcllib); $(runtime)/$(tcllib)/configure $(tcllib_flags)
1104endef
1105define build_tcllib
1106        $(MAKE) -C $(tcllib) all
1107endef
1108define install_tcllib
1109        $(MAKE) -C $(tcllib) install
1110endef
1111define touch_tcllib
1112        touch $(tcllib)/timestamp
1113endef
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
1127tdom_flags =    \
1128        --enable-shared \
1129        $(common_flags)
1130
1131tdom: $(tdom)/timestamp
1132
1133clean-tdom:
1134        $(clean_tdom)
1135fetch-tdom:
1136        $(fetch_tdom)
1137configure-tdom:
1138        $(configure_tdom)
1139build-tdom:
1140        $(build_tdom)
1141install-tdom:
1142        $(install_tdom)
1143touch-tdom:
1144        $(touch_tdom)
1145force-tdom: $(tcl)/timestamp
1146        + $(clean_tdom)
1147        + $(fetch_tdom)
1148        + $(configure_tdom)
1149        + $(build_tdom)
1150        + $(install_tdom)
1151        + $(touch_tdom)
1152
1153define clean_tdom
1154        $(RM) -r $(tdom)
1155endef
1156define fetch_tdom
1157        sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(tdom)
1158endef
1159define configure_tdom
1160        $(MKDIR_P) $(tdom)
1161        cd $(tdom); $(runtime)/$(tdom)/configure $(tdom_flags)
1162endef
1163define build_tdom
1164        $(MAKE) -C $(tdom) all
1165endef
1166define install_tdom
1167        $(MAKE) -C $(tdom) install
1168endef
1169define touch_tdom
1170        touch $(tdom)/timestamp
1171endef
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
1185tester_flags =  \
1186        --with-tclsh="$(bindir)/tclsh8.4" \
1187        --enable-shared \
1188        $(common_flags)
1189
1190tester: $(tester)/timestamp
1191
1192clean-tester:
1193        $(clean_tester)
1194fetch-tester:
1195        $(fetch_tester)
1196configure-tester:
1197        $(configure_tester)
1198build-tester:
1199        $(build_tester)
1200install-tester:
1201        $(install_tester)
1202touch-tester:
1203        $(touch_tester)
1204force-tester: $(gui)/timestamp
1205        + $(clean_tester)
1206        + $(fetch_tester)
1207        + $(configure_tester)
1208        + $(build_tester)
1209        + $(install_tester)
1210        + $(touch_tester)
1211
1212define clean_tester
1213        $(MAKE) -C $(tester) clean
1214endef
1215define fetch_tester
1216endef
1217define configure_tester
1218endef
1219define build_tester
1220        $(MAKE) -C $(tester) all
1221endef
1222define install_tester
1223        $(MAKE) -C $(tester) install
1224endef
1225define touch_tester
1226        touch $(tester)/timestamp
1227endef
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
1241tk_flags =      \
1242        --enable-shared \
1243        --disable-threads \
1244        $(common_flags)
1245
1246tk: $(tk)/timestamp
1247
1248clean-tk:
1249        $(clean_tk)
1250fetch-tk:
1251        $(fetch_tk)
1252configure-tk:
1253        $(configure_tk)
1254build-tk:
1255        $(build_tk)
1256install-tk:
1257        $(install_tk)
1258touch-tk:
1259        $(touch_tk)
1260force-tk: $(tcl)/timestamp
1261        + $(clean_tk)
1262        + $(fetch_tk)
1263        + $(configure_tk)
1264        + $(build_tk)
1265        + $(install_tk)
1266        + $(touch_tk)
1267
1268define clean_tk
1269        $(RM) -r $(tk)
1270endef
1271define fetch_tk
1272        sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(tk)
1273endef
1274define configure_tk
1275        $(MKDIR_P) $(tk)
1276        cd $(tk); $(runtime)/$(tk)/unix/configure $(tk_flags)
1277endef
1278define build_tk
1279        $(MAKE)  -C $(tk) all
1280endef
1281define install_tk
1282        $(MAKE) -C $(tk) install
1283endef
1284define touch_tk
1285        touch $(tk)/timestamp
1286endef
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
1300tkimg_flags =   \
1301        --enable-shared \
1302        $(common_flags)
1303
1304tkimg: $(tkimg)/timestamp
1305
1306clean-tkimg:
1307        $(clean_tkimg)
1308fetch-tkimg:
1309        $(fetch_tkimg)
1310configure-tkimg:
1311        $(configure_tkimg)
1312build-tkimg:
1313        $(build_tkimg)
1314install-tkimg:
1315        $(install_tkimg)
1316touch-tkimg:
1317        $(touch_tkimg)
1318force-tkimg: $(tk)/timestamp
1319        + $(clean_tkimg)
1320        + $(fetch_tkimg)
1321        + $(configure_tkimg)
1322        + $(build_tkimg)
1323        + $(install_tkimg)
1324        + $(touch_tkimg)
1325
1326define clean_tkimg
1327        $(RM) -r $(tkimg)
1328endef
1329define fetch_tkimg
1330        sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(tkimg)
1331endef
1332define configure_tkimg
1333        $(MKDIR_P) $(tkimg)
1334        cd $(tkimg); $(runtime)/$(tkimg)/configure $(tkimg_flags)
1335endef
1336define build_tkimg
1337        $(MAKE) -C $(tkimg) all
1338endef
1339define install_tkimg
1340        $(MAKE) -C $(tkimg) install
1341endef
1342define touch_tkimg
1343        touch $(tkimg)/timestamp
1344endef
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
1358tls_flags =     \
1359        --enable-shared \
1360        $(common_flags)
1361
1362tls: $(tls)/timestamp
1363
1364clean-tls:
1365        $(clean_tls)
1366fetch-tls:
1367        $(fetch_tls)
1368configure-tls:
1369        $(configure_tls)
1370build-tls:
1371        $(build_tls)
1372install-tls:
1373        $(install_tls)
1374touch-tls:
1375        $(touch_tls)
1376force-tls: $(tcl)/timestamp
1377        + $(clean_tls)
1378        + $(fetch_tls)
1379        + $(configure_tls)
1380        + $(build_tls)
1381        + $(install_tls)
1382        + $(touch_tls)
1383
1384define clean_tls
1385        $(RM) -r $(tls)
1386endef
1387define fetch_tls
1388        sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(tkimg)
1389endef
1390define configure_tls
1391        $(MKDIR_P) $(tls)
1392        cd $(tls); $(runtime)/$(tls)/configure $(tls_flags)
1393endef
1394define build_tls
1395        $(MAKE) -C $(tls) all
1396endef
1397define install_tls
1398        $(MAKE) -C $(tls) install
1399endef
1400define touch_tls
1401        touch $(tls)/timestamp
1402endef
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
1416vtk_flags =     \
1417        $(common_flags)
1418
1419vtk: $(vtk)/timestamp
1420
1421clean-vtk:
1422        $(clean_vtk)
1423fetch-vtk:
1424        $(fetch_vtk)
1425configure-vtk:
1426        $(configure_vtk)
1427build-vtk:
1428        $(build_vtk)
1429install-vtk:
1430        $(install_vtk)
1431touch-vtk:
1432        $(touch_vtk)
1433force-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
1441define clean_vtk
1442        $(RM) -r $(vtk)
1443endef
1444define fetch_vtk
1445        sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(vtk)
1446endef
1447define configure_vtk
1448        $(MKDIR_P) $(vtk)
1449        cd $(vtk); $(runtime)/$(vtk)/configure $(vtk_flags)
1450endef
1451define build_vtk
1452        $(MAKE)  -C $(vtk) all
1453endef
1454define install_vtk
1455        $(MAKE) -C $(vtk) install
1456endef
1457define touch_vtk
1458        touch $(vtk)/timestamp
1459endef
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
1473zlib_flags =    \
1474        --enable-shared \
1475        $(common_flags)
1476
1477zlib: $(zlib)/timestamp
1478
1479clean-zlib:
1480        $(clean_zlib)
1481fetch-zlib:
1482        $(fetch_zlib)
1483configure-zlib:
1484        $(configure_zlib)
1485build-zlib:
1486        $(build_zlib)
1487install-zlib:
1488        $(install_zlib)
1489touch-zlib:
1490        $(touch_zlib)
1491force-zlib:
1492        + $(clean_zlib)
1493        + $(fetch_zlib)
1494        + $(configure_zlib)
1495        + $(build_zlib)
1496        + $(install_zlib)
1497        + $(touch_zlib)
1498
1499define clean_zlib
1500        $(RM) -r $(zlib)
1501endef
1502define fetch_zlib
1503        sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(zlib)
1504endef
1505define configure_zlib
1506        $(MKDIR_P) $(zlib)
1507        cd $(zlib); $(runtime)/$(zlib)/configure $(zlib_flags)
1508endef
1509define build_zlib
1510        $(MAKE) -C $(zlib) all
1511endef
1512define install_zlib
1513        $(MAKE) -C $(zlib) install
1514endef
1515define touch_zlib
1516        touch $(zlib)/timestamp
1517endef
1518
1519$(zlib)/timestamp:
1520        + $(clean_zlib)
1521        + $(fetch_zlib)
1522        + $(configure_zlib)
1523        + $(build_zlib)
1524        + $(install_zlib)
1525        + $(touch_zlib)
Note: See TracBrowser for help on using the repository browser.