File: makegmt.macros.in

package info (click to toggle)
gmt 3.4-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 3,528 kB
  • ctags: 3,140
  • sloc: ansic: 54,081; sh: 2,552; makefile: 404; asm: 38
file content (142 lines) | stat: -rw-r--r-- 5,265 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
#-------------------------------------------------------------------------------
#	$Id: makegmt.macros.in,v 1.2 2001/03/02 05:40:57 pwessel Exp $
#
#	Standard Makefile Macro Setup for GMT 3.4
#
# Edit this file only, NOT the makefile itself.
#---------------------------------------------------------------
# The purpose of this section is to contain common make macros
# that should be processed by every execution of that utility.
#---------------------------------------------------------------

# POSIX shell.  On some platforms it is not /bin/sh.
SHELL		= @SHELL@

# Installation Directories:
rootdir		= @rootdir@
prefix		= @prefix@
exec_prefix	= @exec_prefix@
srcdir		= @rootdir@/src
bindir		= @bindir@
libdir		= @libdir@
includedir	= @includedir@
mandir		= @mandir@
datadir		= @datadir@
wwwdir		= @wwwdir@
mansection	= @mansection@
wrapbindir	= @wrapbindir@
wrapmandir	= @wrapmandir@

# Compiler, if $CC not set in environment
CC		= @CC@

# Link flags if $LDFLAGS is not set in environment
LDFLAGS		= @LDFLAGS@

# Preprocessing:
CPP		= @CPP@
CPPFLAGS	= $(INCLUDES) $(DEFINES) @CPPFLAGS@

#-------------------------------------------------------------------------------
#	Math library specification 
#	(Will most of the time be -lm, on Solaris -lsunmath -lm)
#-------------------------------------------------------------------------------
#
LIBS	= @LIBS@
#
#---------------------------------------------------------------
# Misc. Standard Utilities:
#---------------------------------------------------------------
INSTALL		= @INSTALL@
AWK		= @AWK@
AS		= @AS@
AR		= @AR@
RANLIB		= @RANLIB@
CSH		= @CSH@
LD		= @LD@
#---------------------------------------------------------------
#	Misc. macros for Cygwin
#	Normally empty, EXE=.exe and WIN32=_WIN32 under Cygwin
#---------------------------------------------------------------
#
EXE	= @EXE@
WIN32	= @WIN32@
#
#---------------------------------------------------------------
#	Misc. macros for OS/2 with EMX support
#	Otherwise set to @: (which does nothing)
#---------------------------------------------------------------
#
COMPRESS	= @COMPRESS@
#
#---------------------------------------------------------------
#	Required path to netcdf (with lib & include)
#---------------------------------------------------------------
#
NETCDF		 = $(NETCDFHOME)
#---------------------------------------------------------------
#	Required path to GMT home (used as $GMTHOME by users)
#---------------------------------------------------------------
#
GMT_DEFAULT_PATH = $(prefix)
#
#-------------------------------------------------------------------------------
#	Compiler switches (set a total of one only)
#-------------------------------------------------------------------------------
#
CC_OPT = @CC_OPT@
#
#-------------------------------------------------------------------------------
# For your information, here are some CC_OPT options known to work on other systems:
#CC_OPT	= -O					# Generic
#CC_OPT	= -ieee_with_inexact -Olimit 1500	# Dec Alpha OSF
#CC_OPT	= -O -Olimit 1500			# Dec VMS Ultrix
#CC_OPT	= -mieee -O2				# Dec Alpha/Alpha PC Linux
#CC_OPT	= -Aa +Ofltacc +O1 +Olibcalls		# HPUX
#CC_OPT	= -Daux -O				# A/UX
#CC_OPT	= -O -ansi -pedantic			# Gnu gcc compiler
#CC_OPT	= -O -Xc		 		# Sun Solaris
#CC_OPT	= -O -w					# SGI IRIX
#CC_OPT	= -O2					# IBM AIX
# FYI, here are some LDFLAGS options known to work on other systems:
#LDFLAGS	= -s				# Static link ,strip executables
#LDFLAGS	= -s -Wl,+b,$(libdir) +z	# HPUX w/shared libs
#LDFLAGS	= -s -Wl,-rpath,$(libdir)	# Linux w/shared libs
#LDFLAGS	= -s -Wl,-rpath,$(libdir)	# SGI IRIX w/shared libs
#LDFLAGS	= -s -Wl,-rpath,$(libdir)	# Gnu gcc compiler w/shared libs
#LDFLAGS	= -s -Wl,-R$(libdir)		# Sun Solaris w/shared libs
#-------------------------------------------------------------------------------
#	Linker switch for building shared libraries
#	These are only made if GMTLIB is set to $(SHARED_LIB) below
#	SunOS: -G  HP-UX: -b  Linux,IRIX: -shared
#-------------------------------------------------------------------------------
#
LD_OPT	= @LD_OPT@
#
#-------------------------------------------------------------------------------
#	Shared library file extension (.sl or .so, normally) 
#	Solaris, Linux: so	HP, IRIX: sl
#-------------------------------------------------------------------------------
#
SL	= @SL@
#
#-------------------------------------------------------------------------------
#	Set TRIANGLE_x = -DTRIANGLE_x to use Shewchuck's triangulation routine
#	where x = D and O.  Default is to leave these empty.
#-------------------------------------------------------------------------------
#
TRIANGLE_D	= @TRIANGLE_D@
TRIANGLE_O	= @TRIANGLE_O@
#
#-------------------------------------------------------------------------------
#	Set ALPHA_SINCOS_O = alpha-sincos.o under OSF1 on Dec Alphas to use an
#	assembler wrapper to call the alpha's funny sincos function correctly.
#-------------------------------------------------------------------------------
#
ALPHA_SINCOS_O	= @ALPHA_SINCOS_O@
#
#-------------------------------------------------------------------------------
#	Select STATIC (Default) or SHARED libraries
#-------------------------------------------------------------------------------
#
GMTLIB	= @GMTLIB@