source: branches/r9/Makefile.in @ 4916

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