summaryrefslogtreecommitdiff
path: root/devel/hdf/patches/patch-an
blob: cec19a09653a7534ac8ae5af062696307858640b (plain)
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
$NetBSD: patch-an,v 1.2 2001/03/25 01:09:51 jtb Exp $

--- /dev/null	Sun Mar 25 00:39:12 2001
+++ mfhdf/nctest/Makefile
@@ -0,0 +1,25 @@
+PROG= nctest
+
+SRCS = varget.c vargetg.c varput.c varputg.c vardef.c vartests.c	\
+	vputget.c vputgetg.c driver.c cdftests.c dimtests.c rec.c	\
+	atttests.c misctest.c add.c error.c emalloc.c val.c slabs.c
+
+CPPFLAGS+= -Dunix -DNDEBUG
+CPPFLAGS+= -I${.CURDIR}/../../hdf/src
+CPPFLAGS+= -I${.CURDIR}/../libsrc
+
+LDFLAGS+= -L${.CURDIR}/../libsrc
+LDFLAGS+= -L${.CURDIR}/../../hdf/src
+LDFLAGS+= -Wl,-R${JPEGBASE}/lib -L${JPEGBASE}/lib
+
+LDADD+= -lmfhdf -ldf -ljpeg -lz -lm
+
+NOMAN= 1
+
+test:		$(PROG)
+	@ echo "==========================="
+	@ echo "netCDF C interface tests"
+	@ echo "==========================="
+	./$(PROG)
+
+.include <bsd.prog.mk>