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
42 lines
1.3 KiB
Text
42 lines
1.3 KiB
Text
$NetBSD: patch-ar,v 1.4 2006/11/14 13:16:00 wennmach Exp $
|
|
|
|
Libtoolize.
|
|
|
|
--- src/segyprogs/makefile.orig Wed Apr 11 19:58:09 2001
|
|
+++ src/segyprogs/makefile
|
|
@@ -10,7 +10,7 @@
|
|
#------------------------- stop here --------------------------
|
|
|
|
CFLAGS = $(CC_OPT) $(WIN32) -I$(srcdir) -I$(NETCDF)/include -I$(GMT_DEFAULT_PATH)/src
|
|
-ALLLIB = -L.. -L$(libdir) -lgmt -lgmtps -lpsl -L$(NETCDF)/lib -lnetcdf $(LIBS)
|
|
+ALLLIB = ../libgmt.la ../libgmtps.la ../libpsl.la -Wl,-R$(NETCDF)/lib -L$(NETCDF)/lib -lnetcdf $(LIBS)
|
|
|
|
SEGYPLOT_H = segy_io.h segy.h segyreel.h
|
|
SEGYPLOT_C = pssegyz.c pssegy.c segy2grd.c
|
|
@@ -25,7 +25,7 @@
|
|
|
|
install: all
|
|
for i in $(SEGYPLOT); do \
|
|
- $(INSTALL) $$i$(EXE) $(bindir); \
|
|
+ $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$i$(EXE) $(bindir); \
|
|
done
|
|
|
|
uninstall:
|
|
@@ -43,12 +43,13 @@
|
|
\rm -f *.a
|
|
|
|
segy_io.o: $(SEGYPLOT_H) segy_io.c
|
|
- $(CC) -c $(CFLAGS) segy_io.c
|
|
+ @$(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) -c $(CFLAGS) segy_io.c
|
|
|
|
-$(SEGYPLOT): $(SEGYPLOT_O) segy_io.o $(GMTLIB)
|
|
- $(CC) $(CFLAGS) segy_io.o $@.o -o $@ $(ALLLIB) $(LDFLAGS)
|
|
+$(SEGYPLOT): $(SEGYPLOT_O) segy_io.o
|
|
+ @$(LIBTOOL) --mode=link $(CC) $(CFLAGS) segy_io.lo $@.lo -o $@ $(ALLLIB) $(LDFLAGS)
|
|
|
|
$(SEGYPLOT_O): $(GMT_H) $(PS_H)
|
|
|
|
.c.o:
|
|
- $(CC) -c $(CFLAGS) $<
|
|
+ @$(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) -c $(CFLAGS) $<
|
|
+
|