2012-08-01 04:34:13 +08:00
|
|
|
## 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.
|
2013-03-16 04:31:07 +08:00
|
|
|
AM_CPPFLAGS = -I.. -I$(top_srcdir) -I$(top_srcdir)/include
|
2012-08-01 04:34:13 +08:00
|
|
|
|
2015-11-30 11:38:12 +08:00
|
|
|
# OC Sources; include the dapy.[ch] to avoid the need for bison by user
|
2012-08-01 04:34:13 +08:00
|
|
|
SRC=oc.c \
|
2015-11-30 11:38:12 +08:00
|
|
|
daplex.c dapparse.c dapy.c \
|
2017-11-02 09:48:51 +08:00
|
|
|
occompile.c occurlfunctions.c \
|
2012-08-01 04:34:13 +08:00
|
|
|
ocdata.c ocdebug.c ocdump.c \
|
|
|
|
ocinternal.c ocnode.c \
|
|
|
|
ochttp.c \
|
2017-08-31 07:44:57 +08:00
|
|
|
ocread.c ocutil.c \
|
2012-08-01 04:34:13 +08:00
|
|
|
xxdr.c
|
|
|
|
|
|
|
|
HDRS=oc.h ocx.h \
|
2015-11-30 11:38:12 +08:00
|
|
|
dapparselex.h dapy.h \
|
2017-11-02 09:48:51 +08:00
|
|
|
occompile.h occonstraints.h occurlfunctions.h \
|
2012-08-01 04:34:13 +08:00
|
|
|
ocdata.h ocdatatypes.h ocdebug.h ocdump.h \
|
|
|
|
ocinternal.h ocnode.h \
|
2014-12-25 01:22:47 +08:00
|
|
|
ochttp.h ocread.h ocutil.h \
|
2012-08-01 04:34:13 +08:00
|
|
|
xxdr.h
|
|
|
|
|
2015-10-25 11:45:13 +08:00
|
|
|
EXTRA_DIST = dap.y CMakeLists.txt auth.html.in oc.css
|
2013-01-31 11:34:59 +08:00
|
|
|
|
2012-08-01 04:34:13 +08:00
|
|
|
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
|
2015-11-30 11:38:12 +08:00
|
|
|
mv dap.tab.c dapy.c; mv dap.tab.h dapy.h
|