## This is a automake file, part of Unidata's netCDF package. # Copyright 2011, see the COPYRIGHT file for more information. # This is the main automake file for netCDF-Fortran. It builds the # different netcdf directories. Not all directories are built, # depending on the options selected during configure. # This directory stores libtool macros, put there by aclocal. ACLOCAL_AMFLAGS = -I m4 # These files get added to the distribution. EXTRA_DIST = README COPYRIGHT nf-config.in pkgconfigdir=$(libdir)/pkgconfig pkgconfig_DATA = netcdf-fortran.pc # Does the user want F90 API? if BUILD_F90 F90_DIR = f90 endif # This is the list of subdirs for which Makefiles will be constructed # and run. SUBDIRS = $(F90_DIR) fortran nf_test man4 examples # Remove these generated files, for a distclean. DISTCLEANFILES = VERSION comps.txt test_prog # The nf-config script helps the user build programs with netCDF. bin_SCRIPTS = nf-config check_nc_config: $(F77) `./nf-config --fflags` test_prog.F -o test_prog `./nf-config --libs` ./test_prog $(FC) `./nf-config --fflags` test_prog.f90 -o test_prog `./nf-config --libs` ./test_prog install-data-hook: @echo '' @echo '+-------------------------------------------------------------+' @echo '| Congratulations! You have successfully installed the netCDF |' @echo '| Fortran libraries. |' @echo '| |' @echo '| You can use script "nf-config" to find out the relevant |' @echo '| compiler options to build your application. Enter |' @echo '| |' @echo '| nf-config --help |' @echo '| |' @echo '| for additional information. |' @echo '| |' @echo '| CAUTION: |' @echo '| |' @echo '| If you have not already run "make check", then we strongly |' @echo '| recommend you do so. It does not take very long. |' @echo '| |' @echo '| Before using netCDF to store important data, test your |' @echo '| build with "make check". |' @echo '| |' @echo '| NetCDF is tested nightly on many platforms at Unidata |' @echo '| but your platform is probably different in some ways. |' @echo '| |' @echo '| If any tests fail, please see the netCDF web site: |' @echo '| http://www.unidata.ucar.edu/software/netcdf/ |' @echo '| |' @echo '| NetCDF is developed and maintained at the Unidata Program |' @echo '| Center. Unidata provides a broad array of data and software |' @echo '| tools for use in geoscience education and research. |' @echo '| http://www.unidata.ucar.edu |' @echo '+-------------------------------------------------------------+' @echo ''