
project boost/program_options 
    : source-location ../src 
    ;

SOURCES =
    cmdline config_file options_description parsers variables_map 
    value_semantic positional_options utf8_codecvt_facet
    convert winmain split
    ;

lib boost_program_options
    : $(SOURCES).cpp
    : <link>shared:<define>BOOST_PROGRAM_OPTIONS_DYN_LINK=1 # tell source we're building dll's
      # See https://svn.boost.org/trac/boost/ticket/5049
      <target-os>hpux,<toolset>gcc:<define>_INCLUDE_STDC__SOURCE_199901
    :
    : <link>shared:<define>BOOST_PROGRAM_OPTIONS_DYN_LINK=1
    ;

boost-install boost_program_options ;
