mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
dc9e31df68
The problem was that for opendap, it is possible to use keywords as identifiers when there is no ambiguity. However, the DAP2 parser lost the case of the identifier used the lower case version. Fix is to use the actual text of the symbol when it is used as an identifier. Also added a test case for this (kwcase.*). Additionally cleaned up some misc. dap2 testing problems. 1. ncdap_test/tst_ncdap3.sh was using an empty test set. restored the testing of datasets. 2. as a consequence of #1, some tests needed to be updated with minor tweeks. 3. fix dapmerge to handle multiple DODS_EXTRAS attributes. 4. modify buildattribute to suppress nul characters and terminate the name at the first nul. 5. clean up various test scripts to remove residual, unused references to obsolete netcdf-4 translation. 6. export e.g. NCDUMP from test_common.in so that non-top-level shell scripts can access it.
49 lines
1.4 KiB
Makefile
49 lines
1.4 KiB
Makefile
## This is a automake file, part of Unidata's netCDF package.
|
|
# Copyright 2005, see the COPYRIGHT file for more information.
|
|
|
|
# This automake file generates the Makefile to build netCDF-4. The
|
|
# generated makefile is not run unless the user selected to build
|
|
# netCDF-4.
|
|
|
|
# $Id: Makefile.am,v 1.1 2010/05/23 21:05:33 dmh Exp $
|
|
|
|
# Cause C preprocessor to search current and parent directory.
|
|
AM_CPPFLAGS = -I.. -I$(top_srcdir) -I$(top_srcdir)/include
|
|
|
|
# OC Sources; include the dapy.[ch] to avoid the need for bison by user
|
|
SRC=oc.c \
|
|
daplex.c dapparse.c dapy.c \
|
|
occlientparams.c occompile.c occurlfunctions.c \
|
|
ocdata.c ocdebug.c ocdump.c \
|
|
ocinternal.c ocnode.c \
|
|
ochttp.c \
|
|
ocrc.c ocread.c ocutil.c \
|
|
occurlflags.c \
|
|
xxdr.c
|
|
|
|
HDRS=oc.h ocx.h \
|
|
dapparselex.h dapy.h \
|
|
occlientparams.h occompile.h occonstraints.h occurlfunctions.h \
|
|
ocdata.h ocdatatypes.h ocdebug.h ocdump.h \
|
|
ocinternal.h ocnode.h \
|
|
ochttp.h ocread.h ocutil.h \
|
|
xxdr.h
|
|
|
|
EXTRA_DIST = dap.y CMakeLists.txt auth.html.in oc.css
|
|
|
|
noinst_LTLIBRARIES = liboc.la
|
|
liboc_la_SOURCES = $(SRC) $(HDRS)
|
|
liboc_la_CPPFLAGS = $(AM_CPPFLAGS)
|
|
|
|
# These rule are used if someone wants to rebuild the grammar files.
|
|
# Otherwise never invoked, but records how to do it.
|
|
# BTW: note that renaming is essential because otherwise
|
|
# autoconf will forcibly delete files of the name *.tab.*
|
|
|
|
.PHONEY: bison
|
|
|
|
bison:: dap.y
|
|
rm -f dap.tab.c dap.tab.h
|
|
bison --debug -d -p dap dap.y
|
|
mv dap.tab.c dapy.c; mv dap.tab.h dapy.h
|