summaryrefslogtreecommitdiff
blob: 9446008247064c74d2bae55773c7d79735b81b33 (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
diff -Nur netcdf-3.6.3.orig/cxx/Makefile.am netcdf-3.6.3/cxx/Makefile.am
--- netcdf-3.6.3.orig/cxx/Makefile.am	2008-04-04 18:05:25.000000000 +0100
+++ netcdf-3.6.3/cxx/Makefile.am	2009-01-15 14:46:15.895277408 +0000
@@ -105,6 +105,6 @@
 
 # Library source.
 libnetcdf_c___la_SOURCES = netcdf.cpp ncvalues.cpp
-
+libnetcdf_c___la_LIBADD = $(top_builddir)/libsrc/libnetcdf.la
 test: check
 
diff -Nur netcdf-3.6.3.orig/fortran/Makefile.am netcdf-3.6.3/fortran/Makefile.am
--- netcdf-3.6.3.orig/fortran/Makefile.am	2008-04-22 22:52:04.000000000 +0100
+++ netcdf-3.6.3/fortran/Makefile.am	2009-01-15 14:47:03.426443772 +0000
@@ -60,6 +60,7 @@
 # (it's generated by the configure script from nfconfig.in), or if
 # netcdf.inc has changed.
 libnetcdff_la_DEPENDENCIES = nfconfig.inc netcdf.inc 
+libnetcdff_la_LIBADD = $(top_builddir)/libsrc/libnetcdf.la
 
 # Is the user building netCDF-4?
 if USE_NETCDF4
@@ -92,7 +93,7 @@
 
 # If F90 is built, include it's convenience library.
 if BUILD_F90
-libnetcdff_la_LIBADD = ../f90/libnetcdff90.la
+libnetcdff_la_LIBADD += ../f90/libnetcdff90.la
 endif
 
 # If we are building the dll (under MinGW) then set the correct flags.
diff -Nur netcdf-3.6.3.orig/Makefile.am netcdf-3.6.3/Makefile.am
--- netcdf-3.6.3.orig/Makefile.am	2008-06-27 14:15:13.000000000 +0100
+++ netcdf-3.6.3/Makefile.am	2009-01-15 14:48:04.594871206 +0000
@@ -88,7 +88,7 @@
 # $(DAPDIR) $(NCDAPDIR) $(LIBSRC4_DIR)	\
 # $(V2_TEST) $(NCGEN) $(NCDUMP) $(F77_TEST) ${CXX_DIR} $(CXX4)	\
 # $(NC_TEST_DIR) $(NC_TEST4) $(MAN) $(EXAMPLES) win32 
-SUBDIRS = $(F90_DIR) $(F77_DIR) $(LIBSRC_DIR) $(LIBSRC4_DIR)	\
+SUBDIRS = $(LIBSRC_DIR) $(F90_DIR) $(F77_DIR) $(LIBSRC4_DIR)	\
 $(V2_TEST) $(NCGEN) $(NCDUMP) $(F77_TEST) ${CXX_DIR} $(CXX4)	\
 $(NC_TEST_DIR) $(NC_TEST4) $(MAN) $(EXAMPLES) win32