Skip to content

Commit

Permalink
Misc. files updated with copyright stanza.
Browse files Browse the repository at this point in the history
  • Loading branch information
WardF committed Dec 6, 2018
1 parent 921a217 commit 05818ac
Show file tree
Hide file tree
Showing 10 changed files with 63 additions and 14 deletions.
10 changes: 8 additions & 2 deletions CMakeInstallation.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014,
# 2015, 2016, 2017, 2018
# University Corporation for Atmospheric Research/Unidata.

# See netcdf-c/COPYRIGHT file for more info.
#####
# Contains variables and settings used
# by the CMake build system in order to
Expand Down Expand Up @@ -72,7 +78,7 @@ IF(NC_DPKG)
ENDMACRO(getdpkg_arch)
getdpkg_arch(dpkg_arch)

SET(CPACK_DEBIAN_PACKAGE_NAME "netcdf4-dev")
SET(CPACK_DEBIAN_PACKAGE_NAME "netcdf4-dev")
SET(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "${dpkg_arch}")
SET(CPACK_DEBIAN_PACKAGE_DEPENDS "zlib1g (>= 1:1.2.3.4), libhdf5-7 (>= 1.8.11), libcurl4-openssl-dev (>= 7.22.0)")
ENDIF()
Expand Down Expand Up @@ -127,4 +133,4 @@ set(CPACK_COMPONENT_DEPENDENCIES_DESCRIPTION
set(CPACK_COMPONENT_DOCUMENTATION_DESCRIPTION
"The NetCDF-C user documentation.")

INCLUDE(CPack)
INCLUDE(CPack)
8 changes: 7 additions & 1 deletion CTestConfig.cmake.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
## This file should be placed in the root directory of your project.
# Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014,
# 2015, 2016, 2017, 2018
# University Corporation for Atmospheric Research/Unidata.

# See netcdf-c/COPYRIGHT file for more info.
# This file should be placed in the root directory of your project.
## Then modify the CMakeLists.txt file in the root directory of your
## project to incorporate the testing dashboard.
##
Expand Down
6 changes: 6 additions & 0 deletions CTestCustom.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014,
# 2015, 2016, 2017, 2018
# University Corporation for Atmospheric Research/Unidata.

# See netcdf-c/COPYRIGHT file for more info.
## This file is used to customize CTest.
## See:
##
Expand Down
6 changes: 6 additions & 0 deletions FixBundle.cmake.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014,
# 2015, 2016, 2017, 2018
# University Corporation for Atmospheric Research/Unidata.

# See netcdf-c/COPYRIGHT file for more info.
INCLUDE(BundleUtilities)

# Set bundle to the full path name of the executable
Expand Down
6 changes: 6 additions & 0 deletions cmake_uninstall.cmake.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014,
# 2015, 2016, 2017, 2018
# University Corporation for Atmospheric Research/Unidata.

# See netcdf-c/COPYRIGHT file for more info.
CMAKE_POLICY(SET CMP0007 OLD)

if (NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
Expand Down
10 changes: 10 additions & 0 deletions config.h.cmake.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*! \file

Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014,
2015, 2016, 2017, 2018
University Corporation for Atmospheric Research/Unidata.

See \ref copyright file for more info.

*/
#ifndef CONFIG_H
#define CONFIG_H

Expand Down
14 changes: 5 additions & 9 deletions lib_flags.am
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
# This is part of the netCDF package.
# Copyright 2005 University Corporation for Atmospheric Research/Unidata
# Copyright 2018 University Corporation for Atmospheric Research/Unidata
# See COPYRIGHT file for conditions of use.
#
#
# Assemble the CPPFLAGS and LDFLAGS that point to all the needed
# libraries for netCDF-4.
#

AM_CPPFLAGS = -I$(top_srcdir)/include
AM_LDFLAGS =
AM_CPPFLAGS = -I$(top_srcdir)/include
AM_LDFLAGS =

if USE_DAP
AM_CPPFLAGS += -I${top_srcdir}/oc2
endif

AM_TESTS_ENVIRONMENT = export TOPSRCDIR=${abs_top_srcdir}; export TOPBUILDDIR=${abs_top_builddir};




AM_TESTS_ENVIRONMENT = export TOPSRCDIR=${abs_top_srcdir}; export TOPBUILDDIR=${abs_top_builddir};
6 changes: 6 additions & 0 deletions plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014,
# 2015, 2016, 2017, 2018
# University Corporation for Atmospheric Research/Unidata.

# See netcdf-c/COPYRIGHT file for more info.
SET(CMAKE_BUILD_TYPE "")

SET(libbzip2_SOURCES blocksort.c huffman.c crctable.c randtable.c compress.c decompress.c bzlib.c H5Zbzip2.c)
Expand Down
7 changes: 7 additions & 0 deletions test_common.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014,
# 2015, 2016, 2017, 2018
# University Corporation for Atmospheric Research/Unidata.

# See netcdf-c/COPYRIGHT file for more info.

TOPSRCDIR='@abs_top_srcdir@'
TOPBUILDDIR='@abs_top_builddir@'

Expand Down
4 changes: 2 additions & 2 deletions test_prog.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/* This is part of Unidata's netCDF package. Copyright 2009.
/* This is part of Unidata's netCDF package. Copyright 2018.
This is a test program for the nc-config utility. */
#include <netcdf.h>
#include <stdio.h>

int
main()
main()
{
printf("NetCDF version: %s\n", nc_inq_libvers());
printf("*** SUCCESS!\n");
Expand Down

0 comments on commit 05818ac

Please sign in to comment.