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
41 lines
1.3 KiB
Text
41 lines
1.3 KiB
Text
$NetBSD: patch-aq,v 1.5 2006/11/14 13:16:00 wennmach Exp $
|
|
|
|
Libtoolize.
|
|
|
|
--- src/misc/makefile.orig Wed Apr 11 19:58:09 2001
|
|
+++ src/misc/makefile
|
|
@@ -8,7 +8,7 @@
|
|
GMTSRCDIR = ..
|
|
include ../gmtalldeps.macros
|
|
|
|
-CDF = -L$(NETCDF)/lib -lnetcdf
|
|
+CDF = -Wl,-R$(NETCDF)/lib -L$(NETCDF)/lib -lnetcdf
|
|
|
|
CFLAGS = $(CC_OPT) $(WIN32) -I$(srcdir) -I$(NETCDF)/include
|
|
|
|
@@ -39,7 +39,7 @@
|
|
|
|
install: all
|
|
for i in $(MISC); do \
|
|
- $(INSTALL) $$i$(EXE) $(bindir); \
|
|
+ $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$i$(EXE) $(bindir); \
|
|
done
|
|
|
|
uninstall:
|
|
@@ -59,11 +59,11 @@
|
|
# program dependencies
|
|
#-------------------------------------------------------------------------------
|
|
|
|
-$(MISC): $(MISC_O) $(GMTLIB)
|
|
- $(CC) $(CFLAGS) $(LDFLAGS) $@.o -L.. -L$(libdir) -lgmt $(CDF) $(LIBS) -o $@
|
|
+$(MISC): $(MISC_O)
|
|
+ @$(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) $@.lo ../libgmt.la ../libpsl.la $(CDF) $(LIBS) -o $@
|
|
|
|
-$(MISCPS): $(MISCPS_O) $(GMTLIB)
|
|
- $(CC) $(CFLAGS) $(LDFLAGS) $@.o -L.. -L$(libdir) -lgmt -lgmtps -lpsl $(CDF) $(LIBS) -o $@
|
|
+$(MISCPS): $(MISCPS_O)
|
|
+ @$(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) $@.lo ../libgmt.la ../libgmtps.la ../libpsl.la $(CDF) $(LIBS) -o $@
|
|
|
|
.c.o:
|
|
- $(CC) -c $(CFLAGS) $<
|
|
+ @$(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) -c $(CFLAGS) $<
|