diff options
author | Steve Price <steve@FreeBSD.org> | 1999-11-14 02:32:21 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1999-11-14 02:32:21 +0000 |
commit | b0628da359513a9ece6addf3853a3d89aa255cda (patch) | |
tree | e560756285d43fdb29ffef8e65e31497d442fea8 /graphics/hdf/files/mfhdf/ncdump | |
parent | Remove the ^M's in all the files, install a startup script, (diff) |
Update to version 4.1r3.
PR: 14717
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=23083
Diffstat (limited to 'graphics/hdf/files/mfhdf/ncdump')
-rw-r--r-- | graphics/hdf/files/mfhdf/ncdump/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/graphics/hdf/files/mfhdf/ncdump/Makefile b/graphics/hdf/files/mfhdf/ncdump/Makefile new file mode 100644 index 000000000000..727b1de60b32 --- /dev/null +++ b/graphics/hdf/files/mfhdf/ncdump/Makefile @@ -0,0 +1,22 @@ +# $FreeBSD$ + +PROG = ncdump +MANDIR = ${PREFIX}/man/man + +LDFLAGS += -L${.CURDIR}/../libsrc -L${.CURDIR}/../../hdf/src -lmfhdf -ldf +CFLAGS += -I${.CURDIR}/../libsrc +SRCS = ncdump.c vardata.c dumplib.c + +.include <bsd.prog.mk> + +ENVIR = env LD_LIBRARY_PATH=${.CURDIR}/../../hdf/src:${.CURDIR}/../libsrc +NCGEN = ${.CURDIR}/../ncgen/ncgen + +test: $(PROG) test0.cdl + ${ENVIR} $(NCGEN) -o test0.nc -n test0.cdl + ${ENVIR} ./$(PROG) test0.nc > test1.cdl + ${ENVIR} $(NCGEN) -o test1.nc -n test1.cdl + ${ENVIR} ./$(PROG) -n test0 test1.nc > test2.cdl + @cmp test1.cdl test2.cdl && \ + echo "*** $(PROGRAM) test successful ***" ; \ + rm test1.cdl test1.nc test2.cdl |