source: branches/r9/Makefile.in @ 4915

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