source: branches/r9/Makefile.in @ 4909

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