replaced inadvertantly deleted section of fortran/Makefile.am

This commit is contained in:
Ed Hartnett 2011-06-08 12:52:45 +00:00
parent ca8128939e
commit e89df5805a

View File

@ -1,9 +1,7 @@
## This is an automake file, part of Unidata's netCDF package.
# Copyright 2005, see the COPYRIGHT file for more information.
# Copyright 2005-2011, see the COPYRIGHT file for more information.
## This file controls the building of the fortran convenience library.
# $Id: Makefile.am,v 1.60 2010/05/29 00:21:22 dmh Exp $
# This file controls the building of the fortran convenience library.
include $(top_srcdir)/lib_flags.am
@ -30,6 +28,17 @@ fort-genatt.c fort-geninq.c fort-genvar.c fort-lib.c fort-misc.c \
fort-v2compat.c fort-vario.c fort-var1io.c fort-varaio.c fort-varmio.c \
fort-varsio.c cfortran.h fort-lib.h ncfortran.h
# Tell make to rebuld fortran library if nfconfig.inc has changed
# (it's generated by the configure script from nfconfig.in), or if
# netcdf.inc has changed.
libnetcdff_la_DEPENDENCIES = nfconfig.inc netcdf.inc
# Is the user building netCDF-4?
if USE_NETCDF4
# All netCDF-4 F77 functions are in one code file.
libnetcdff_la_SOURCES += fort-nc4.c
endif
# Tell make to install this as a header file.
nodist_include_HEADERS = netcdf.inc
@ -56,16 +65,22 @@ if USE_LOGGING
echo ' external nf_set_log_level' >> netcdf.inc
endif
# Tell make to rebuld fortran library if nfconfig.inc has changed
# (it's generated by the configure script from nfconfig.in), or if
# netcdf.inc has changed.
libnetcdff_la_DEPENDENCIES = nfconfig.inc netcdf.inc
# The F77 API man page.
man_MANS = netcdf_f77.3
# Is the user building netCDF-4?
# This rule generates the F77 manpage.
ARGS_MANPAGE = -DAPI=FORTRAN
if USE_NETCDF4
# All netCDF-4 F77 functions are in one code file.
libnetcdff_la_SOURCES += fort-nc4.c
ARGS_MANPAGE += -DNETCDF4=TRUE
endif
if BUILD_DAP
ARGS_MANPAGE += -DDAP=TRUE
endif
if BUILD_PARALLEL
ARGS_MANPAGE += -DPARALLEL_IO=TRUE
endif
netcdf_f77.3: $(top_srcdir)/man4/netcdf.m4
m4 $(M4FLAGS) $(ARGS_MANPAGE) $? >$@ || rm $@
# The nfconfig.in file is turned into nfconfig.inc by the configure
# script. The man page is generated on the developers machine for the