summaryrefslogtreecommitdiff
path: root/devel/hdf/patches/patch-ah
blob: 5a8b1559d362a0ff16af6a01f17b5f49ac711d9f (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
$NetBSD: patch-ah,v 1.6 2002/05/03 23:14:52 jtb Exp $

--- /dev/null	Wed May  1 14:04:01 2002
+++ mfhdf/dumper/Makefile	Wed May  1 14:10:17 2002
@@ -0,0 +1,23 @@
+PROG= hdp
+
+SRCS= hdp.c hdp_list.c hdp_sds.c hdp_util.c hdp_vd.c hdp_vg.c	\
+	hdp_rig.c show.c hdp_dump.c hdp_gr.c
+
+BINDIR= ${PREFIX}/bin
+LIBDIR= ${PREFIX}/lib
+
+CPPFLAGS+= -Dunix
+CPPFLAGS+= -I${.CURDIR}/../libsrc
+CPPFLAGS+= -I${.CURDIR}/../../hdf/src
+
+LDFLAGS+= -L${.CURDIR}/../libsrc
+LDFLAGS+= -L${.CURDIR}/../../hdf/src
+LDFLAGS+= -Wl,-R${BUILDLINK_PREFIX.jpeg}/lib
+LDFLAGS+= -Wl,-R${BUILDLINK_PREFIX.zlib}/lib
+
+LDADD+= -lmfhdf -ldf -ljpeg -lz -lm
+
+NOMAN= 1
+NOGCCERROR= 1
+
+.include <bsd.prog.mk>