1
# $Id: mh-linuxmips,v 1.1 2001/04/23 05:27:01 phil Exp $
3
# You can override the following variables here
5
# Sections in Host makefile fragments
6
# ----------------------------------:
7
# 1. General Macros for HDF
8
# 2. Macros for Pablo Instrumentation
9
# 3. Macros for File Cache
10
# 4. General macros for NETCDF
11
# 4.1 XDR Macros for NETCDF
12
# 4.2 libsrc Macros for NETCDF
13
# 4.3 Port Macros for NETCDF
16
# ------------ General Macros for HDF --------------------
17
# Version of the library
32
# Name of achive randomizer, usually ranlib (use 'true' if non-existant)
35
# Name of library archiver and flags to send, default 'AR=ar', 'ARFLAGS=r'
39
# Name of remove utility, default 'RM=/bin/rm', 'RMFLAGS=-f'
43
# Extra libraries to be include like '-lm' for fabs()
44
# e.g with naitve HP-ANSI compilier
47
# ------------ Macros for Pablo Instrumentation --------------------
48
# Uncomment the following lines to create a Pablo Instrumentation
49
# version of the HDF core library called 'libdf-inst.a'
50
# See the documentation in the directory 'hdf/pablo' for further
51
# information about Pablo and what platforms it is supported on
53
# You need to set 'PABLO_INCDIR' to the Pablo distribution
54
# include directory to get to files 'IOTrace.h', 'IOTrace_SD.h' and others.
56
#PABLO_FLAGS = -DHAVE_PABLO
57
#PABLO_INCDIR = /usr/local/include/pablo-5.1
58
#PABLO_INCLUDE = -I$(PABLO_INCDIR)
60
# ------------ Macros for File Cache(fmpool) ------
61
# Uncomment the following lines to enable shared memory file buffer pool
62
# version of the HDF core library libdf.a. Please read the
63
# documentation before enabling this feature.
65
#FMPOOL_FLAGS = -DHAVE_FMPOOL
67
# ------------ General Macros for NETCDF --------------------
68
# Operating system, Used in fortran directory to generate fortran
69
# wrappers. Possible values are osf, aix, hpux, irix, sunos, ultrix
70
# unicos, convex, Linux, freebsd
75
# for endianess, for little endian byte order need -DSWAP
76
# for FreeBSD and Linux(anny x86 UNIX)
80
# for 32bit 'network long' integer, possible value -DNETLONG=int
86
# Additional flags for preproccesor. Some no longer used because
87
# library now requires ANSI compilier.
89
# for no function prototypes add -DNO_HAVE_PROTOTYPES
90
# for no strerror() add -DNO_STRERROR
91
# for no variadic function support add -DNO_STDARG
93
# They all require -DHDF and -DNDEBUG
94
# Any special preprocessor requirements go here
97
# CPPFLAGS_HDF = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_SHORTS -DBIG_LONGS
100
# CPPFLAGS_HDF = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS -std1
103
# CPPFLAGS_HDF = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS
106
# CPPFLAGS_HDF = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -D_ALL_SOURCE
108
# for Sunos and Linux
109
CPPFLAGS_HDF = $(FMPOOL_FLAGS) -DNDEBUG -DHDF
111
# for IRIX6.0 (32-bit mode). If you prefer other 32 bit option like -n32,
112
# replace '-32' below
113
# CPPFLAGS_HDF = -32 $(FMPOOL_FLAGS) -DNDEBUG -DHDF
116
#CPPFLAGS_HDF = $(FMPOOL_FLAGS) -DNDEBUG -DHDF
119
# Unix commands/utilities
128
#LEX = lex # GNU flex?
129
LEX = flex # GNU flex?
131
YACC = yacc # GNU bison?
134
DIFF = diff # GNU diff?
141
VERSION_NETCDF = 2.3.2
143
# ------------ XDR Macros for NETCDF --------------------
144
# This is where the location of system XDR library includes
145
# and location of the library are set
147
# Location of <xdr.h> if you are using the system
148
# one, Else you need to comment it out
149
CPP_XDR = -I/usr/include/rpc
151
# If XDR library not present on the system then you need
152
# uncomment the following and comment the one below it
153
#XDR_LIBOBJS = xdr.o xdrfloat.o xdrstdio.o xdrarray.o
156
# Location of library, sometimes the sunos requires -lsun
162
# ------------ libsrc Macros for NETCDF --------------------
163
# Possible values are xdrposix and xdrstdio
164
# This sets which version of the XDR interface to use.
167
# ------------ Port Macros for NETCDF --------------------
168
# Major and Minor numbe of NETCDF library version
175
# possible values are limits.h, float.h, stddef.h, stdlib.h,
176
# string.h time.h signal.h unistd.h