summaryrefslogtreecommitdiff
path: root/devel/hdf/patches/patch-ah
blob: e6303e385639946890fa01173c644b77d458634c (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
$NetBSD: patch-ah,v 1.2 2001/03/09 22:47:44 jtb Exp $

--- /dev/null	Fri Mar  9 22:24:34 2001
+++ mfhdf/dumper/Makefile
@@ -0,0 +1,20 @@
+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
+
+JPEGLIB= -R{JPEGBASE}/lib -L${JPEGBASE}/lib -ljpeg
+HDFLIB= -L${.CURDIR}/../../hdf/src -ldf
+MFHDFLIB= -L${.CURDIR}/../libsrc -lmfhdf
+
+LDFLAGS+= -Wl,-R{LIBDIR} ${HDFLIB} ${MFHDFLIB} ${JPEGLIB}
+
+CPPFLAGS+= -Dunix @SWAP@ -I${.CURDIR}/../libsrc -I${.CURDIR}/../../hdf/src
+
+NOMAN= 1
+NOGCCERROR= 1
+
+.include <bsd.prog.mk>