diff options
author | John E. Malmberg <wb8tyw@qsl.net> | 2013-07-25 13:04:29 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2013-07-25 13:04:29 +0200 |
commit | e277e20a6d62d6f2781c4880222d15772aeb57fd (patch) | |
tree | 51e6c09fc6b3af2d63857b4122ec26025de71c76 /packages/vms/make_gnv_curl_install.sh | |
parent | a23e56d109c9d206f3c98da012d733686c78e82a (diff) |
VMS: intial set of files to allow building using GNV toolkit.
Diffstat (limited to 'packages/vms/make_gnv_curl_install.sh')
-rw-r--r-- | packages/vms/make_gnv_curl_install.sh | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/packages/vms/make_gnv_curl_install.sh b/packages/vms/make_gnv_curl_install.sh new file mode 100644 index 000000000..d2150e625 --- /dev/null +++ b/packages/vms/make_gnv_curl_install.sh @@ -0,0 +1,45 @@ +# File: make_gnv_curl_install.sh +# +# $Id$ +# +# Set up and run the make script for Curl. +# +# This makes the library, the curl binary and attempts an install. +# A search list should be set up for GNU (GNV$GNU). +# +# Copyright 2009, John Malmberg +# +# Permission to use, copy, modify, and/or distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT +# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# +# 06-Jun-2009 J. Malmberg +#========================================================================== +# +# +# Needed VMS build setups for GNV. +export GNV_OPT_DIR=. +export GNV_CC_QUALIFIERS=/DEBUG/OPTIMIZE/STANDARD=RELAXED\ +/float=ieee_float/ieee_mode=denorm_results +export GNV_CXX_QUALIFIERS=/DEBUG/OPTIMIZE/float=ieee/ieee_mode=denorm_results +export GNV_CC_NO_INC_PRIMARY=1 +# +# +# POSIX exit mode is needed for UNIX shells. +export GNV_CC_MAIN_POSIX_EXIT=1 +make +cd ../.. +# adjust the libcurl.pc file, GNV currently ignores the Lib: line. +# but is noisy about it, so we just remove it. +sed -e 's/^Libs:/#Libs:/g' libcurl.pc > libcurl.pc_new +rm libcurl.pc +mv libcurl.pc_new libcurl.pc +make install |