head 1.9; access; symbols pkgsrc-2022Q1:1.8.0.100 pkgsrc-2022Q1-base:1.8 pkgsrc-2021Q4:1.8.0.98 pkgsrc-2021Q4-base:1.8 pkgsrc-2021Q3:1.8.0.96 pkgsrc-2021Q3-base:1.8 pkgsrc-2021Q2:1.8.0.94 pkgsrc-2021Q2-base:1.8 pkgsrc-2021Q1:1.8.0.92 pkgsrc-2021Q1-base:1.8 pkgsrc-2020Q4:1.8.0.90 pkgsrc-2020Q4-base:1.8 pkgsrc-2020Q3:1.8.0.88 pkgsrc-2020Q3-base:1.8 pkgsrc-2020Q2:1.8.0.84 pkgsrc-2020Q2-base:1.8 pkgsrc-2020Q1:1.8.0.64 pkgsrc-2020Q1-base:1.8 pkgsrc-2019Q4:1.8.0.86 pkgsrc-2019Q4-base:1.8 pkgsrc-2019Q3:1.8.0.82 pkgsrc-2019Q3-base:1.8 pkgsrc-2019Q2:1.8.0.80 pkgsrc-2019Q2-base:1.8 pkgsrc-2019Q1:1.8.0.78 pkgsrc-2019Q1-base:1.8 pkgsrc-2018Q4:1.8.0.76 pkgsrc-2018Q4-base:1.8 pkgsrc-2018Q3:1.8.0.74 pkgsrc-2018Q3-base:1.8 pkgsrc-2018Q2:1.8.0.72 pkgsrc-2018Q2-base:1.8 pkgsrc-2018Q1:1.8.0.70 pkgsrc-2018Q1-base:1.8 pkgsrc-2017Q4:1.8.0.68 pkgsrc-2017Q4-base:1.8 pkgsrc-2017Q3:1.8.0.66 pkgsrc-2017Q3-base:1.8 pkgsrc-2017Q2:1.8.0.62 pkgsrc-2017Q2-base:1.8 pkgsrc-2017Q1:1.8.0.60 pkgsrc-2017Q1-base:1.8 pkgsrc-2016Q4:1.8.0.58 pkgsrc-2016Q4-base:1.8 pkgsrc-2016Q3:1.8.0.56 pkgsrc-2016Q3-base:1.8 pkgsrc-2016Q2:1.8.0.54 pkgsrc-2016Q2-base:1.8 pkgsrc-2016Q1:1.8.0.52 pkgsrc-2016Q1-base:1.8 pkgsrc-2015Q4:1.8.0.50 pkgsrc-2015Q4-base:1.8 pkgsrc-2015Q3:1.8.0.48 pkgsrc-2015Q3-base:1.8 pkgsrc-2015Q2:1.8.0.46 pkgsrc-2015Q2-base:1.8 pkgsrc-2015Q1:1.8.0.44 pkgsrc-2015Q1-base:1.8 pkgsrc-2014Q4:1.8.0.42 pkgsrc-2014Q4-base:1.8 pkgsrc-2014Q3:1.8.0.40 pkgsrc-2014Q3-base:1.8 pkgsrc-2014Q2:1.8.0.38 pkgsrc-2014Q2-base:1.8 pkgsrc-2014Q1:1.8.0.36 pkgsrc-2014Q1-base:1.8 pkgsrc-2013Q4:1.8.0.34 pkgsrc-2013Q4-base:1.8 pkgsrc-2013Q3:1.8.0.32 pkgsrc-2013Q3-base:1.8 pkgsrc-2013Q2:1.8.0.30 pkgsrc-2013Q2-base:1.8 pkgsrc-2013Q1:1.8.0.28 pkgsrc-2013Q1-base:1.8 pkgsrc-2012Q4:1.8.0.26 pkgsrc-2012Q4-base:1.8 pkgsrc-2012Q3:1.8.0.24 pkgsrc-2012Q3-base:1.8 pkgsrc-2012Q2:1.8.0.22 pkgsrc-2012Q2-base:1.8 pkgsrc-2012Q1:1.8.0.20 pkgsrc-2012Q1-base:1.8 pkgsrc-2011Q4:1.8.0.18 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q3:1.8.0.16 pkgsrc-2011Q3-base:1.8 pkgsrc-2011Q2:1.8.0.14 pkgsrc-2011Q2-base:1.8 pkgsrc-2011Q1:1.8.0.12 pkgsrc-2011Q1-base:1.8 pkgsrc-2010Q4:1.8.0.10 pkgsrc-2010Q4-base:1.8 pkgsrc-2010Q3:1.8.0.8 pkgsrc-2010Q3-base:1.8 pkgsrc-2010Q2:1.8.0.6 pkgsrc-2010Q2-base:1.8 pkgsrc-2010Q1:1.8.0.4 pkgsrc-2010Q1-base:1.8 pkgsrc-2009Q4:1.8.0.2 pkgsrc-2009Q4-base:1.8 pkgsrc-2009Q3:1.7.0.42 pkgsrc-2009Q3-base:1.7 pkgsrc-2009Q2:1.7.0.40 pkgsrc-2009Q2-base:1.7 pkgsrc-2009Q1:1.7.0.38 pkgsrc-2009Q1-base:1.7 pkgsrc-2008Q4:1.7.0.36 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.7.0.34 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.32 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.7.0.30 pkgsrc-2008Q2-base:1.7 cwrapper:1.7.0.28 pkgsrc-2008Q1:1.7.0.26 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.24 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.7.0.22 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.7.0.20 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.7.0.18 pkgsrc-2007Q1-base:1.7 pkgsrc-2006Q4:1.7.0.16 pkgsrc-2006Q4-base:1.7 pkgsrc-2006Q3:1.7.0.14 pkgsrc-2006Q3-base:1.7 pkgsrc-2006Q2:1.7.0.12 pkgsrc-2006Q2-base:1.7 pkgsrc-2006Q1:1.7.0.10 pkgsrc-2006Q1-base:1.7 pkgsrc-2005Q4:1.7.0.8 pkgsrc-2005Q4-base:1.7 pkgsrc-2005Q3:1.7.0.6 pkgsrc-2005Q3-base:1.7 pkgsrc-2005Q2:1.7.0.4 pkgsrc-2005Q2-base:1.7 pkgsrc-2005Q1:1.7.0.2 pkgsrc-2005Q1-base:1.7 pkgsrc-2004Q4:1.6.0.6 pkgsrc-2004Q4-base:1.6 pkgsrc-2004Q3:1.6.0.4 pkgsrc-2004Q3-base:1.6 pkgsrc-2004Q2:1.6.0.2 pkgsrc-2004Q2-base:1.6 pkgsrc-2004Q1:1.5.0.12 pkgsrc-2004Q1-base:1.5 pkgsrc-2003Q4:1.5.0.10 pkgsrc-2003Q4-base:1.5 netbsd-1-6-1:1.5.0.6 netbsd-1-6-1-base:1.5 netbsd-1-6:1.5.0.8 netbsd-1-6-RELEASE-base:1.5 pkgviews:1.5.0.4 pkgviews-base:1.5 buildlink2:1.5.0.2 buildlink2-base:1.5 netbsd-1-5-PATCH003:1.4 netbsd-1-5-PATCH001:1.4 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.9 date 2022.04.24.21.50.48; author tnn; state dead; branches; next 1.8; commitid 9Yaf0aGfWGRg7vBD; 1.8 date 2009.12.10.17.10.14; author drochner; state Exp; branches; next 1.7; 1.7 date 2005.02.24.16.25.38; author adam; state Exp; branches; next 1.6; 1.6 date 2004.04.20.18.14.37; author drochner; state Exp; branches; next 1.5; 1.5 date 2002.05.03.23.14.52; author jtb; state Exp; branches; next 1.4; 1.4 date 2001.04.19.00.56.34; author jtb; state Exp; branches; next 1.3; 1.3 date 2001.03.25.01.09.51; author jtb; state Exp; branches; next 1.2; 1.2 date 2001.03.09.22.47.44; author jtb; state Exp; branches; next 1.1; 1.1 date 2001.02.28.22.18.41; author jtb; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.02.28.22.18.41; author jtb; state Exp; branches; next ; desc @@ 1.9 log @hdf: update to 4.2.15 Fix MASTER_SITES and HOMEPAGE. Fix the build with gfortran 10. Remove some obsolete patches. Other changes unknown. @ text @$NetBSD: patch-aj,v 1.8 2009/12/10 17:10:14 drochner Exp $ --- mfhdf/ncgen/Makefile.in.orig 2008-10-13 21:39:11.000000000 +0200 +++ mfhdf/ncgen/Makefile.in @@@@ -37,7 +37,7 @@@@ build_triplet = @@build@@ host_triplet = @@host@@ DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(top_srcdir)/config/commence.am -bin_PROGRAMS = ncgen$(EXEEXT) +bin_PROGRAMS = hdfncgen$(EXEEXT) @@HDF_BUILD_FORTRAN_FALSE@@@@HDF_BUILD_NETCDF_TRUE@@noinst_PROGRAMS = ctest0$(EXEEXT) @@HDF_BUILD_FORTRAN_TRUE@@@@HDF_BUILD_NETCDF_TRUE@@noinst_PROGRAMS = ctest0$(EXEEXT) \ @@HDF_BUILD_FORTRAN_TRUE@@@@HDF_BUILD_NETCDF_TRUE@@ ftest0$(EXEEXT) @@@@ -242,11 +242,11 @@@@ ftest0_SOURCES = ############################################################################# ############################################################################# -man1_MANS = ncgen.1 +man1_MANS = hdfncgen.1 ############################################################################# ############################################################################# -NCDUMP = ../ncdump/ncdump +NCDUMP = ../ncdump/hdfncdump ############################################################################# ############################################################################# @@@@ -328,7 +328,7 @@@@ clean-noinstPROGRAMS: @@HDF_BUILD_NETCDF_FALSE@@ftest0$(EXEEXT): $(ftest0_OBJECTS) $(ftest0_DEPENDENCIES) @@HDF_BUILD_NETCDF_FALSE@@ @@rm -f ftest0$(EXEEXT) @@HDF_BUILD_NETCDF_FALSE@@ $(LINK) $(ftest0_OBJECTS) $(ftest0_LDADD) $(LIBS) -ncgen$(EXEEXT): $(ncgen_OBJECTS) $(ncgen_DEPENDENCIES) +hdfncgen$(EXEEXT): $(ncgen_OBJECTS) $(ncgen_DEPENDENCIES) @@rm -f ncgen$(EXEEXT) $(LINK) $(ncgen_OBJECTS) $(ncgen_LDADD) $(LIBS) @@@@ -613,13 +613,13 @@@@ ncgenyy.c: ncgen.l $(LEX) $(srcdir)/ncgen.l mv lex.yy.c ncgenyy.c -@@HDF_BUILD_FORTRAN_TRUE@@@@HDF_BUILD_NETCDF_TRUE@@check: ncgen $(srcdir)/test0.cdl b-check c-check f-check -@@HDF_BUILD_FORTRAN_FALSE@@@@HDF_BUILD_NETCDF_TRUE@@check: ncgen $(srcdir)/test0.cdl b-check c-check +@@HDF_BUILD_FORTRAN_TRUE@@@@HDF_BUILD_NETCDF_TRUE@@check: hdfncgen $(srcdir)/test0.cdl b-check c-check f-check +@@HDF_BUILD_FORTRAN_FALSE@@@@HDF_BUILD_NETCDF_TRUE@@check: hdfncgen $(srcdir)/test0.cdl b-check c-check -@@HDF_BUILD_NETCDF_FALSE@@check: ncgen $(srcdir)/test0.cdl b-check c-check +@@HDF_BUILD_NETCDF_FALSE@@check: hdfncgen $(srcdir)/test0.cdl b-check c-check -b-check: ncgen $(srcdir)/test0.cdl test1.cdl - $(TESTS_ENVIRONMENT) ./ncgen -b test1.cdl +b-check: hdfncgen $(srcdir)/test0.cdl test1.cdl + $(TESTS_ENVIRONMENT) ./hdfncgen -b test1.cdl $(TESTS_ENVIRONMENT) $(NCDUMP) test1.nc > test2.cdl @@if $(DIFF) test1.cdl test2.cdl; then \ echo "*** ncgen -b test successful ***"; \ @@@@ -645,8 +645,8 @@@@ c-check: test2.cdl ctest0 @@HDF_BUILD_FORTRAN_TRUE@@@@HDF_BUILD_NETCDF_TRUE@@ echo "*** ncgen -f test failed (but roundoff differences are OK) ***"; \ @@HDF_BUILD_FORTRAN_TRUE@@@@HDF_BUILD_NETCDF_TRUE@@ fi -@@HDF_BUILD_FORTRAN_TRUE@@@@HDF_BUILD_NETCDF_TRUE@@ftest0$(EXEEXT): ncgen test0.cdl netcdf.inc -@@HDF_BUILD_FORTRAN_TRUE@@@@HDF_BUILD_NETCDF_TRUE@@ $(TESTS_ENVIRONMENT) ./ncgen -f -o ftest0.nc $(srcdir)/test0.cdl > test0.f +@@HDF_BUILD_FORTRAN_TRUE@@@@HDF_BUILD_NETCDF_TRUE@@ftest0$(EXEEXT): hdfncgen test0.cdl netcdf.inc +@@HDF_BUILD_FORTRAN_TRUE@@@@HDF_BUILD_NETCDF_TRUE@@ $(TESTS_ENVIRONMENT) ./hdfncgen -f -o ftest0.nc $(srcdir)/test0.cdl > test0.f @@HDF_BUILD_FORTRAN_TRUE@@@@HDF_BUILD_NETCDF_TRUE@@ $(F77) $(FFLAGS) -o $@@ test0.f $(LDFLAGS) $(SHLIBLOC) $(LIBS) netcdf.inc: @@@@ -655,11 +655,11 @@@@ netcdf.inc: test1.cdl: test0.nc $(TESTS_ENVIRONMENT) $(NCDUMP) -n test1 test0.nc > $@@ -test0.nc: ncgen $(srcdir)/test0.cdl - $(TESTS_ENVIRONMENT) ./ncgen -b -o test0.nc $(srcdir)/test0.cdl +test0.nc: hdfncgen $(srcdir)/test0.cdl + $(TESTS_ENVIRONMENT) ./hdfncgen -b -o test0.nc $(srcdir)/test0.cdl -ctest0$(EXEEXT): ncgen $(srcdir)/test0.cdl - $(TESTS_ENVIRONMENT) ./ncgen -c -o ctest0.nc $(srcdir)/test0.cdl > test0.c +ctest0$(EXEEXT): hdfncgen $(srcdir)/test0.cdl + $(TESTS_ENVIRONMENT) ./hdfncgen -c -o ctest0.nc $(srcdir)/test0.cdl > test0.c $(COMPILE) -c -o ctest0$(EXEEXT).o test0.c $(LINK) ctest0$(EXEEXT).o $(ctest0_LDADD) $(LDFLAGS) $(SHLIBLOC) $(LIBS) @ 1.8 log @update to 4.2r4 changes: -API additions -hdp and hrepack utilities can now display more compression information -build system updates -bugfixes pkgsrc notes: -we build shared libraries now although it is officially unsupported if Fortran is enabled (works for me) -The 24-bit-jpeg selftest fails. It also failed with the previous version. (perhaps jpeg-7 related?) The test contains too much magic to tell what happens. @ text @d1 1 a1 1 $NetBSD$ @ 1.7 log @Changes 4.2r1: Configuration * By default HDF4 libraries and utilities are installed under /NewHDF * Windows configuration, build and testing procedures have been changed. Please see INSTALL_WINDOWS.txt file for more information Library * New API SDidtype was added to the library (bug #766) * HCgetcompress renamed to HCPgetcompress * New API HCget_config_info added * The default chunk cache size was changed for 2D and higher chunks * Pablo instumentation was removed Utilities * hdiff and hrepack are supported on Windows. * Substantial performance improvements in hdiff and hrepack Support for new platforms and compilers * Fortran IBM xlf v 8.1 and Absoft f95 version 8.2 compilers are supported on Mac OSX. * Absoft Fortran compiler f95 version 9.0 is supported on Linux 2.4 * PGI C and Fortran compilers are supported on Linux 2.4 * Intel C and Fortran compilers are supported on Linux 2.4 * Cray TS IEEE is supported. Bugs fixed since HDF4.2r0 * VERY IMPORTANT: Data compressed with SZIP may be corrupted; fixed. For more information see "HDF4.2r1 SZIP Release Notes" available at http://hdf.ncsa.uiuc.edu/doc_resource/SZIP/SZIP_HDF4_2r1.pdf * Fortran couldn't read names with spaces when NetCDF interfaces were used; fixed * Library failed to compile in presence of the NetCDF library; fixed * h4fc couldn't create object files; fixed * When rank of SDS is 0, some SD APIs give segmentation fault (bug 1045); fixed * Some GR images with special elements are read in as duplicate (bug 814); fixed * Many bugs fixed in hdiff and hrepack utilities @ text @d3 1 a3 1 --- mfhdf/ncgen/Makefile.in.orig 2004-12-06 23:20:34.000000000 +0000 d5 10 a14 1 @@@@ -169,7 +169,7 @@@@ ncgen_DEPENDENCIES = $(top_builddir)/hdf d21 4 d27 5 a31 13 @@@@ -188,7 +188,7 @@@@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/bin/mkinstalldirs CONFIG_HEADER = $(top_builddir)/hdf/src/h4config.h CONFIG_CLEAN_FILES = -bin_PROGRAMS = ncgen$(EXEEXT) +bin_PROGRAMS = hdfncgen$(EXEEXT) @@HDF_BUILD_FORTRAN_TRUE@@noinst_PROGRAMS = ctest0$(EXEEXT) \ @@HDF_BUILD_FORTRAN_TRUE@@ ftest0$(EXEEXT) @@HDF_BUILD_FORTRAN_FALSE@@noinst_PROGRAMS = ctest0$(EXEEXT) @@@@ -269,7 +269,7 @@@@ clean-noinstPROGRAMS: @@HDF_BUILD_FORTRAN_FALSE@@ftest0$(EXEEXT): $(ftest0_OBJECTS) $(ftest0_DEPENDENCIES) @@HDF_BUILD_FORTRAN_FALSE@@ @@rm -f ftest0$(EXEEXT) @@HDF_BUILD_FORTRAN_FALSE@@ $(LINK) $(ftest0_LDFLAGS) $(ftest0_OBJECTS) $(ftest0_LDADD) $(LIBS) d35 1 a35 1 $(LINK) $(ncgen_LDFLAGS) $(ncgen_OBJECTS) $(ncgen_LDADD) $(LIBS) d37 28 a64 9 @@@@ -581,8 +581,8 @@@@ c-check: test2.cdl ctest0 @@HDF_BUILD_FORTRAN_TRUE@@ echo "*** ncgen -f test failed (but roundoff differences are OK) ***"; \ @@HDF_BUILD_FORTRAN_TRUE@@ fi -@@HDF_BUILD_FORTRAN_TRUE@@ftest0: ncgen test0.cdl netcdf.inc -@@HDF_BUILD_FORTRAN_TRUE@@ ./ncgen -f -o ftest0.nc $(srcdir)/test0.cdl > test0.f +@@HDF_BUILD_FORTRAN_TRUE@@ftest0: hdfncgen test0.cdl netcdf.inc +@@HDF_BUILD_FORTRAN_TRUE@@ ./hdfncgen -f -o ftest0.nc $(srcdir)/test0.cdl > test0.f @@HDF_BUILD_FORTRAN_TRUE@@ $(F77) $(FFLAGS) -o $@@ test0.f $(LDFLAGS) $(ncgen_LDADD) $(LIBS) d67 1 a67 1 @@@@ -591,11 +591,11 @@@@ netcdf.inc: d69 1 a69 1 $(NCDUMP) -n test1 test0.nc > $@@ d72 1 a72 1 - ./ncgen -b -o test0.nc $(srcdir)/test0.cdl d74 1 a74 1 + ./hdfncgen -b -o test0.nc $(srcdir)/test0.cdl d76 6 a81 5 -ctest0: ncgen $(srcdir)/test0.cdl - ./ncgen -c -o ctest0.nc $(srcdir)/test0.cdl > test0.c +ctest0: hdfncgen $(srcdir)/test0.cdl + ./hdfncgen -c -o ctest0.nc $(srcdir)/test0.cdl > test0.c $(COMPILE) -o $@@ test0.c $(LDFLAGS) $(ncgen_LDADD) $(LIBS) a82 1 ############################################################################# @ 1.6 log @update to 4.2r0 changes: -configuration changes -support "szip" compression -some utilities added -fp2hdf replaced by hdfimport -USE_BUILDLINK3 @ text @d3 3 a5 3 --- mfhdf/ncgen/Makefile.in.orig 2003-11-07 19:39:04.000000000 +0100 +++ mfhdf/ncgen/Makefile.in 2004-04-20 15:53:32.000000000 +0200 @@@@ -166,7 +166,7 @@@@ d14 1 a14 1 @@@@ -185,7 +185,7 @@@@ d20 7 a26 7 PROGRAMS = $(bin_PROGRAMS) am_ncgen_OBJECTS = close.$(OBJEXT) escapes.$(OBJEXT) generate.$(OBJEXT) \ @@@@ -246,7 +246,7 @@@@ clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) d32 27 @ 1.5 log @Update to version 4.1r5. New Features and Changes: ======================== o The following Vdata routines were added: VSsetblocksize/vsfsetblsz -- sets the block size of the linked-block element. VSsetnumblocks/vsfsetnmbl -- sets the number of blocks for a linked-block element. VSgetblockinfo/vsfgetblinfo -- retrieves the block size and the number of blocks of a linked-block element. o Two routines were added to get compression information for the SD and GR interfaces, including chunked elements: SDgetcompress/sfgcompress and GRgetcompress/mggcompress. Note: - For a JPEG image, GRgetcompress only returns the compression type, not the compression information (i.e, quantity and force_baseline). This information is not currently retrievable. - Getting compression type for JPEG chunked images is not working yet. o "hdp dumpgr" has a new option, -pd, to print palette data only. Also, whenever option -p or -pd is given, only palettes are printed, and no images or file attributes. o A new FORTRAN function, heprntf (HEprint), was added. It takes two arguments: file name and level. If the file name string has 0 length, then error messages will be printed to standard output. o A memory leak in the netCDF portion of the HDF/mfhdf distribution was fixed. o The "#define NULL" was removed since ANSI C compilers are required to define NULL. o When using "hdp dumpgr", data was being printed in the range of 0-250 when it should have been between 0-168. This problem is now fixed. @ text @d3 29 a31 38 --- /dev/null Wed May 1 14:04:01 2002 +++ mfhdf/ncgen/Makefile Wed May 1 14:11:52 2002 @@@@ -0,0 +1,35 @@@@ +PROG= ncgen +PROGNAME= hdfncgen + +MAN= hdfncgen.1 + +SRCS= main.c generate.c load.c ncgentab.c escapes.c getfill.c init.c \ + close.c genlib.c + +BINDIR= ${PREFIX}/bin +LIBDIR= ${PREFIX}/lib +MANDIR= ${PREFIX}/man + +CPPFLAGS+= -Dunix -DNDEBUG +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 + +NOGCCERROR= 1 + +ncgenyy.c: ncgen.l + ${LEX} ${LFLAGS} ncgen.l + mv lex.yy.c ncgenyy.c + +ncgentab.c: ncgenyy.c ncgen.y + ${YACC} ${YFLAGS} ncgen.y + mv y.tab.c ncgentab.c + touch ncgentab.h + +.include @ 1.4 log @Add -DNETLONG=int to CPPFLAGS instead of using a patch. Only link executables with libm when truly necessary. Add sparc64 and powerpc support. Determine endianness at compile time rather than at configuration. @ text @d3 3 a5 3 --- /dev/null Thu Apr 19 00:41:46 2001 +++ mfhdf/ncgen/Makefile @@@@ -0,0 +1,34 @@@@ d24 2 a25 1 +LDFLAGS+= -Wl,-R${JPEGBASE}/lib -L${JPEGBASE}/lib @ 1.3 log @Build only static libraries since part of the library is written in Fortran, libf2c is static, etc. Fixed "hdfi.h" to work with any architecture supported by NetBSD. Use "xdrposix.c" instead of "xdrstdio.c" since the latter seems to be missing some functions. Fixed "initialization from incompatible pointer type" warnings. General improvements to Makefiles. Should build/work on any NetBSD system now. @ text @d3 1 a3 1 --- /dev/null Sun Mar 25 00:39:00 2001 d18 1 a18 1 +CPPFLAGS+= -Dunix -DNDEBUG @@SWAP@@ d26 1 a26 1 +LDADD+= -lmfhdf -ldf -ljpeg -lz -lm @ 1.2 log @Define DEC_ALPHA and BIG_LONGS on Alpha platform. Added NOGCCERROR=1 to all of the Makefiles (for the moment). @ text @d3 1 a3 1 --- /dev/null Fri Mar 9 22:24:52 2001 d18 7 a24 5 +MFHDFLIB= -L${.CURDIR}/../libsrc -lmfhdf +MFHDFINC= -I${.CURDIR}/../libsrc +HDFLIB= -L${.CURDIR}/../../hdf/src -ldf +HDFINC= -I${.CURDIR}/../../hdf/src +JPEGLIB= -R${JPEGBASE}/lib -L${JPEGBASE}/lib -ljpeg d26 1 a26 3 +LDFLAGS+= -Wl,-R{LIBDIR} ${MFHDFLIB} ${HDFLIB} ${JPEGLIB} + +CPPFLAGS+= -Dunix -DNDEBUG @@SWAP@@ ${MFHDFINC} ${HDFINC} @ 1.1 log @Initial revision @ text @d3 1 a3 1 --- /dev/null Wed Feb 28 02:22:03 2001 d5 1 a5 1 @@@@ -0,0 +1,32 @@@@ d27 2 @ 1.1.1.1 log @Initial import of hdf: NCSA Hierarchical Data Format HDF is a multi-object file format that facilitates the transfer of various types of scientific data between machines and operating systems. HDF allows self-definitions of data content and easy extensibility for future enhancements or compatibility with other standard formats. HDF includes Fortran and C calling interfaces, and utilities to prepare raw image of data files or for use with other NCSA software. The HDF library contains interfaces for storing and retrieving compressed or uncompressed 8-bit and 24-bit raster images with palettes, n-Dimensional scientific datasets and binary tables. An interface is also included that allows arbitray grouping of other HDF objects. @ text @@