Ignore:
Timestamp:
Dec 13, 2014 2:03:06 PM (7 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/r9/Makefile.in

    r4867 r4869  
    6767        blt builder cmake examples expat expect gui htmlwidget itcl \
    6868        itk lang lib optimizer shape sqlitetcl tcl tcllib \
    69         tdom tester tk tkimg tls video vtk zlib  packages
     69        tdom tester tk tkimg tls video vtk zlib  packages objects runner
    7070
    7171.PHONY: $(targets)
     
    7575all: gui lang all_packages
    7676
    77 all_packages: runner tester builder packages video optimizer
     77all_packages: runner tester objects builder packages video optimizer
     78
     79update:
     80        for i in $(srcdir)/runtime/*; do \
     81           (cd $$i; svn update; svn status) \
     82        done
    7883
    7984# Aliases for package directory names.
     
    111116video = video
    112117runner = runner
     118objects = objects
    113119
    114120subdirs = \
     
    230236endef
    231237
    232 $(builder)/timestamp: $(gui)/timestamp
     238$(builder)/timestamp: $(lib)/timestamp $(itcl)/timestamp $(gui)/timestamp
    233239        + $(clean_builder)
    234240        + $(fetch_builder)
     
    833839
    834840# -------------------------------------------------------------------------
     841#  OBJECTS
     842# -------------------------------------------------------------------------
     843
     844objects_flags = \
     845        --enable-shared \
     846        $(common_flags)
     847
     848objects: $(objects)/timestamp
     849
     850clean-objects:
     851        $(clean_objects)
     852fetch-objects:
     853        $(fetch_objects)
     854configure-objects:
     855        $(configure_objects)
     856build-objects:
     857        $(build_objects)
     858install-objects:
     859        $(install_objects)
     860touch-objects:
     861        $(touch_objects)
     862force-objects:
     863        + $(clean_objects)
     864        + $(fetch_objects)
     865        + $(configure_objects)
     866        + $(build_objects)
     867        + $(install_objects)
     868        + $(touch_objects)
     869
     870define clean_objects
     871        $(MAKE) -C $(objects) clean
     872endef
     873define fetch_objects
     874endef
     875define configure_objects
     876endef
     877define build_objects
     878        $(MAKE) -C $(objects) all
     879endef
     880define install_objects
     881        $(MAKE) -C $(objects) install
     882endef
     883define touch_objects
     884        touch $(objects)/timestamp
     885endef
     886
     887$(objects)/timestamp: $(lib)/timestamp $(itcl)/timestamp
     888        + $(clean_objects)
     889        + $(fetch_objects)
     890        + $(configure_objects)
     891        + $(build_objects)
     892        + $(install_objects)
     893        + $(touch_objects)
     894
     895
     896
     897# -------------------------------------------------------------------------
    835898#  OPTIMIZER
    836899# -------------------------------------------------------------------------
     
    883946endef
    884947
    885 $(optimizer)/timestamp: #$(gui)/timestamp
     948$(optimizer)/timestamp: $(gui)/timestamp
    886949        + $(clean_optimizer)
    887950        + $(fetch_optimizer)
     
    890953        + $(install_optimizer)
    891954        + $(touch_optimizer)
     955
     956# -------------------------------------------------------------------------
     957#  RUNNER
     958# -------------------------------------------------------------------------
     959
     960runner_flags =  \
     961        --enable-shared \
     962        $(common_flags)
     963
     964runner: $(runner)/timestamp
     965
     966clean-runner:
     967        $(clean_runner)
     968fetch-runner:
     969        $(fetch_runner)
     970configure-runner:
     971        $(configure_runner)
     972build-runner:
     973        $(build_runner)
     974install-runner:
     975        $(install_runner)
     976touch-runner:
     977        $(touch_runner)
     978force-runner:
     979        + $(clean_runner)
     980        + $(fetch_runner)
     981        + $(configure_runner)
     982        + $(build_runner)
     983        + $(install_runner)
     984        + $(touch_runner)
     985
     986define clean_runner
     987        $(MAKE) -C $(runner) clean
     988endef
     989define fetch_runner
     990endef
     991define configure_runner
     992endef
     993define build_runner
     994        $(MAKE) -C $(runner) all
     995endef
     996define install_runner
     997        $(MAKE) -C $(runner) install
     998endef
     999define touch_runner
     1000        touch $(runner)/timestamp
     1001endef
     1002
     1003$(runner)/timestamp: $(lib)/timestamp $(itcl)/timestamp $(gui)/timestamp
     1004        + $(clean_runner)
     1005        + $(fetch_runner)
     1006        + $(configure_runner)
     1007        + $(build_runner)
     1008        + $(install_runner)
     1009        + $(touch_runner)
     1010
    8921011
    8931012# -------------------------------------------------------------------------
     
    14721591endef
    14731592
    1474 $(video)/timestamp: #$(gui)/timestamp
     1593$(video)/timestamp: $(gui)/timestamp
    14751594        + $(clean_video)
    14761595        + $(fetch_video)
     
    15981717        + $(install_zlib)
    15991718        + $(touch_zlib)
     1719
Note: See TracChangeset for help on using the changeset viewer.