Changeset 3471


Ignore:
Timestamp:
Mar 8, 2013, 4:07:32 PM (7 years ago)
Author:
ldelgass
Message:

Makefile fixes: make 'install' target always depend on 'all' target. This
ensures that an up to date build exists before installing, and also permits
the use of "make install" in place of "make all install" or "make all; make install". It doesn't affect the existing build scripts. Likewise, make 'distclean'
always depend on 'clean'. Remove empty contour objects example, as there is no
corresponding object class. Also declare all the standard targets 'all, install,
etc' in the .PHONY section for performance.

Location:
trunk
Files:
1 deleted
85 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.in

    r3003 r3471  
    4141endif
    4242
    43 .PHONY: $(TARGETS)
     43.PHONY: all test install clean distclean package distrib runtime-distrib $(TARGETS)
    4444
    4545all: $(TARGETS)
  • trunk/builder/Makefile.in

    r2081 r3471  
    2929destdir         = $(libdir)/$(name)
    3030
     31.PHONY: all install install-pkg install-scripts clean distclean
     32
    3133all:
    3234        $(MAKE) -C scripts all
     
    4648
    4749distclean: clean
    48         $(RM) Makefile *~
     50        $(RM) Makefile pkgIndex.tcl *~
  • trunk/builder/scripts/Makefile.in

    r2779 r3471  
    4545destdir         = $(libdir)/$(name)/scripts
    4646
     47.PHONY: all install install_scripts install_templates install_images clean distclean
     48
    4749all: tclIndex
    4850
     
    5153                --outfile tclIndex
    5254
    53 install: install_scripts install_templates install_images
     55install: all install_scripts install_templates install_images
    5456
    5557install_scripts:
  • trunk/configure.in

    r3416 r3471  
    525525    examples/objects/Makefile
    526526    examples/objects/axis/Makefile
    527     examples/objects/contour/Makefile
    528527    examples/objects/curve/Makefile
    529528    examples/objects/dxWriter/Makefile
  • trunk/examples/3D/Makefile.in

    r1944 r3471  
    2222destdir         = $(prefix)/examples/3D
    2323
     24.PHONY: all install clean distclean
     25
    2426all:
    2527
    26 install:
     28install: all
    2729        $(MKDIR_P) -m 0755 $(destdir)
    2830        for i in $(FILES) ; do \
     
    3234clean:
    3335
    34 distclean:
     36distclean: clean
    3537        $(RM) Makefile *~
  • trunk/examples/Makefile.in

    r2175 r3471  
    2929                zoo
    3030
     31.PHONY: all install clean distclean $(SUBDIRS)
    3132
    32 .PHONY:         $(SUBDIRS)
    33 
    34 all:  build
    35 
    36 build:
     33all:
    3734        for i in $(SUBDIRS) ; do \
    3835            $(MAKE) -C $$i all || exit 1 ; \
    3936        done
    4037
    41 install: 
     38install:
    4239        $(MKDIR_P) -m 0755 $(destdir)
    4340        for i in $(FILES) ; do \
     
    5855        done
    5956        $(RM) Makefile *~
    60 
  • trunk/examples/app-fermi/Makefile.in

    r2709 r3471  
    2828R =          @R@
    2929
    30 .PHONY: tcl cee fortran octave matlab perl python ruby java 2.0 wrapper
     30.PHONY: all install clean distclean tcl cee fortran octave matlab perl python ruby java 2.0 wrapper
    3131
    3232LANGS = cee tcl wrapper 2.0
     
    7373distclean:
    7474        for i in $(LANGS) ; do \
    75            $(MAKE) -c $$i distclean || exit 1 ; \
     75           $(MAKE) -C $$i distclean || exit 1 ; \
    7676        done
    7777        $(RM) Makefile
  • trunk/examples/c-example/Makefile.in

    r2071 r3471  
    4848                plotc \
    4949
     50.PHONY: all install clean distclean
     51
    5052all: $(PROGS)
    5153
     
    5961        $(CC) $(CC_SWITCHES) -o $@ $< $(LIBS)
    6062
    61 install:
     63install: all
    6264        $(MKDIR_P) -m 0755 $(destdir)
    6365        for i in $(FILES) ; do \
  • trunk/examples/canvas/Makefile.in

    r1944 r3471  
    2222destdir         = $(prefix)/examples/canvas
    2323
     24.PHONY: all install clean distclean
     25
    2426all:
    2527
    26 install:
     28install: all
    2729        $(MKDIR_P) -m 0755 $(destdir)
    2830        for i in $(FILES) ; do \
     
    3234clean:
    3335
    34 distclean:
     36distclean: clean
    3537        $(RM) Makefile *~
  • trunk/examples/demo.bash.in

    r3075 r3471  
    2828        ./zoo/loader
    2929        ./zoo/log
     30        ./zoo/mesh
    3031        ./zoo/note
    3132        ./zoo/number
  • trunk/examples/flow/Makefile.in

    r2175 r3471  
    2626                demo3
    2727
     28.PHONY: all install clean distclean
     29
    2830all:
    2931        for i in $(examples) ; do \
     
    3133        done
    3234
    33 install:
     35install: all
    3436        $(MKDIR_P) -m 0755 $(destdir)
    3537        for i in $(FILES) ; do \
     
    4244clean:
    4345
    44 distclean:
     46distclean: clean
    4547        $(RM) Makefile *~
  • trunk/examples/graph/Makefile.in

    r1944 r3471  
    2121destdir         = $(prefix)/examples/graph
    2222
     23.PHONY: all install clean distclean
     24
    2325all:
    2426
    25 install:
     27install: all
    2628        $(MKDIR_P) -m 0755 $(destdir)
    2729        for i in $(FILES) ; do \
     
    3133clean:
    3234
    33 distclean:
     35distclean: clean
    3436        $(RM) Makefile *~
  • trunk/examples/lang/tcl/loadercopy/Makefile.in

    r1944 r3471  
    2121destdir         = $(prefix)/examples/lang/tcl/loadercopy
    2222
     23.PHONY: all install clean distclean
     24
    2325all:
    2426        $(MAKE) -C examples  all
  • trunk/examples/lang/tcl/loadercopy/docs/Makefile.in

    r1944 r3471  
    2222destdir     = $(prefix)/examples/lang/tcl/loadercopy/docs
    2323
     24.PHONY: all install clean distclean
     25
    2426all:
    2527
    26 install:
     28install: all
    2729        $(MKDIR_P) -m 0755 $(destdir)
    2830        for i in $(FILES) ; do \
     
    3234clean:
    3335
    34 distclean:
     36distclean: clean
    3537        $(RM) Makefile *~
  • trunk/examples/lang/tcl/loadercopy/examples/Makefile.in

    r1944 r3471  
    2121destdir     = $(prefix)/examples/lang/tcl/loadercopy/examples
    2222
     23.PHONY: all install clean distclean
     24
    2325all:
    2426
    25 install:
     27install: all
    2628        $(MKDIR_P) -m 0755 $(destdir)
    2729        for i in $(FILES) ; do \
     
    3133clean:
    3234
    33 distclean:
     35distclean: clean
    3436        $(RM) Makefile *~
  • trunk/examples/objects/Makefile.in

    r1566 r3471  
    1515RM              = rm -f
    1616
    17 #               dxReader \
    1817#               dxWriter \
    1918
     
    3231
    3332destdir    = $(prefix)/examples/objects
     33
     34.PHONY: all install clean distclean
    3435
    3536all:
  • trunk/examples/objects/axis/Makefile.in

    r2071 r3471  
    4242                axis
    4343
     44.PHONY: all install clean distclean
     45
    4446all: $(PROGS)
    4547
     
    4749        $(CXX) $(CXX_SWITCHES) -o $@ $< $(LIBS)
    4850
    49 install:
     51install: all
    5052        $(MKDIR_P) -m 0755 $(destdir)
    5153        for i in $(FILES) ; do \
  • trunk/examples/objects/curve/Makefile.in

    r2071 r3471  
    4242                curve
    4343
     44.PHONY: all install clean distclean
     45
    4446all: $(PROGS)
    4547
     
    4749        $(CXX) $(CXX_SWITCHES) -o $@ $< $(LIBS)
    4850
    49 install:
     51install: all
    5052        $(MKDIR_P) -m 0755 $(destdir)
    5153        for i in $(FILES) ; do \
  • trunk/examples/objects/dxWriter/Makefile.in

    r2071 r3471  
    3838                dxwrite
    3939
     40.PHONY: all install clean distclean
     41
    4042all: $(PROGS)
    4143
     
    4345        $(CXX) $(CXX_SWITCHES) -o $@ $< $(LIBS)
    4446
    45 install:
     47install: all
    4648        $(MKDIR_P) -m 0755 $(destdir)
    4749        for i in $(FILES) ; do \
  • trunk/examples/objects/floatBuffer/Makefile.in

    r2071 r3471  
    3737                floatbuffer \
    3838
     39.PHONY: all install clean distclean
     40
    3941all: $(PROGS)
    4042
     
    4345        $(CXX) $(CXX_SWITCHES) -o $@ $< $(LIBS)
    4446
    45 install:
     47install: all
    4648        $(MKDIR_P) -m 0755 $(destdir)
    4749        for i in $(FILES) ; do \
  • trunk/examples/objects/histogram/Makefile.in

    r2071 r3471  
    4242                histogram
    4343
     44.PHONY: all install clean distclean
     45
    4446all: $(PROGS)
    4547
     
    4749        $(CXX) $(CXX_SWITCHES) -o $@ $< $(LIBS)
    4850
    49 install:
     51install: all
    5052        $(MKDIR_P) -m 0755 $(destdir)
    5153        for i in $(FILES) ; do \
  • trunk/examples/objects/library/Makefile.in

    r2071 r3471  
    4848                library
    4949
     50.PHONY: all install clean distclean
     51
    5052all: $(PROGS)
    5153
     
    5355        $(CXX) $(CXX_SWITCHES) -o $@ $< $(LIBS)
    5456
    55 install:
     57install: all
    5658        $(MKDIR_P) -m 0755 $(destdir)
    5759        for i in $(FILES) ; do \
  • trunk/examples/objects/number/Makefile.in

    r2071 r3471  
    4242                number
    4343
     44.PHONY: all install clean distclean
     45
    4446all: $(PROGS)
    4547
     
    4749        $(CXX) $(CXX_SWITCHES) -o $@ $< $(LIBS)
    4850
    49 install:
     51install: all
    5052        $(MKDIR_P) -m 0755 $(destdir)
    5153        for i in $(FILES) ; do \
  • trunk/examples/objects/path/Makefile.in

    r2071 r3471  
    4242                path
    4343
     44.PHONY: all install clean distclean
     45
    4446all: $(PROGS)
    4547
     
    4749        $(CXX) $(CXX_SWITCHES) -o $@ $< $(LIBS)
    4850
    49 install:
     51install: all
    5052        $(MKDIR_P) -m 0755 $(destdir)
    5153        for i in $(FILES) ; do \
  • trunk/examples/objects/plot/Makefile.in

    r2071 r3471  
    4242                plot
    4343
     44.PHONY: all install clean distclean
     45
    4446all: $(PROGS)
    4547
     
    4749        $(CXX) $(CXX_SWITCHES) -o $@ $< $(LIBS)
    4850
    49 install:
     51install: all
    5052        $(MKDIR_P) -m 0755 $(destdir)
    5153        for i in $(FILES) ; do \
  • trunk/examples/objects/scatter/Makefile.in

    r2071 r3471  
    4242                scatter
    4343
     44.PHONY: all install clean distclean
     45
    4446all: $(PROGS)
    4547
     
    4749        $(CXX) $(CXX_SWITCHES) -o $@ $< $(LIBS)
    4850
    49 install:
     51install: all
    5052        $(MKDIR_P) -m 0755 $(destdir)
    5153        for i in $(FILES) ; do \
  • trunk/examples/objects/string/Makefile.in

    r2071 r3471  
    4242                string
    4343
     44.PHONY: all install clean distclean
     45
    4446all: $(PROGS)
    4547
     
    4749        $(CXX) $(CXX_SWITCHES) -o $@ $< $(LIBS)
    4850
    49 install:
     51install: all
    5052        $(MKDIR_P) -m 0755 $(destdir)
    5153        for i in $(FILES) ; do \
  • trunk/examples/objects/tree/Makefile.in

    r2071 r3471  
    4242                tree
    4343
     44.PHONY: all install clean distclean
     45
    4446all: $(PROGS)
    4547
     
    4749        $(CC) $(CC_SWITCHES) -o $@ $< $(LIBS)
    4850
    49 install:
     51install: all
    5052        $(MKDIR_P) -m 0755 $(destdir)
    5153        for i in $(FILES) ; do \
  • trunk/examples/objects/xmlparser/Makefile.in

    r2071 r3471  
    4949                xmlparser
    5050
     51.PHONY: all install clean distclean
     52
    5153all: $(PROGS)
    5254
     
    5456        $(CXX) $(CXX_SWITCHES) -o $@ $< $(LIBS)
    5557
    56 install:
     58install: all
    5759        $(MKDIR_P) -m 0755 $(destdir)
    5860        for i in $(FILES) ; do \
  • trunk/examples/showdata/Makefile

    r2529 r3471  
    77FC_SWITCHES     = $(FCFLAGS) $(FCDEBUGFLAGS) $(INCLUDES)
    88
     9.PHONY: all install clean distclean
     10
    911all: showdata
    1012
     
    1214        $(FC) $(FC_SWITCHES) $< -o $@ $(LIBS)
    1315
    14 install: showdata
     16install: all
    1517
    1618clean:
  • trunk/examples/zoo/Makefile.in

    r3416 r3471  
    4545destdir         = $(prefix)/examples/zoo
    4646
     47.PHONY: all install clean distclean
     48
    4749all:
    4850        for i in $(examples) ; do \
  • trunk/examples/zoo/binary/Makefile.in

    r1944 r3471  
    2121destdir         = $(prefix)/examples/zoo/binary
    2222
     23.PHONY: all install clean distclean
     24
    2325all:
    2426
    25 install:
     27install: all
    2628        $(MKDIR_P) -m 0755 $(destdir)
    2729        for i in $(FILES) ; do \
     
    3133clean:
    3234
    33 distclean:
     35distclean: clean
    3436        $(RM) Makefile *~
  • trunk/examples/zoo/boolean/Makefile.in

    r1944 r3471  
    2222destdir         = $(prefix)/examples/zoo/boolean
    2323
     24.PHONY: all install clean distclean
     25
    2426all:
    2527
    26 install:
     28install: all
    2729        $(MKDIR_P) -m 0755 $(destdir)
    2830        for i in $(FILES) ; do \
     
    3234clean:
    3335
    34 distclean:
     36distclean: clean
    3537        $(RM) Makefile *~
  • trunk/examples/zoo/choice/Makefile.in

    r1944 r3471  
    2222destdir         = $(prefix)/examples/zoo/choice
    2323
     24.PHONY: all install clean distclean
     25
    2426all:
    2527
    26 install:
     28install: all
    2729        $(MKDIR_P) -m 0755 $(destdir)
    2830        for i in $(FILES) ; do \
     
    3234clean:
    3335
    34 distclean:
     36distclean: clean
    3537        $(RM) Makefile *~
  • trunk/examples/zoo/cloud/Makefile.in

    r1944 r3471  
    2323destdir         = $(prefix)/examples/zoo/cloud
    2424
     25.PHONY: all install clean distclean
     26
    2527all:
    2628        $(MAKE) -C matlab all
  • trunk/examples/zoo/cloud/matlab/Makefile.in

    r1944 r3471  
    2121destdir         = $(prefix)/examples/zoo/cloud/matlab
    2222
     23.PHONY: all install clean distclean
     24
    2325all:
    2426
    25 install:
     27install: all
    2628        $(MKDIR_P) -m 0755 $(destdir)
    2729        for i in $(FILES) ; do \
     
    3133clean:
    3234
    33 distclean:
     35distclean: clean
    3436        $(RM) Makefile *~
  • trunk/examples/zoo/curve/Makefile.in

    r1944 r3471  
    2323destdir         = $(prefix)/examples/zoo/curve
    2424
     25.PHONY: all install clean distclean
     26
    2527all:
    2628
    27 install:
     29install: all
    2830        $(MKDIR_P) -m 0755 $(destdir)
    2931        for i in $(FILES) ; do \
     
    3335clean:
    3436
    35 distclean:
     37distclean: clean
    3638        $(RM) Makefile *~
  • trunk/examples/zoo/drawing/Makefile.in

    r3050 r3471  
    2121destdir         = $(prefix)/examples/zoo/drawing
    2222
     23.PHONY: all install install-files install-images clean distclean
     24
    2325all:
    2426
    25 install: install-files install-images
     27install: all install-files install-images
    2628
    2729install-files:
     
    3941clean:
    4042
    41 distclean:
     43distclean: clean
    4244        $(RM) Makefile *~
  • trunk/examples/zoo/enable/Makefile.in

    r2784 r3471  
    2222destdir         = $(prefix)/examples/zoo/enable
    2323
     24.PHONY: all install clean distclean
     25
    2426all:
    2527
    26 install:
     28install: all
    2729        $(MKDIR_P) -m 0755 $(destdir)
    2830        for i in $(FILES) ; do \
     
    3234clean:
    3335
    34 distclean:
     36distclean: clean
    3537        $(RM) Makefile *~
  • trunk/examples/zoo/field/Makefile.in

    r1944 r3471  
    2323destdir         = $(prefix)/examples/zoo/field
    2424
     25.PHONY: all install clean distclean
     26
    2527all:
    2628
    27 install:
     29install: all
    2830        $(MKDIR_P) -m 0755 $(destdir)
    2931        for i in $(FILES) ; do \
     
    3335clean:
    3436
    35 distclean:
     37distclean: clean
    3638        $(RM) Makefile *~
  • trunk/examples/zoo/group/Makefile.in

    r1944 r3471  
    2323destdir         = $(prefix)/examples/zoo/group
    2424
     25.PHONY: all install clean distclean
     26
    2527all:
    2628
    27 install:
     29install: all
    2830        $(MKDIR_P) -m 0755 $(destdir)
    2931        for i in $(FILES) ; do \
     
    3335clean:
    3436
    35 distclean:
     37distclean: clean
    3638        $(RM) Makefile *~
  • trunk/examples/zoo/histogram/Makefile.in

    r2324 r3471  
    2323destdir         = $(prefix)/examples/zoo/histogram
    2424
     25.PHONY: all install clean distclean
     26
    2527all:
    2628
    27 install:
     29install: all
    2830        $(MKDIR_P) -m 0755 $(destdir)
    2931        for i in $(FILES) ; do \
     
    3335clean:
    3436
    35 distclean:
     37distclean: clean
    3638        $(RM) Makefile *~
  • trunk/examples/zoo/image/Makefile.in

    r1944 r3471  
    2323destdir         = $(prefix)/examples/zoo/image
    2424
     25.PHONY: all install clean distclean
     26
    2527all:
    2628        $(MAKE) -C examples all
  • trunk/examples/zoo/image/docs/Makefile.in

    r1944 r3471  
    2121destdir         = $(prefix)/examples/zoo/image/docs
    2222
     23.PHONY: all install clean distclean
     24
    2325all:
    2426
    25 install:
     27install: all
    2628        $(MKDIR_P) -m 0755 $(destdir)
    2729        for i in $(FILES) ; do \
     
    3133clean:
    3234
    33 distclean:
     35distclean: clean
    3436        $(RM) Makefile *~
  • trunk/examples/zoo/image/examples/Makefile.in

    r1944 r3471  
    2121destdir         = $(prefix)/examples/zoo/image/examples
    2222
     23.PHONY: all install clean distclean
     24
    2325all:
    2426
    25 install:
     27install: all
    2628        $(MKDIR_P) -m 0755 $(destdir)
    2729        for i in $(FILES) ; do \
     
    3133clean:
    3234
    33 distclean:
     35distclean: clean
    3436        $(RM) Makefile *~
  • trunk/examples/zoo/integer/Makefile.in

    r1944 r3471  
    2222destdir         = $(prefix)/examples/zoo/integer
    2323
     24.PHONY: all install clean distclean
     25
    2426all:
    2527
    26 install:
     28install: all
    2729        $(MKDIR_P) -m 0755 $(destdir)
    2830        for i in $(FILES) ; do \
     
    3234clean:
    3335
    34 distclean:
     36distclean: clean
    3537        $(RM) Makefile *~
  • trunk/examples/zoo/integer2/Makefile.in

    r1944 r3471  
    2121destdir         = $(prefix)/examples/zoo/integer2
    2222
     23.PHONY: all install clean distclean
     24
    2325all:
    2426
    25 install:
     27install: all
    2628        $(MKDIR_P) -m 0755 $(destdir)
    2729        for i in $(FILES) ; do \
     
    3133clean:
    3234
    33 distclean:
     35distclean: clean
    3436        $(RM) Makefile *~
  • trunk/examples/zoo/loader/Makefile.in

    r1944 r3471  
    2424destdir         = $(prefix)/examples/zoo/loader
    2525
     26.PHONY: all install clean distclean
     27
    2628all:
    2729        $(MAKE) -C examples  all
  • trunk/examples/zoo/loader/examples/Makefile.in

    r1944 r3471  
    2323destdir         = $(prefix)/examples/zoo/loader/examples
    2424
     25.PHONY: all install clean distclean
     26
    2527all:
    2628
    27 install:
     29install: all
    2830        $(MKDIR_P) -m 0755 $(destdir)
    2931        for i in $(FILES) ; do \
     
    3335clean:
    3436
    35 distclean:
     37distclean: clean
    3638        $(RM) Makefile *~
  • trunk/examples/zoo/log/Makefile.in

    r1944 r3471  
    2222destdir         = $(prefix)/examples/zoo/log
    2323
     24.PHONY: all install clean distclean
     25
    2426all:
    2527
    26 install:
     28install: all
    2729        $(MKDIR_P) -m 0755 $(destdir)
    2830        for i in $(FILES) ; do \
     
    3234clean:
    3335
    34 distclean:
     36distclean: clean
    3537        $(RM) Makefile *~
  • trunk/examples/zoo/mesh/Makefile.in

    r3416 r3471  
    2525destdir         = $(prefix)/examples/zoo/mesh
    2626
     27.PHONY: all install clean distclean
     28
    2729all:
    2830
    29 install:
     31install: all
    3032        $(MKDIR_P) -m 0755 $(destdir)
    3133        for i in $(FILES) ; do \
     
    3537clean:
    3638
    37 distclean:
     39distclean: clean
    3840        $(RM) Makefile *~
  • trunk/examples/zoo/note/Makefile.in

    r1944 r3471  
    2121destdir         = $(prefix)/examples/zoo/note
    2222
     23.PHONY: all install clean distclean
     24
    2325all:
    2426        $(MAKE) -C docs all
  • trunk/examples/zoo/note/docs/Makefile.in

    r1944 r3471  
    2121destdir         = $(prefix)/examples/zoo/note/docs
    2222
     23.PHONY: all install clean distclean
     24
    2325all:
    2426
    25 install:
     27install: all
    2628        $(MKDIR_P) -m 0755 $(destdir)
    2729        for i in $(FILES) ; do \
     
    3133clean:
    3234
    33 distclean:
     35distclean: clean
    3436        $(RM) Makefile *~
  • trunk/examples/zoo/number/Makefile.in

    r1944 r3471  
    2323destdir         = $(prefix)/examples/zoo/number
    2424
     25.PHONY: all install clean distclean
     26
    2527all:
    2628
    27 install:
     29install: all
    2830        $(MKDIR_P) -m 0755 $(destdir)
    2931        for i in $(FILES) ; do \
     
    3335clean:
    3436
    35 distclean:
     37distclean: clean
    3638        $(RM) Makefile *~
  • trunk/examples/zoo/number2/Makefile.in

    r1944 r3471  
    2121destdir         = $(prefix)/examples/zoo/number2
    2222
     23.PHONY: all install clean distclean
     24
    2325all:
    2426
    25 install:
     27install: all
    2628        $(MKDIR_P) -m 0755 $(destdir)
    2729        for i in $(FILES) ; do \
     
    3133clean:
    3234
    33 distclean:
     35distclean: clean
    3436        $(RM) Makefile *~
  • trunk/examples/zoo/parallelepiped/Makefile.in

    r2180 r3471  
    2121destdir         = $(prefix)/examples/zoo/parallelepiped
    2222
     23.PHONY: all install clean distclean
     24
    2325all:
    2426
    25 install:
     27install: all
    2628        $(MKDIR_P) -m 0755 $(destdir)
    2729        for i in $(FILES) ; do \
     
    3133clean:
    3234
    33 distclean:
     35distclean: clean
    3436        $(RM) Makefile *~
  • trunk/examples/zoo/periodicelement/Makefile.in

    r1944 r3471  
    2121destdir         = $(prefix)/examples/zoo/periodicelement
    2222
     23.PHONY: all install clean distclean
     24
    2325all:
    2426
    25 install:
     27install: all
    2628        $(MKDIR_P) -m 0755 $(destdir)
    2729        for i in $(FILES) ; do \
     
    3133clean:
    3234
    33 distclean:
     35distclean: clean
    3436        $(RM) Makefile *~
  • trunk/examples/zoo/phase/Makefile.in

    r1944 r3471  
    2424destdir         = $(prefix)/examples/zoo/phase
    2525
     26.PHONY: all install clean distclean
     27
    2628all:
    2729
    28 install:
     30install: all
    2931        $(MKDIR_P) -m 0755 $(destdir)
    3032        for i in $(FILES) ; do \
     
    3436clean:
    3537
    36 distclean:
     38distclean: clean
    3739        $(RM) Makefile *~
  • trunk/examples/zoo/sequence/Makefile.in

    r1944 r3471  
    2323destdir         = $(prefix)/examples/zoo/sequence
    2424
     25.PHONY: all install clean distclean
     26
    2527all:
    2628        $(MAKE) -C examples all
  • trunk/examples/zoo/sequence/examples/Makefile.in

    r1944 r3471  
    2121destdir         = $(prefix)/examples/zoo/sequence/examples
    2222
     23.PHONY: all install clean distclean
     24
    2325all:
    2426
    25 install:
     27install: all
    2628        $(MKDIR_P) -m 0755 $(destdir)
    2729        for i in $(FILES) ; do \
     
    3133clean:
    3234
    33 distclean:
     35distclean: clean
    3436        $(RM) Makefile *~
  • trunk/examples/zoo/string/Makefile.in

    r1944 r3471  
    2323destdir         = $(prefix)/examples/zoo/string
    2424
     25.PHONY: all install clean distclean
     26
    2527all:
    2628
    27 install:
     29install: all
    2830        $(MKDIR_P) -m 0755 $(destdir)
    2931        for i in $(FILES) ; do \
     
    3335clean:
    3436
    35 distclean:
     37distclean: clean
    3638        $(RM) Makefile *~
  • trunk/examples/zoo/structure/Makefile.in

    r1944 r3471  
    2727destdir         = $(prefix)/examples/zoo/structure
    2828
     29.PHONY: all install clean distclean
     30
    2931all:
    3032        $(MAKE) -C examples all
  • trunk/examples/zoo/structure/examples/Makefile.in

    r1944 r3471  
    2525destdir         = $(prefix)/examples/zoo/structure/examples
    2626
     27.PHONY: all install clean distclean
     28
    2729all:
    2830
    29 install:
     31install: all
    3032        $(MKDIR_P) -m 0755 $(destdir)
    3133        for i in $(FILES) ; do \
     
    3537clean:
    3638
    37 distclean:
     39distclean: clean
    3840        $(RM) Makefile *~
  • trunk/examples/zoo/table/Makefile.in

    r1944 r3471  
    2222destdir         = $(prefix)/examples/zoo/table
    2323
     24.PHONY: all install clean distclean
     25
    2426all:
    2527
    26 install:
     28install: all
    2729        $(MKDIR_P) -m 0755 $(destdir)
    2830        for i in $(FILES) ; do \
     
    3234clean:
    3335
    34 distclean:
     36distclean: clean
    3537        $(RM) Makefile *~
  • trunk/examples/zoo/unirect2d/Makefile.in

    r1944 r3471  
    2222destdir         = $(prefix)/examples/zoo/unirect2d
    2323
     24.PHONY: all install clean distclean
     25
    2426all:
    2527
    26 install:
     28install: all
    2729        $(MKDIR_P) -m 0755 $(destdir)
    2830        for i in $(FILES) ; do \
     
    3234clean:
    3335
    34 distclean:
     36distclean: clean
    3537        $(RM) Makefile *~
  • trunk/gui/Makefile.in

    r2400 r3471  
    2626                pkgIndex.tcl
    2727
    28 .PHONY: src scripts apps
     28SUBDIRS         = src scripts apps
    2929
    30 SUBDIRS         = src scripts apps
     30.PHONY: all install test clean distclean $(SUBDIRS)
    3131
    3232all:
  • trunk/gui/apps/Makefile.in

    r2790 r3471  
    4747                $(srcdir)/rerun.cmd
    4848
     49.PHONY: all install clean distclean
     50
    4951all:
    5052
    51 install:
     53install: all
    5254        $(MKDIR_P) -m 0755 $(bindir)
    5355        @for i in $(SCRIPTS); do \
     
    5961
    6062distclean: clean
    61         $(RM) encodedata rappture.env rappture rappture.use rerun simsim xmldiff
     63        $(RM) about copy_rappture_examples encodedata rappture.env rappture-csh.env rappture rappture.use rerun simsim xmldiff
    6264        $(RM) Makefile *~
    6365
  • trunk/gui/scripts/Makefile.in

    r3330 r3471  
    151151                --outfile tclIndex
    152152
    153 install: install_scripts install_images
     153install: all install_scripts install_images
    154154
    155155install_scripts:
  • trunk/lang/Makefile.in

    r3282 r3471  
    5252endif
    5353
    54 .PHONY: tcl octave matlab perl python ruby java R
     54.PHONY: all install test clean distclean tcl octave matlab perl python ruby java R
    5555
    5656all:
  • trunk/lang/octave/Makefile.in

    r2180 r3471  
    2323endif
    2424
    25 .PHONY: octave2 octave3
     25.PHONY: all install test clean distclean octave2 octave3
    2626
    2727all:
  • trunk/lang/octave/octave2/Makefile.in

    r2018 r3471  
    6262                rpUnitsGetUnitsName.oct
    6363
     64.PHONY: all install clean distclean
     65
    6466all: $(OBJS)
    6567
     
    7274        $(OCT) $(OCT_FLAGS) -c $< -o $@
    7375
    74 install: $(OBJS)
     76install: all
    7577        $(MKDIR_P) -m 0755 $(destdir)
    7678        for i in $(OBJS) ; do \
  • trunk/lang/octave/octave3/Makefile.in

    r2018 r3471  
    6262                rpUnitsGetUnitsName.oct
    6363
     64.PHONY: all install clean distclean
     65
    6466all: $(OBJS)
    6567
     
    7274        $(OCT) $(OCT_FLAGS) -c $< -o $@
    7375
    74 install: $(OBJS)
     76install: all
    7577        $(MKDIR_P) -m 0755 $(destdir)
    7678        for i in $(OBJS) ; do \
  • trunk/lang/python/Makefile.in

    r3113 r3471  
    3131ARCHFLAGS       =
    3232export ARCHFLAGS
     33
     34.PHONY: all install clean distclean
     35
    3336#
    3437# Python distutils doesn't handle VPATH correctly. So copy the sources
     
    5154
    5255distclean: clean
     56        $(RM) Makefile setup.py *~
  • trunk/lang/ruby/Makefile.in

    r3277 r3471  
    6565        $(SHLIB_LD) $(SHLIB_LDFLAGS) -o $@ $(OBJS) \
    6666                $(LIB_SEARCH_DIRS) $(LIBS)
     67
     68.cc.o:
     69        $(CXX) $(CXX_SWITCHES) -c $?
     70
    6771install: $(lib)
    6872        $(MKDIR_P) -m 0755 $(destdir)
     
    7882        $(RUBY) build.rb
    7983
    80 .cc.o:
    81         $(CXX) $(CXX_SWITCHES) -c $?
    82 
    8384old: Makefile.ruby
    8485        $(MAKE) -f Makefile.ruby all
  • trunk/oldtest/Makefile.in

    r1018 r3471  
    2929
    3030
    31 .PHONY: src jobs
    32        
     31.PHONY: all clean distclean src jobs
     32
    3333all: src jobs
    3434
     
    3939
    4040clean:
    41        
     41
    4242distclean: clean
    4343        $(RM) Makefile
  • trunk/oldtest/src/Makefile.in

    r1022 r3471  
    8181FC_FLAGS        = $(CFLAGS) $(INCLUDES)
    8282
    83 .PHONY: src jobs
     83.PHONY: all clean distclean src jobs c_tests fortran_tests matlab_tests objs_tests octave_tests
    8484
    8585MATLAB_TESTS    = RpMatlab_test
  • trunk/packages/Makefile.in

    r1018 r3471  
    1515VPATH           = $(srcdir)
    1616
    17 .PHONY: optimizer
     17.PHONY: all install clean distclean optimizer
    1818
    1919all:
  • trunk/packages/optimizer/src/pgapack/Makefile.in

    r1052 r3471  
    1212PGAPACK         = @PGAPACK@
    1313
    14 .PHONY: pgapack
     14.PHONY: all install test clean distclean pgapack
    1515
    1616all: pgapack
  • trunk/packages/vizservers/Makefile.in

    r3391 r3471  
    3232endif
    3333
    34 .PHONY: $(SUBDIRS)
     34.PHONY: all install clean distclean $(SUBDIRS)
    3535
    3636FILES           = \
     
    5959          $(MAKE) -C $$i distclean ; \
    6060        done
    61         $(RM) -r Makefile config.cache config.log config.status start_viz.sh start_nanoscale.sh *~ autom4te.cache
     61        $(RM) -r autom4te.cache
     62        $(RM) Makefile config.cache config.log config.status start_viz.sh start_nanoscale.sh *~
  • trunk/packages/vizservers/vtkvis/Makefile.in

    r3436 r3471  
    198198        $(CXX) $(LIBS) -o $@ $(SERVER_OBJS)
    199199
    200 install: $(SERVER)
     200install: all
    201201        $(INSTALL_PROGRAM) $(SERVER) $(bindir)
    202202
  • trunk/src/core/Makefile.in

    r2061 r3471  
    196196
    197197distclean: clean
    198         $(RM) Makefile *~
     198        $(RM) Makefile config.h *~
  • trunk/src/objects/Makefile.in

    r2890 r3471  
    149149
    150150distclean: clean
    151         rm Makefile
     151        rm Makefile RpHash.h
  • trunk/tester/Makefile.in

    r2081 r3471  
    2929destdir         = $(libdir)/$(name)
    3030
     31.PHONY: all install install-pkg install-scripts clean distclean
     32
    3133all:
    3234        $(MAKE) -C scripts all
     
    4648
    4749distclean: clean
    48         $(RM) Makefile *~
     50        $(RM) Makefile pkgIndex.tcl *~
  • trunk/tester/scripts/Makefile.in

    r2687 r3471  
    4040                --outfile tclIndex
    4141
    42 install: install_scripts install_images
     42install: all install_scripts install_images
    4343
    4444install_scripts:
  • trunk/video/Makefile.in

    r2890 r3471  
    6666destdir     = $(libdir)/$(name)
    6767
     68.PHONY: all install clean distclean
     69
    6870all: $(lib)
    6971
     
    8688
    8789distclean: clean
    88         $(RM) Makefile *~
     90        $(RM) Makefile pkgIndex.tcl *~
    8991
Note: See TracChangeset for help on using the changeset viewer.