-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmacros.make.def
90 lines (69 loc) · 1.91 KB
/
macros.make.def
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
# $Id: macros.make.def 972 2012-02-19 06:43:55Z wkliao $
# The purpose of this file is to contain common make(1) macros.
# It should be processed by every execution of that utility.
# POSIX shell. Shouldn't be necessary -- but is under IRIX 5.3.
SHELL = /bin/sh
RM = @RM@
# Installation Directories:
prefix = /opt/netcdf
exec_prefix = $(prefix)
INCDIR = $(exec_prefix)/include
LIBDIR = $(exec_prefix)/lib
BINDIR = $(exec_prefix)/bin
MANDIR = $(prefix)/man
# Preprocessing:
M4 = m4
M4FLAGS = -B10000
CPP = c89 -E
CPPFLAGS = $(INCLUDES) $(DEFINES) @CPPFLAGS@
FPP =
FPPFLAGS = $(CPPFLAGS)
CXXCPPFLAGS = $(CPPFLAGS)
# Compilation:
CC = c89
CXX = CC
FC = f77
CFLAGS = -g
CXXFLAGS = $(CFLAGS) @CXXFLAGS@
FFLAGS = -g
CC_MAKEDEPEND = :
COMPILE.c = $(CC) -c $(CFLAGS) $(CPPFLAGS)
COMPILE.cxx = $(CXX) -c $(CXXFLAGS) $(CXXCPPFLAGS)
COMPILE.f = $(FC) -c $(FFLAGS)
# The following command isn't available on some systems; therefore, the
# `.F.o' rule is relatively complicated.
COMPILE.F = $(COMPILE.f)
# Linking:
MATHLIB =
FLIBS =
LIBS =
LINK.c = $(CC) -o $@ $(CFLAGS) $(LDFLAGS)
LINK.cxx = $(CXX) -o $@ $(CXXFLAGS) $(LDFLAGS)
LINK.F = $(FC) -o $@ $(FFLAGS) $(FLDFLAGS)
LINK.f = $(FC) -o $@ $(FFLAGS) $(FLDFLAGS)
# NetCDF files:
NCDUMP = ncdump
NCGEN = ncgen
NCMPIDIFF = ncdiff
# Manual pages:
WHATIS =
# The following macro should be empty on systems that don't
# allow users to create their own manual-page indexes.
MAKEWHATIS_CMD =
# Misc. Utilities:
AR = ar
ARFLAGS = cru # NB: SunOS 4 doesn't like `-' option prefix
RANLIB =
TARFLAGS = -chf
# Dummy macros: used only as placeholders to silence GNU make. They are
# redefined, as necessary, in subdirectory makefiles.
HEADER = dummy_header
HEADER1 = dummy_header1
HEADER2 = dummy_header2
LIBRARY = dummy_library.a
MANUAL = dummy_manual
PROGRAM = dummy_program
# Distribution macros:
FTPDIR = /home/ftp/pub/$(PACKAGE)
FTPBINDIR =
VERSION = dummy_version