File: make.defs.in

package info (click to toggle)
libcgns 2.5.4-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,740 kB
  • ctags: 4,493
  • sloc: ansic: 46,717; fortran: 1,341; sh: 368; makefile: 259
file content (126 lines) | stat: -rw-r--r-- 4,589 bytes parent folder | download
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
# makefile include for @SYSTEM@

SHELL = @SHELL@

#------------------------------------------------------------------------
# ADFDIR = adf  for building with ADF
#        = adfh for building with HDF5
#------------------------------------------------------------------------

ADFDIR = @ADFDIR@

#------------------------------------------------------------------------
# these should only be set if building with HDF5
# HDF5INC - path to HDF5 header files
# HDF5LIB - HDF5 library
# SZIPLIB - szip library (if needed)
# ZLIBLIB - zlib library (if needed)
#------------------------------------------------------------------------

HDF5INC = @HDF5INC@
HDF5LIB = @HDF5LIB@
SZIPLIB = @SZIPLIB@
ZLIBLIB = @ZLIBLIB@

#------------------------------------------------------------------------
# SPACE  - used to force a space in the compiler executable output flag
# O       - object file extension (typicaly o)
# A       - library file extension (typically a)
# EXE     - executable extension (typically blank)
# LIBCGNS - CGNS library name
#------------------------------------------------------------------------

SPACE   =
O       = @OBJEXT@
A       = @LIBEXT@
EXE     = @EXEEXT@
LIBCGNS = @SYSTEM@/libcgns.@LIBEXT@

#------------------------------------------------------------------------
# CC     - C compiler
# CFLAGS - compiler flags
# COOUT  - flag to name the object output (typically -o).
# CEOUT  - flag to name the output executable (typically -o).
# CLIBS  - any additional libraries needed to link a CGNS application
#------------------------------------------------------------------------

CC     = @CC@
CFLAGS = @CFLAGS@ @SYSCFLAGS@
COOUT  = @COOUT@
CEOUT  = @CEOUT@
CLIBS  = @LIBS@

#------------------------------------------------------------------------
# F2CFLAGS defines the type of Fortran to C interface.
# -DUSE_ADF_MACROS causes the ADF Fortran to C interface to use
#    the old ADF macros instead of the same macros as the CGNS library.
# The Fortran module name for Cray, VMS and Windows are set internally,
# everything else is handled by setting F2CFLAGS to one of:
#   -DUPPERCASE   : names are uppercase
#   -DUPPERCASE_  : names are uppercase followed by underscore
#   -DUPPERCASE__ : names are uppercase followed by 2 underscores
#   -DLOWERCASE   : names are lowercase
#   -DLOWERCASE_  : names are lowercase followed by underscore
#   -DLOWERCASE__ : names are lowercase followed by 2 underscores
# If not specified, LOWERCASE_ is assumed.
#
# CFGFLAGS defines any additional compiler options needed to build
# the CGNS library. This is typically set by the configure script.
#------------------------------------------------------------------------

F2CFLAGS = @F2CFLAGS@
CFGFLAGS = @CFGFLAGS@

#------------------------------------------------------------------------
# strip command for executables - set to true if not used
#------------------------------------------------------------------------

STRIP  = @STRIP@

#------------------------------------------------------------------------
# library archiver and ranlib
# AROUT may be used to set a library output flag as:
#    $(AR) $(AROUT)library_name objects
# Set RANLIB to true if not used
#------------------------------------------------------------------------

AR     = @AR@
AROUT  = @AROUT@
RANLIB = @RANLIB@

#------------------------------------------------------------------------
# commands for removing files and creating/deleting directory
#------------------------------------------------------------------------

RM     = /bin/rm -f
RMDIR  = /bin/rm -rf
MKDIR  = mkdir

#------------------------------------------------------------------------
# installation library name and directories
#
# INSTALL      - install command
# INSTALL_PROG - install executable
# INSTALL_DATA - install data
# LIBDIR       - installation directory for CGNS library
# INCLUDEDIR   - installation directory for CGNS headers
#------------------------------------------------------------------------

INSTALL      = @INSTALL@
INSTALL_PROG = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
LIBDIR       = @LIBDIR@
INCLUDEDIR   = @INCLUDEDIR@

#------------------------------------------------------------------------
# These are not used to build the CGNS library.
# Fortran compiler (F77) and options (FFLAGS).
# FEOUT is the flag to name the output executable (typically -o).
# FLIBS lists any additional libraries needed to link a CGNS application
#------------------------------------------------------------------------

F77    = @F77@
FFLAGS = @FFLAGS@ @SYSFFLAGS@
FEOUT  = @FEOUT@
FLIBS  = @FLIBS@