Home | History | Annotate | Download | only in vms
      1 # File: make_gnv_curl_install.sh
      2 #
      3 # $Id$
      4 #
      5 # Set up and run the make script for Curl.
      6 #
      7 # This makes the library, the curl binary and attempts an install.
      8 # A search list should be set up for GNU (GNV$GNU).
      9 #
     10 # Copyright 2009, John Malmberg
     11 #
     12 # Permission to use, copy, modify, and/or distribute this software for any
     13 # purpose with or without fee is hereby granted, provided that the above
     14 # copyright notice and this permission notice appear in all copies.
     15 #
     16 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
     17 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
     18 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
     19 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
     20 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
     21 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
     22 # OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
     23 #
     24 # 06-Jun-2009	J. Malmberg
     25 #==========================================================================
     26 #
     27 #
     28 # Needed VMS build setups for GNV.
     29 export GNV_OPT_DIR=.
     30 export GNV_CC_QUALIFIERS=/DEBUG/OPTIMIZE/STANDARD=RELAXED\
     31 /float=ieee_float/ieee_mode=denorm_results
     32 export GNV_CXX_QUALIFIERS=/DEBUG/OPTIMIZE/float=ieee/ieee_mode=denorm_results
     33 export GNV_CC_NO_INC_PRIMARY=1
     34 #
     35 #
     36 # POSIX exit mode is needed for Unix shells.
     37 export GNV_CC_MAIN_POSIX_EXIT=1
     38 make
     39 cd ../..
     40 # adjust the libcurl.pc file, GNV currently ignores the Lib: line.
     41 # but is noisy about it, so we just remove it.
     42 sed -e 's/^Libs:/#Libs:/g' libcurl.pc > libcurl.pc_new
     43 rm libcurl.pc
     44 mv libcurl.pc_new libcurl.pc
     45 make install
     46