forked from Unidata/netcdf-c
/
Makefile.am
79 lines (69 loc) · 1.46 KB
/
Makefile.am
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
## 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 libdap2. Whatever that
# is!
# Put together AM_CPPFLAGS and AM_LDFLAGS.
include $(top_srcdir)/lib_flags.am
# We may have to add to these later.
DISTCLEANFILES =
MAINTAINERCLEANFILES =
CLEANFILES =
EXTRA_DIST = CMakeLists.txt
LDADD=
SRC= \
d4crc32.c \
d4curlfunctions.c \
d4curlflags.c \
d4fix.c \
d4data.c \
d4file.c \
d4parser.c \
d4meta.c \
d4varx.c \
d4dump.c \
d4swap.c \
d4chunk.c \
d4printer.c \
d4read.c \
d4http.c \
d4util.c \
d4odom.c \
d4cvt.c \
d4debug.c \
ncd4dispatch.c \
ezxml_extra.c \
ezxml.c
HDRS= \
ncd4dispatch.h \
ncd4types.h \
ncd4.h \
d4chunk.h \
d4http.h \
d4read.h \
d4curlfunctions.h \
d4util.h \
d4debug.h \
d4odom.h \
d4bytes.h \
d4includes.h \
ezxml.h
if ENABLE_DAP4
if USE_NETCDF4
AM_CPPFLAGS += -I$(top_srcdir)/libsrc4
endif
# Build convenience library
noinst_LTLIBRARIES = libdap4.la
libdap4_la_SOURCES = $(SRC) $(HDRS)
libdap4_la_CPPFLAGS = $(AM_CPPFLAGS)
libdap4_la_LIBADD =
endif # ENABLE_DAP4
# Show what is needed to insert a new version of ezxml
# primary fix: The original ezxml.[ch] uses '//' comments;
# unpack and replace with '/*..*/'
EZXML=ezxml-0.8.6.tar.gz
ezxml::
rm -fr ./ezxml ./ezxml.[ch] ./license.txt
tar -zxf ./${EZXML}
sed -e 's|//\(.*\)|/*\1*/|' <ezxml/ezxml.c >./ezxml.c
sed -e 's|//\(.*\)|/*\1*/|' <ezxml/ezxml.h >./ezxml.h
cp ezxml/license.txt .