summaryrefslogtreecommitdiff
path: root/devel/hdf/patches/patch-ah
blob: 0ec38b9ab8a91ac644fbcac49440e70cf5961a82 (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
$NetBSD: patch-ah,v 1.5 2001/04/19 00:56:34 jtb Exp $

--- /dev/null	Sun Mar 25 00:38:33 2001
+++ mfhdf/dumper/Makefile
@@ -0,0 +1,22 @@
+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${JPEGBASE}/lib -L${JPEGBASE}/lib
+
+LDADD+= -lmfhdf -ldf -ljpeg -lz -lm
+
+NOMAN= 1
+NOGCCERROR= 1
+
+.include <bsd.prog.mk>