File: Makefile.am

package info (click to toggle)
netcdf-cxx 4.3.0+ds-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 3,028 kB
  • sloc: sh: 11,553; cpp: 8,167; xml: 173; ansic: 134; makefile: 109
file content (37 lines) | stat: -rw-r--r-- 1,432 bytes parent folder | download | duplicates (2)
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
## This is a automake file, part of Unidata's netCDF package.
# Copyright 2006, see the COPYRIGHT file for more information.

# This file builds CXX4 examples.

AM_LDFLAGS = ${top_builddir}/cxx4/libnetcdf_c++4.la
AM_CPPFLAGS = -I${top_srcdir}/cxx4
LDADD = -lnetcdf

# These are the example programs.
TESTPROGRAMS = simple_xy_wr sfc_pres_temp_wr pres_temp_4D_wr		\
 pres_temp_4D_rd simple_xy_rd sfc_pres_temp_rd simple_xy_wr_formats
check_PROGRAMS = $(TESTPROGRAMS)

# Ship also this script, which compares the output of these C++
# examples with the output of the C examples. The output data files
# are identical.
EXTRA_DIST = do_comps.sh

# Here's the source code for the programs.
simple_xy_wr_SOURCES = simple_xy_wr.cpp
simple_xy_rd_SOURCES = simple_xy_rd.cpp
sfc_pres_temp_wr_SOURCES = sfc_pres_temp_wr.cpp
sfc_pres_temp_rd_SOURCES = sfc_pres_temp_rd.cpp
pres_temp_4D_wr_SOURCES = pres_temp_4D_wr.cpp
pres_temp_4D_rd_SOURCES = pres_temp_4D_rd.cpp
simple_xy_wr_formats_SOURCES = simple_xy_wr_formats.cpp

# Run all example programs, plus the do_comps.sh script, which checks
# that all the output files are the same as the C example output
# files.
TESTS = $(TESTPROGRAMS) #do_comps.sh

# Cleaning up files created during the process.
CLEANFILES = simple_xy.nc sfc_pres_temp.nc pres_temp_4D.nc		\
tmp-test.cdl tmp-ref.cdl simple_xy_classic.nc simple_xy_classic64.nc	\
simple_xy_nc4.nc simple_xy_nc4cm.nc simple_xy_nc4classic.nc