File: dclconfig.org

package info (click to toggle)
dcl 7.5.2-2
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 21,008 kB
  • sloc: fortran: 48,433; f90: 12,803; ansic: 6,513; makefile: 4,738; ruby: 184; sh: 153
file content (132 lines) | stat: -rwxr-xr-x 2,130 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
#!/bin/sh
#
#	Copyright (C) 2000-2022 GFD Dennou Club. All rights reserved.
#

prefix="@prefix@"

dclversion="@DCLVERSION@"
dclvernum="@DCLVERNUM@"
dcllang="@DCLLANG@"

bindir="@BINDIR@"
libdir="@LIBDIR@"
incdir="@INCDIR@"

dcllibname="@DCLLIBNAME@"
dcllibfile="@DCLLIBFILE@"
dcllibopt="@DCLLIBOPT@"
dcllibpath="@DCLLIBPATH@"

dbasename="@DBASENAME@"
dbasedir="@DBASEDIR@"

xincpath="@XINCPATH@"
xlibpath="@XLIBPATH@"
xlibopt="@XLIBOPT@"

cc="@CC@"
cflags="@CFLAGS@"
fc="@FC@"
fflags="@FFLAGS@"

ldflags="@LDFLAGS@"
ldlibs="@LDLIBS@"

gtkversion="@GTKVERSION@"

usage()
{
	cat <<EOF
Usage: dclconfig [OPTIONS]
Options: You may consult most of macro variables in Mkinclude file, such as
  --prefix, --dclversion, --dclvernum, --dcllang, --bindir, --libdir,
  --incdir, --dcllibname, --dcllibfile, --dcllibopt, --dcllibpath,
  --dbasename, --dbasedir, --xincpath, --xlibpath, --xlibopt, --cc, 
  --cflags, --fc, --fflags, --ldflags, --ldlibs, --gtkversion
EOF
	exit $1
}

if test $# -eq 0; then
	usage 1 1>&2
fi

while test $# -gt 0; do
  case $1 in
    --prefix)
      echo $prefix
      ;;
    --dclversion)
      echo $dclversion
      ;;
    --dclvernum)
      echo $dclvernum
      ;;
    --dcllang)
      echo $dcllang
      ;;
    --bindir)
      echo $bindir
      ;;
    --libdir)
      echo $libdir
      ;;
    --incdir)
      echo $incdir
      ;;
    --dcllibname)
      echo $dcllibname
      ;;
    --dcllibfile)
      echo $dcllibfile
      ;;
    --dcllibopt)
      echo $dcllibopt
      ;;
    --dcllibpath)
      echo $dcllibpath
      ;;
    --dbasename)
      echo $dbasename
      ;;
    --dbasedir)
      echo $dbasedir
      ;;
    --xincpath)
      echo $xincpath
      ;;
    --xlibpath)
      echo $xlibpath
      ;;
    --xlibopt)
      echo $xlibopt
      ;;
    --cc)
      echo $cc
      ;;
    --cflags)
      echo $cflags
      ;;
    --fc)
      echo $fc
      ;;
    --fflags)
      echo $fflags
      ;;
    --ldflags)
      echo $ldflags
      ;;
    --ldlibs)
      echo $ldlibs
      ;;
    --gtkversion)
      echo $gtkversion
      ;;
    *)
      usage 1 1>&2
      ;;
  esac
  shift
done