-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.rip
76 lines (56 loc) · 1.77 KB
/
configure.rip
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
# configure.rip
#
# This file was automatically generated by the configure script in the
# top level directory. You may make changes to the settings in this
# file but be aware they will be overwritten each time you run configure.
# Ordinarily, it is necessary to run configure once, when the code is
# first installed.
#
# To permanently change options, change the settings for your platform
# in the file arch/configure.defaults, the preamble, and the postamble -
# then rerun configure.
#
.SUFFIXES: .F90 .f90 .F .f .c .o
SHELL = /bin/sh
# Listing of options that are usually independent of machine type.
# When necessary, these are over-ridden by each architecture.
ARFLAGS =
PERL = perl
RANLIB = echo
NETCDFLIB = -L${NETCDF}/lib -lnetcdf
NETCDFINC = -I${NETCDF}/include
NCARGLIBS = -L${NCARG_ROOT}/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz -lpthread -lbz2 -lXrender
#### Architecture specific settings ####
# Settings for PC Linux i486 i586 i686 x86_64, gfortran compiler
#
FC = gfortran
FFLAGS = -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4
CCFLAGS = -I. -DLITTLE -DUNDERSCORE -c
LDFLAGS =
LOCAL_LIBS =
###########################################################
#
# Macros, these should be generic for all machines
LN = ln -sf
MAKE = make -i -r
RM = /bin/rm -f
CP = /bin/cp
AR = ar ru
.IGNORE:
.SUFFIXES: .c .f90 .F90 .f .F .o
# There is probably no reason to modify these rules
.c.o:
$(RM) $@
$(CC) $(CCFLAGS) $(CFLAGS) -c $<
.f.o:
$(FC) $(FFLAGS) -c $*.f
.f90.o:
$(RM) $@ $*.mod
$(CP) $< $*.f
$(FC) $(FFLAGS) -c $*.f
$(RM) $*.f
.F90.o:
$(RM) $@ $*.mod
$(CPP) $(CCFLAGS) $(FDEFS) $< > $*.f
$(FC) $(FFLAGS) -c $*.f ${NETCDF_INC}
$(RM) $*.f