source: trunk/Makefile.in @ 4144

Last change on this file since 4144 was 4144, checked in by gah, 8 years ago

initial changes for new build system for rappture

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