~ubuntu-branches/debian/sid/libhdf4/sid

« back to all changes in this revision

Viewing changes to config/mh-linuxarm

  • Committer: Bazaar Package Importer
  • Author(s): Philippe Troin
  • Date: 2001-08-17 18:15:39 UTC
  • Revision ID: james.westby@ubuntu.com-20010817181539-dxk88azjdkntsxbm
Tags: 4.1r4-13
* Fixed upstream version detection in debian/rules.
* Change all instances of the linux C preprocessor symbol to __linux__
  to avoid breaking other packages; patch courtesy of James Troup
  <james@nocrew.org>; closes: #108921.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# $Id: mh-linuxarm,v 1.1 2001/03/19 21:58:03 phil Exp $
 
2
 
 
3
# You can override the following variables here
 
4
#
 
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
 
14
#
 
15
 
 
16
# ------------ General Macros for HDF --------------------
 
17
# Version of the library
 
18
PACKAGE  = HDF
 
19
VERSION  = 4.0
 
20
#
 
21
# Compiliers:
 
22
# For gcc version
 
23
CC=gcc
 
24
CFLAGS=-ansi
 
25
 
 
26
# Fortran compilier
 
27
#FC = f77
 
28
#FC = NONE
 
29
FC = g77
 
30
FFLAGS = 
 
31
 
 
32
# Name of achive randomizer, usually ranlib (use 'true' if non-existant)
 
33
RANLIB = ranlib
 
34
 
 
35
# Name of library archiver and flags to send, default 'AR=ar', 'ARFLAGS=r'
 
36
AR = ar
 
37
ARFLAGS = r
 
38
 
 
39
# Name of remove utility, default 'RM=/bin/rm', 'RMFLAGS=-f'
 
40
RM = /bin/rm
 
41
RMFLAGS = -f
 
42
 
 
43
# Extra libraries to be include like '-lm' for fabs()
 
44
# e.g with naitve HP-ANSI compilier
 
45
#LIBSX = -lm
 
46
 
 
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
 
52
# before enabling. 
 
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.
 
55
 
 
56
#PABLO_FLAGS  = -DHAVE_PABLO
 
57
#PABLO_INCDIR = /usr/local/include/pablo-5.1
 
58
#PABLO_INCLUDE = -I$(PABLO_INCDIR)
 
59
 
 
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.
 
64
 
 
65
#FMPOOL_FLAGS  = -DHAVE_FMPOOL
 
66
 
 
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
 
71
OS      = Linux
 
72
 
 
73
CPP           = $(CC) -E
 
74
 
 
75
# for endianess, for little endian byte order need -DSWAP
 
76
# for FreeBSD and Linux(anny x86 UNIX)
 
77
SWAP          = -DSWAP
 
78
#SWAP          = 
 
79
 
 
80
# for 32bit 'network long' integer, possible value -DNETLONG=int
 
81
NETLONG       = 
 
82
 
 
83
# additional CFLAGS
 
84
CFLAGS_NETCDF = 
 
85
 
 
86
# Additional flags for preproccesor. Some no longer used because
 
87
#   library now requires ANSI compilier.
 
88
#
 
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
 
92
#
 
93
# They all require -DHDF and -DNDEBUG 
 
94
# Any special preprocessor requirements go here
 
95
#
 
96
# for Unicos 
 
97
# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_SHORTS -DBIG_LONGS
 
98
#
 
99
# for OSF(dec alpha) 
 
100
# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS -std1
 
101
#
 
102
# for IRIX6(64-bit) 
 
103
# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -DBIG_LONGS
 
104
#
 
105
# for AIX
 
106
# CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF -D_ALL_SOURCE
 
107
#
 
108
# for Sunos and Linux
 
109
CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF
 
110
#
 
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
 
114
#
 
115
# normal
 
116
#CPPFLAGS_HDF  = $(FMPOOL_FLAGS) -DNDEBUG -DHDF
 
117
 
 
118
#
 
119
# Unix commands/utilities
 
120
#
 
121
# neqn(1)
 
122
NEQN    = neqn
 
123
# tbl(1)
 
124
TBL     = tbl
 
125
# which(1)
 
126
WHICH   = which
 
127
# lex(1)
 
128
#LEX    = lex    # GNU flex?
 
129
LEX     = flex    # GNU flex?
 
130
# yacc(1)
 
131
YACC    = yacc   # GNU bison?
 
132
 
 
133
#diff(1)
 
134
DIFF    = diff   # GNU diff?
 
135
DIFF_FLAGS = -w
 
136
 
 
137
# Other Macros
 
138
NCDUMP  = 
 
139
NCGEN   = 
 
140
FTPDIR  = 
 
141
VERSION_NETCDF  = 2.3.2
 
142
 
 
143
# ------------ XDR Macros for NETCDF --------------------
 
144
# This is where the location of system XDR library includes
 
145
# and location of the library are set
 
146
#
 
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
 
150
 
 
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
 
154
XDR_LIBOBJS     =
 
155
 
 
156
# Location of library, sometimes the sunos requires -lsun
 
157
LD_XDR          = 
 
158
 
 
159
#
 
160
XDR_INSTALL_DEPS =
 
161
 
 
162
# ------------ libsrc Macros for NETCDF --------------------
 
163
# Possible values are xdrposix and xdrstdio
 
164
# This sets which version of the XDR interface to use.
 
165
XDRFILE         = xdrposix
 
166
 
 
167
# ------------ Port Macros for NETCDF --------------------
 
168
# Major and Minor numbe of NETCDF library version
 
169
MAJOR_NO        = 2
 
170
MINOR_NO        = 3
 
171
PORT_CFORTRAN   = 
 
172
NEED_FORTC      = 
 
173
FORTC           = 
 
174
 
 
175
# possible values are limits.h, float.h, stddef.h, stdlib.h,
 
176
# string.h time.h signal.h unistd.h
 
177
PORT_HEADERS    = 
 
178
PORT_SUBDIRS    =
 
179
LIBOBJS         = uddummy.o 
 
180