34 |
|
|
35 |
if test -d /usr/include/netcdf-3 ; then |
if test -d /usr/include/netcdf-3 ; then |
36 |
INCLUDES='-I/usr/include/netcdf-3' |
INCLUDES='-I/usr/include/netcdf-3' |
37 |
LIBS='-L/usr/lib/netcdf-3' |
if test -d /usr/lib/netcdf-3 ; then |
38 |
|
if test -f /usr/lib/netcdf-3/libnetcdf_g77.a ; then |
39 |
|
LIBS='-L/usr/lib/netcdf-3 -lnetcdf_g77' |
40 |
|
else |
41 |
|
LIBS='-L/usr/lib/netcdf-3' |
42 |
|
fi |
43 |
|
fi |
44 |
elif test -d /usr/include/netcdf ; then |
elif test -d /usr/include/netcdf ; then |
45 |
INCLUDES='-I/usr/include/netcdf' |
INCLUDES='-I/usr/include/netcdf' |
46 |
elif test -d /usr/local/netcdf ; then |
elif test -d /usr/local/netcdf ; then |
47 |
INCLUDES='-I/usr/local/netcdf/include' |
INCLUDES='-I/usr/local/netcdf/include' |
48 |
LIBS='-L/usr/local/netcdf/lib' |
LIBS='-L/usr/local/netcdf/lib' |
49 |
fi |
fi |
50 |
|
GSLINC='' |
51 |
|
GSLLIB='-lgsl -lgslcblas' |
52 |
|
PAPIINC='-I/usr/local/pkg/papi/papi-3.0.8.1/p4/include' |
53 |
|
PAPILIB='-L/usr/local/pkg/papi/papi-3.0.8.1/p4/lib -lpapi' |
54 |
|
|