summaryrefslogtreecommitdiff
path: root/devel/hdf/patches/patch-ai
blob: dbdd13580d49d748c4c838721ae2196a8eec15e3 (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
$NetBSD: patch-ai,v 1.7 2004/04/20 18:14:37 drochner Exp $

--- mfhdf/ncdump/Makefile.in.orig	2003-11-07 19:39:00.000000000 +0100
+++ mfhdf/ncdump/Makefile.in	2004-04-20 16:38:54.000000000 +0200
@@ -156,7 +156,7 @@
 #############################################################################
 #############################################################################
 bin_PROGRAMS = ncdump
-man1_MANS = ncdump.1
+man1_MANS = hdfncdump.1
 
 ncdump_SOURCES = dumplib.c ncdump.c vardata.c
 ncdump_LDADD = ../libsrc/libmfhdf.a $(top_builddir)/hdf/src/libdf.a
@@ -171,7 +171,7 @@
 mkinstalldirs = $(SHELL) $(top_srcdir)/bin/mkinstalldirs
 CONFIG_HEADER = $(top_builddir)/hdf/src/h4config.h
 CONFIG_CLEAN_FILES =
-bin_PROGRAMS = ncdump$(EXEEXT)
+bin_PROGRAMS = hdfncdump$(EXEEXT)
 PROGRAMS = $(bin_PROGRAMS)
 
 am_ncdump_OBJECTS = dumplib.$(OBJEXT) ncdump.$(OBJEXT) vardata.$(OBJEXT)
@@ -227,7 +227,7 @@
 
 clean-binPROGRAMS:
 	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
-ncdump$(EXEEXT): $(ncdump_OBJECTS) $(ncdump_DEPENDENCIES) 
+hdfncdump$(EXEEXT): $(ncdump_OBJECTS) $(ncdump_DEPENDENCIES) 
 	@rm -f ncdump$(EXEEXT)
 	$(LINK) $(ncdump_LDFLAGS) $(ncdump_OBJECTS) $(ncdump_LDADD) $(LIBS)
 
@@ -491,11 +491,11 @@
 	uninstall-man uninstall-man1
 
 
-check: ncdump $(srcdir)/test0.cdl
-	../ncgen/ncgen -o test0.nc -n $(srcdir)/test0.cdl
-	./ncdump test0.nc > test1.cdl
-	../ncgen/ncgen -o test1.nc -n test1.cdl
-	./ncdump -n test0 test1.nc > test2.cdl
+check: hdfncdump $(srcdir)/test0.cdl
+	../ncgen/hdfncgen -o test0.nc -n $(srcdir)/test0.cdl
+	./hdfncdump test0.nc > test1.cdl
+	../ncgen/hdfncgen -o test1.nc -n test1.cdl
+	./hdfncdump -n test0 test1.nc > test2.cdl
 	@cmp test1.cdl test2.cdl && echo "*** ncdump test successful ***" ;     \
 	    rm -f test1.nc test1.cdl test2.cdl
 # Tell versions [3.59,3.63) of GNU make to not export all variables.