Ignore:
Timestamp:
Oct 7, 2015, 11:54:16 AM (9 years ago)
Author:
gah
Message:

rename lib directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/r9/Makefile.in

    r4916 r5899  
    7878targets = \
    7979        apps blt cmake examples expat expect gui htmlwidget itcl \
    80         itk lang lib optimizer shape sqlitetcl tcl tcllib \
     80        itk lang libs optimizer shape sqlitetcl tcl tcllib \
    8181        tdom tk tkimg tls video vtk zlib  packages \
    8282
     
    108108jpeg = jpeg-8d
    109109libpng = libpng-1.6.15
    110 lib = lib
     110libs = libs
    111111openssl = openssl-1.0.1j
    112112optimizer = optimizer
     
    130130subdirs = \
    131131        $(blt) $(cmake) $(expat) $(expect) \
    132         $(gui) $(htmlwidget) $(itcl) $(itk) $(lang) $(lib)  \
     132        $(gui) $(htmlwidget) $(itcl) $(itk) $(lang) $(libs)  \
    133133        $(optimizer) $(shape) \
    134134        $(sqlitetcl) $(tcl) $(tcllib) $(tdom) $(tk) $(tkimg) \
     
    150150        $(clean_itk)
    151151        $(clean_lang)
    152         $(clean_lib)
     152        $(clean_libs)
    153153        $(clean_optimizer)
    154154        $(clean_shape)
     
    531531touch-gui:
    532532        $(touch_gui)
    533 force-gui: $(lib)/timestamp \
     533force-gui: $(libs)/timestamp \
    534534                  $(blt)/timestamp \
    535535                  $(itk)/timestamp \
     
    564564endef
    565565
    566 $(gui)/timestamp: $(lib)/timestamp \
     566$(gui)/timestamp: $(libs)/timestamp \
    567567                  $(blt)/timestamp \
    568568                  $(itk)/timestamp \
     
    815815endef
    816816
    817 $(lang)/timestamp: $(lib)/timestamp  $(tcl)/timestamp $(itcl)/timestamp
     817$(lang)/timestamp: $(libs)/timestamp  $(tcl)/timestamp $(itcl)/timestamp
    818818        + $(clean_lang)
    819819        + $(fetch_lang)
     
    828828# -------------------------------------------------------------------------
    829829
    830 lib_flags =     \
    831         --enable-shared \
    832         $(common_flags)
    833 
    834 lib: $(lib)/timestamp
    835 
    836 clean-lib:
    837         $(clean_lib)
    838 fetch-lib:
    839         $(fetch_lib)
    840 configure-lib:
    841         $(configure_lib)
    842 build-lib:
    843         $(build_lib)
    844 install-lib:
    845         $(install_lib)
    846 touch-lib:
    847         $(touch_lib)
    848 force-lib:
    849         + $(clean_lib)
    850         + $(fetch_lib)
    851         + $(configure_lib)
    852         + $(build_lib)
    853         + $(install_lib)
    854         + $(touch_lib)
    855 
    856 define clean_lib
    857         $(MAKE) -C $(lib) clean
    858         $(RM) $(lib)/timestamp
    859 endef
    860 define fetch_lib
    861 endef
    862 define configure_lib
    863 endef
    864 define build_lib
    865         $(MAKE) -C $(lib) all
    866 endef
    867 define install_lib
    868         $(MAKE) -C $(lib) install
     830libs_flags =    \
     831        --enable-shared \
     832        $(common_flags)
     833
     834libs: $(libs)/timestamp
     835
     836clean-libs:
     837        $(clean_libs)
     838fetch-libs:
     839        $(fetch_libs)
     840configure-libs:
     841        $(configure_libs)
     842build-libs:
     843        $(build_libs)
     844install-libs:
     845        $(install_libs)
     846touch-libs:
     847        $(touch_libs)
     848force-libs:
     849        + $(clean_libs)
     850        + $(fetch_libs)
     851        + $(configure_libs)
     852        + $(build_libs)
     853        + $(install_libs)
     854        + $(touch_libs)
     855
     856define clean_libs
     857        $(MAKE) -C $(libs) clean
     858        $(RM) $(libs)/timestamp
     859endef
     860define fetch_libs
     861endef
     862define configure_libs
     863endef
     864define build_libs
     865        $(MAKE) -C $(libs) all
     866endef
     867define install_libs
     868        $(MAKE) -C $(libs) install
    869869        $(MKDIR_P) $(libdir)
    870870        $(INSTALL) -m 0444 rapptureConfig.sh $(libdir)
    871871endef
    872 define touch_lib
    873         touch $(lib)/timestamp
    874 endef
    875 
    876 $(lib)/timestamp:
    877         + $(clean_lib)
    878         + $(fetch_lib)
    879         + $(configure_lib)
    880         + $(build_lib)
    881         + $(install_lib)
    882         + $(touch_lib)
     872define touch_libs
     873        touch $(libs)/timestamp
     874endef
     875
     876$(libs)/timestamp:
     877        + $(clean_libs)
     878        + $(fetch_libs)
     879        + $(configure_libs)
     880        + $(build_libs)
     881        + $(install_libs)
     882        + $(touch_libs)
    883883
    884884# -------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.