source: branches/r9/Makefile.in @ 4913

Last change on this file since 4913 was 4912, checked in by gah, 10 years ago
File size: 33.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)
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
870endef
871define touch_lib
872        touch $(lib)/timestamp
873endef
874
875$(lib)/timestamp:
876        + $(clean_lib)
877        + $(fetch_lib)
878        + $(configure_lib)
879        + $(build_lib)
880        + $(install_lib)
881        + $(touch_lib)
882
883# -------------------------------------------------------------------------
884#  OPTIMIZER
885# -------------------------------------------------------------------------
886
887optimizer_flags =       \
888        --with-tclsh="$(bindir)/tclsh8.5" \
889        --enable-shared \
890        --disable-threads \
891        $(common_flags)
892
893optimizer: $(optimizer)/timestamp
894
895clean-optimizer:
896        $(clean_optimizer)
897fetch-optimizer:
898        $(fetch_optimizer)
899configure-optimizer:
900        $(configure_optimizer)
901build-optimizer:
902        $(build_optimizer)
903install-optimizer:
904        $(install_optimizer)
905touch-optimizer:
906        $(touch_optimizer)
907force-optimizer: $(gui)/timestamp
908        + $(clean_optimizer)
909        + $(fetch_optimizer)
910        + $(configure_optimizer)
911        + $(build_optimizer)
912        + $(install_optimizer)
913        + $(touch_optimizer)
914
915define clean_optimizer
916        $(RM) -r $(optimizer)
917endef
918define fetch_optimizer
919endef
920define configure_optimizer
921        $(MKDIR_P) $(optimizer)
922        cd $(optimizer); $(srcdir)/pkgs/$(optimizer)/configure $(optimizer_flags)
923endef
924define build_optimizer
925        $(MAKE) -C $(optimizer) all
926endef
927define install_optimizer
928        $(MAKE) -C $(optimizer) install
929endef
930define touch_optimizer
931        touch $(optimizer)/timestamp
932endef
933
934$(optimizer)/timestamp: $(gui)/timestamp
935        + $(clean_optimizer)
936        + $(fetch_optimizer)
937        + $(configure_optimizer)
938        + $(build_optimizer)
939        + $(install_optimizer)
940        + $(touch_optimizer)
941
942
943# -------------------------------------------------------------------------
944#  PACKAGES
945# -------------------------------------------------------------------------
946
947packages_flags =        \
948        --enable-shared \
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        $(RM) $(includedir)/vtk
1578        (cd $(includedir); $(LN_S) vtk-$(VTK_VERSION) vtk)
1579        $(RM) $(libdir)/tcltk/vtk
1580        (cd $(libdir)/tcltk; $(LN_S) vtk-$(VTK_VERSION) vtk)
1581endef
1582define touch_vtk
1583        touch $(vtk)/timestamp
1584endef
1585
1586$(vtk)/timestamp: $(cmake)/timestamp $(tcl)/timestamp $(tk)/timestamp
1587        + $(clean_vtk)
1588        + $(fetch_vtk)
1589        + $(configure_vtk)
1590        + $(build_vtk)
1591        + $(install_vtk)
1592        + $(touch_vtk)
1593
1594# -------------------------------------------------------------------------
1595#  ZLIB
1596# -------------------------------------------------------------------------
1597
1598zlib_flags =    \
1599        --enable-shared \
1600        $(common_flags)
1601
1602zlib: $(zlib)/timestamp
1603
1604clean-zlib:
1605        $(clean_zlib)
1606fetch-zlib:
1607        $(fetch_zlib)
1608configure-zlib:
1609        $(configure_zlib)
1610build-zlib:
1611        $(build_zlib)
1612install-zlib:
1613        $(install_zlib)
1614touch-zlib:
1615        $(touch_zlib)
1616force-zlib:
1617        + $(clean_zlib)
1618        + $(fetch_zlib)
1619        + $(configure_zlib)
1620        + $(build_zlib)
1621        + $(install_zlib)
1622        + $(touch_zlib)
1623
1624define clean_zlib
1625        $(RM) -r $(zlib)
1626endef
1627define fetch_zlib
1628        sh $(srcdir)/fetch.sh $(TAG) $(runtime) $(zlib)
1629endef
1630define configure_zlib
1631        $(MKDIR_P) $(zlib)
1632        cd $(zlib); $(runtime)/$(zlib)/configure $(zlib_flags)
1633endef
1634define build_zlib
1635        $(MAKE) -C $(zlib) all
1636endef
1637define install_zlib
1638        $(MAKE) -C $(zlib) install
1639endef
1640define touch_zlib
1641        touch $(zlib)/timestamp
1642endef
1643
1644$(zlib)/timestamp:
1645        + $(clean_zlib)
1646        + $(fetch_zlib)
1647        + $(configure_zlib)
1648        + $(build_zlib)
1649        + $(install_zlib)
1650        + $(touch_zlib)
1651
1652
1653TRASH = \
1654        ./bin/bltsh30 \
1655        ./bin/bltwish30 \
1656        ./bin/dtplite \
1657        ./bin/flowvis-test \
1658        ./bin/mapviewer-test \
1659        ./bin/nanovis-test \
1660        ./bin/nns \
1661        ./bin/nnsd \
1662        ./bin/nnslog \
1663        ./bin/page \
1664        ./bin/tcldocstrip \
1665        ./bin/vtkglyphs-test \
1666        ./bin/vtkheightmap-test \
1667        ./bin/vtkisosurface-test \
1668        ./bin/vtkstreamlines-test \
1669        ./bin/vtkviewer-test \
1670        ./bin/vtkvolume-test \
1671        ./lib/bltConfig.sh \
1672        ./lib/itclConfig.sh \
1673        ./lib/jpegtclConfig.sh \
1674        ./lib/libBltTcl30.so \
1675        ./lib/libBltTk30.so \
1676        ./lib/pngtclConfig.sh \
1677        ./lib/tdomConfig.sh \
1678        ./lib/tifftclConfig.sh \
1679        ./lib/tkConfig.sh \
1680        ./lib/tkimgConfig.sh \
1681        ./lib/zlibtclConfig.sh \
1682        ./man \
1683        ./share
1684
1685installdir =    rappture_install
1686tmpdir =        /tmp/$(installdir)
1687arch =          $(shell uname -m)
1688package:
1689        $(RM) -r $(tmpdir)
1690        $(MKDIR_P) $(tmpdir)
1691        tar -C $(DESTDIR)$(exec_prefix) -clf - . | tar -C $(tmpdir) -xpf -
1692        for i in $(TRASH); do \
1693           $(RM) -r $(tmpdir)/$$i ; \
1694        done
1695        $(bindir)/bltsh30 fixrunpaths.tcl $(tmpdir)
1696        tar -C /tmp -zclf rappture$(version)-linux-$(arch).tar.gz $(installdir)
1697        $(RM) -r $(tmpdir)
1698
Note: See TracBrowser for help on using the repository browser.