From a655b6dc7351d9ae7d753134928d2f20fc23a7ce Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Sun, 7 Jul 2002 12:34:37 +0000 Subject: add HDF5 1.4.4 A New Generation of HDF --- science/hdf5/files/mfhdf/libsrc/Makefile | 45 -------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 science/hdf5/files/mfhdf/libsrc/Makefile (limited to 'science/hdf5/files/mfhdf/libsrc') diff --git a/science/hdf5/files/mfhdf/libsrc/Makefile b/science/hdf5/files/mfhdf/libsrc/Makefile deleted file mode 100644 index 092102faa53c..000000000000 --- a/science/hdf5/files/mfhdf/libsrc/Makefile +++ /dev/null @@ -1,45 +0,0 @@ -# $FreeBSD$ - -.PATH: ${.CURDIR} ${.CURDIR}/../fortran/config ${.CURDIR}/../fortran - -SRCS = array.c attr.c cdf.c dim.c file.c iarray.c error.c \ - globdef.c putget.c putgetg.c sharray.c string.c var.c \ - hdfsds.c mfsd.c nssdc.c xdrposix.c \ - jackets-fbsd.c mfsdf.c mfsdff.f - -LIB = mfhdf -SHLIB_MAJOR = 2 -SHLIB_MINOR = 3 - -LIBDIR = ${PREFIX}/lib - -# uncomment the line below to avoid building static libraries -#INTERNALLIB = Yes -# comment out the line below to build the profile libs -NOPROFILE=yes - -CFLAGS += -DNDEBUG -DHDF -I${.CURDIR}/../../hdf/src -I${.CURDIR} -.if ${MACHINE_ARCH} == "i386" -CFLAGS += -DSWAP -.endif - -LDADD += -L${.CURDIR}/../../hdf/src -ldf -LDFLAGS += -L. -l${LIB} ${LDADD} - -afterinstall: - install -c -o root -g wheel -m 444 hdf2netcdf.h local_nc.h \ - mfhdf.h netcdf.h ${PREFIX}/include - -.include - -test: ${SHLIB_NAME} cdftest hdftest - env LD_LIBRARY_PATH=${.CURDIR}:${.CURDIR}/../../hdf/src ./cdftest > cdfout.new - @diff cdfout.new testout.sav && \ - echo "*** netCDF passes formatted test ***" || \ - (echo "*** netCDF fails formatted test ***" ; \ - echo "The above differences are OK if small") - env LD_LIBRARY_PATH=${.CURDIR}:${.CURDIR}/../../hdf/src ./hdftest > hdfout.new - @diff hdfout.new hdfout.sav && \ - echo "*** HDF passes formatted test ***" || \ - (echo "*** HDF fails formatted test ***" ; \ - echo "The above differences are OK if small") -- cgit v1.2.3