11f5afe35b
The most significant changes in 4.0 include: o Time-series support o New Tools: - gmt2rgb - grdblend - pslegend: o 30 new program options o More than 23 general enhancements The releases 4.1 and 4.1.1 to 4.1.4 include the following changes: o numerous significant bug fixes o many added program options o added features and capabilities For a complete list of changes, see http://gmt.soest.hawaii.edu/gmt/gmt_releases.html
36 lines
1.1 KiB
Text
36 lines
1.1 KiB
Text
$NetBSD: patch-as,v 1.4 2006/11/14 13:16:00 wennmach Exp $
|
|
|
|
Libtoolize.
|
|
|
|
--- src/spotter/makefile.orig Wed Apr 11 19:58:09 2001
|
|
+++ src/spotter/makefile
|
|
@@ -21,7 +21,7 @@
|
|
include ../gmtalldeps.macros
|
|
|
|
CFLAGS = $(CC_OPT) $(WIN32) -I$(srcdir) -I$(NETCDF)/include
|
|
-CDF = -L$(NETCDF)/lib -lnetcdf
|
|
+CDF = -Wl,-R$(NETCDF)/lib -L$(NETCDF)/lib -lnetcdf
|
|
|
|
SPOT_H = spotter.h
|
|
|
|
@@ -43,7 +43,7 @@
|
|
|
|
install: all
|
|
for i in $(SPOT); do \
|
|
- $(INSTALL) $$i$(EXE) $(bindir); \
|
|
+ $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$i$(EXE) $(bindir); \
|
|
done
|
|
|
|
uninstall:
|
|
@@ -74,8 +74,8 @@
|
|
# program dependencies
|
|
#-------------------------------------------------------------------------------
|
|
|
|
-$(SPOT): libspotter.a $(SPOT_O) $(GMTLIB)
|
|
- $(CC) $(CFLAGS) $(LDFLAGS) $@.o -L. -lspotter -L.. -L$(libdir) -lgmt $(CDF) $(LIBS) -o $@
|
|
+$(SPOT): libspotter.a $(SPOT_O)
|
|
+ @$(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) $@.lo -L. -lspotter -L.. ../libpsl.la ../libgmt.la $(CDF) $(LIBS) -o $@
|
|
|
|
.c.o:
|
|
- $(CC) -c $(CFLAGS) $<
|
|
+ @$(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) -c $(CFLAGS) $<
|