summaryrefslogtreecommitdiff
path: root/devel/hdf/patches/patch-ad
blob: 72143292f621a5d4a5dc7330739d1eb046130037 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
$NetBSD: patch-ad,v 1.3 2001/03/19 13:37:29 dmcmahill Exp $

--- /dev/null	Fri Mar  9 22:24:17 2001
+++ hdf/src/Makefile
@@ -0,0 +1,56 @@
+LIB= df
+
+SHLIB_MAJOR= 0
+SHLIB_MINOR= 0
+
+LIBDIR= ${PREFIX}/lib
+
+JPEGLIB= -R${JPEGBASE}/lib -L${JPEGBASE}/lib -ljpeg
+JPEGINC= -I${JPEGBASE}/include
+ZLIB= -lz
+F2CLIB= -L${F2CBASE}/lib -lf2c
+F2CINC= -I${F2CBASE}/include
+
+CPPFLAGS+= -Dunix -DMEM_LIST ${JPEGINC} ${F2CINC}
+
+.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "sparc64")
+CPPFLAGS+= -DBIG_LONGS
+.endif
+
+LDADD+= ${JPEGLIB} ${ZLIB} ${F2CLIB} -lm
+
+NOLINT= 1
+MKPICINSTALL= no
+MKPROFILE= no
+
+NOGCCERROR= 1
+
+SRCS= atom.c bitvect.c cdeflate.c cnbit.c cnone.c crle.c cskphuff.c	\
+	df24.c df24f.c dfan.c dfanf.c dfcomp.c dfconv.c dff.c dfgr.c	\
+	dfgroup.c dfimcomp.c dfjpeg.c dfkconv.c dfkcray.c dfkfuji.c	\
+	dfknat.c dfkswap.c dfkvms.c dfp.c dfpf.c dfr8.c dfr8f.c dfrle.c	\
+	dfsd.c dfsdf.c dfstubs.c dfufp2i.c dfunjpeg.c dfutil.c dfutilf.c\
+	dir_mac.c dynarray.c glist.c hbitio.c hblocks.c hbuffer.c	\
+	hchunks.c hcomp.c hcompri.c hdfalloc.c herr.c herrf.c hextelt.c	\
+	hfile.c hfiledd.c hfilef.c hkit.c linklist.c mcache.c		\
+	mfan.c mfanf.c mfgr.c mfgrf.c mstdio.c tbbt.c vattr.c vattrf.c	\
+	vconv.c vg.c vgf.c vgp.c vhi.c vio.c vparse.c vrw.c vsfld.c	\
+	df24ff.c dfanff.c dfff.c dfpff.c dfr8ff.c dfsdff.c dfufp2if.c	\
+	hfileff.c mfgrff.c vattrff.c vgff.c
+
+INCLUDES= atom.h bitvect.h cdeflate.h cnbit.h cnone.h crle.h cskphuff.h	\
+	df.h dfan.h dfconvrt.h dffunc.inc dfgr.h dfi.h dfivms.h	dfrig.h	\
+	dfsd.h dfstubs.h dfufp2i.h dir_mac.h dynarray.h glist.h		\
+	hbitio.h hchunks.h hcomp.h hcompi.h hconv.h hdf.h hdf.inc	\
+	hdfi.h herr.h hfile.h hkit.h hlimits.h hntdefs.h hproto.h	\
+	hqueue.h htags.h linklist.h maldebug.h mcache.h mfan.h mfgr.h	\
+	mstdio.h patchlevel.h src.inc sys_dir_mac.h tbbt.h trace.h	\
+	vattr.h vg.h vgint.h
+
+afterinstall:
+	${BSD_INSTALL_DATA_DIR} ${PREFIX}/include/hdf
+	for f in ${INCLUDES}; do					\
+		${BSD_INSTALL_DATA} $$f ${PREFIX}/include/hdf/$$f;	\
+	done
+
+.include <bsd.lib.mk>