blob: 134410d105f0af99e0f3e9b3dcdaedc90aa18501 (
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
|
$NetBSD: patch-ab,v 1.1.1.1 1999/01/14 20:28:54 frueauf Exp $
--- macros.make.in.orig Thu Sep 18 22:56:04 1997
+++ macros.make.in Sun Sep 27 19:11:17 1998
@@ -28,9 +28,9 @@
# Compilation:
-CC = @CC@
-CXX = @CXX@
-FC = @FC@
+CC = ${LIBTOOL} --mode=compile @CC@
+CXX = ${LIBTOOL} --mode=compile @CXX@
+FC = ${LIBTOOL} --mode=compile @FC@
CFLAGS = @CFLAGS@
CXXFLAGS = $(CFLAGS) @CXXFLAGS@
FFLAGS = @FFLAGS@
@@ -47,10 +47,10 @@
MATHLIB = @MATHLIB@
FLIBS = @FLIBS@
LIBS = @LIBS@
-LINK.c = $(CC) -o $@ $(CFLAGS) $(LDFLAGS)
-LINK.cxx = $(CXX) -o $@ $(CXXFLAGS) $(LDFLAGS)
-LINK.F = $(FC) -o $@ $(FFLAGS) $(FLDFLAGS)
-LINK.f = $(FC) -o $@ $(FFLAGS) $(FLDFLAGS)
+LINK.c = ${LIBTOOL} --mode=link @CC@ -o $@ $(CFLAGS) $(LDFLAGS)
+LINK.cxx = ${LIBTOOL} --mode=link @CXX@ -o $@ $(CXXFLAGS) $(LDFLAGS)
+LINK.F = ${LIBTOOL} --mode=link @FC@ -o $@ $(FFLAGS) $(FLDFLAGS)
+LINK.f = ${LIBTOOL} --mode=link @FC@ -o $@ $(FFLAGS) $(FLDFLAGS)
# NetCDF files:
@@ -66,9 +66,9 @@
# Misc. Utilities:
-AR = @AR@
-ARFLAGS = cru # NB: SunOS 4 doesn't like `-' option prefix
-RANLIB = @RANLIB@
+AR = ${LIBTOOL} --mode=link @CC@
+ARFLAGS = -rpath $(LIBDIR) -version-info 3:4
+RANLIB = echo
TARFLAGS = -chf
|