File: makegmt.macros.os2

package info (click to toggle)
gmt 3.3.3-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 3,288 kB
  • ctags: 2,962
  • sloc: ansic: 50,470; sh: 1,760; makefile: 284; asm: 38
file content (139 lines) | stat: -rw-r--r-- 5,139 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
#-------------------------------------------------------------------------------
#	@(#)makegmt.macros.os2	3.1  11/27/99
#
#	Standard Makefile Macro Setup for GMT 3.3.3
#	Copy to makegmt.macros under OS/2
#
# 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.  Shouldn't be necessary -- but is under IRIX 5.3.
SHELL		= /bin/sh

# Installation Directories:
rootdir		= ..
prefix		= ..
exec_prefix	= ${prefix}
bindir		= ${exec_prefix}/bin
mandir		= ${prefix}/man
datadir		= ${prefix}/share
wwwdir		= ${prefix}/www
mansection	= l

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

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

# Preprocessing:
CPP		= cc -E
CPPFLAGS	= $(INCLUDES) $(DEFINES) 

#-------------------------------------------------------------------------------
#	Math library specification 
#	(Will most of the time be -lm, on Solaris -lsunmath -lm)
#-------------------------------------------------------------------------------
#
LIBS	= -lm 
#
#---------------------------------------------------------------
# Misc. Standard Utilities:
#---------------------------------------------------------------
INSTALL		= cp
AWK		= gawk
AS		= as
AR		= ar
RANLIB		= touch
CSH		= csh
LD		= ld
#---------------------------------------------------------------
#	Misc. macros for Cygwin
#	Normally empty, EXE=.exe and WIN32=_WIN32 under Cygwin
#---------------------------------------------------------------
#
EXE	= .exe
WIN32	= 
#
#---------------------------------------------------------------
#	Misc. macros for OS/2 with EMX support
#	Otherwise set to @:
#---------------------------------------------------------------
#
EMX		= enxbind -b -h64 -s
COMPRESS	= lxlite /ML1
#
#---------------------------------------------------------------
#	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 = -O -D__EMX__ -Zomf -Zcrtdll -lwrap
#
#-------------------------------------------------------------------------------
# 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 -ansiposix -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,$(bindir) +z	# HPUX w/shared libs
#LDFLAGS	= -s -Wl,-rpath,$(bindir)	# Linux w/shared libs
#LDFLAGS	= -s -Wl,-rpath,$(bindir)	# SGI IRIX w/shared libs
#LDFLAGS	= -s -Wl,-rpath,$(bindir)	# Gnu gcc compiler w/shared libs
#LDFLAGS	= -s -Wl,-R$(bindir)		# 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	= -G
#
#-------------------------------------------------------------------------------
#	Shared library file extension (.sl or .so, normally) 
#	Solaris, Linux: so	HP, IRIX: sl
#-------------------------------------------------------------------------------
#
SL	= so
#
#-------------------------------------------------------------------------------
#	Set TRIANGLE_x = -DTRIANGLE_x to use Shewchuck's triangulation routine
#	where x = D and O.  Default is to leave these empty.
#-------------------------------------------------------------------------------
#
TRIANGLE_D	= -DTRIANGLE_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	= 
#
#-------------------------------------------------------------------------------
#	Select STATIC (Default) or SHARED libraries
#-------------------------------------------------------------------------------
#
GMTLIB	= $(STATIC_LIB)