📄 monetdb5-config
字号:
#!/bin/sh# The contents of this file are subject to the MonetDB Public License# Version 1.1 (the "License"); you may not use this file except in# compliance with the License. You may obtain a copy of the License at# http://monetdb.cwi.nl/Legal/MonetDBLicense-1.1.html## Software distributed under the License is distributed on an "AS IS"# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the# License for the specific language governing rights and limitations# under the License.## The Original Code is the MonetDB Database System.## The Initial Developer of the Original Code is CWI.# Portions created by CWI are Copyright (C) 1997-2007 CWI.# All Rights Reserved.pkg="MonetDB5"source="/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5"build="/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/Fedora4"prefix="/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/.GNU.64.64.d-Fedora4"exec_prefix="${prefix}"bindir="${exec_prefix}/bin"libexecdir="${exec_prefix}/libexec"datarootdir=""datadir="${prefix}/share"sysconfdir="${prefix}/etc"localstatedir="${prefix}/var"libdir="${prefix}/lib64"infodir="${prefix}/info"mandir="${prefix}/man"includedir="${prefix}/include"pkglibdir="${libdir}/${pkg}"pkgdatadir="${datadir}/${pkg}"pkgincludedir="${includedir}/${pkg}"usage(){ cat <<EOFUsage: `basename $0` [OPTION]Known values for OPTION are: --build print ${pkg} build directory --source print ${pkg} source directory --libs print ${pkg} library linking information --mods print ${pkg} module linking information --cflags print ${pkg} module pre-processor and compiler flags --modpath print default ${pkg} module path --help display this help and exit --version output version informationInstall directories ${pkg} was configured to --prefix --exec-prefix --bindir --libexecdir --datarootdir --datadir --sysconfdir --localstatedir --libdir --infodir --mandir --includedir --pkgdatadir --pkglibdir --pkgincludedirEOF exit $1}if test $# -eq 0; then usage 1 >&2ficflags=falselibs=falsewhile test $# -gt 0; do case "$1" in -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; *) optarg= ;; esac case "$1" in --prefix) echo $prefix ;; --exec-prefix) echo $exec-prefix ;; --build) echo $build ;; --source) echo $source ;; --version) echo 5.0.0_beta1_2 exit 0 ;; --*dir) dirname=\$`echo $1 | sed -e 's,^--,,'` dirname=`eval echo $dirname` test -z "$dirname" && exit 1 echo $dirname exit 0 ;; --help) usage 0 ;; --includes) echo \ -I\${MONETDB5_INCLUDEDIR}/atoms \ -I\${MONETDB5_INCLUDEDIR}/compiler \ -I\${MONETDB5_INCLUDEDIR}/kernel \ -I\${MONETDB5_INCLUDEDIR}/mal \ -I\${MONETDB5_INCLUDEDIR}/optimizer \ -I\${MONETDB5_INCLUDEDIR}/scheduler \ -I\${MONETDB5_INCLUDEDIR} ;; --cflags) echo \ -I$pkgincludedir/atoms \ -I$pkgincludedir/compiler \ -I$pkgincludedir/kernel \ -I$pkgincludedir/mal \ -I$pkgincludedir/optimizer \ -I$pkgincludedir/scheduler \ -I$pkgincludedir ;; --libs) echo \ -L$libdir ;; --mods) echo \ -L$pkglibdir/lib ;; --modpath) echo $pkglibdir:$pkglibdir/lib:$pkglibdir/bin ;; *) usage 1 >&2 ;; esac shiftdoneexit 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -