blob: e85602e5214eb5bc6092de02f0a2dbd466b34881 (
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
|
$NetBSD: patch-ac,v 1.6 2008/01/11 01:23:44 adam Exp $
--- Makeconf.in.orig 2007-12-04 21:51:25.000000000 +0100
+++ Makeconf.in
@@ -95,7 +95,7 @@ SHLBIN = @SHLBIN@
SHLBIN_VER = @SHLBIN_VER@
SHLLINKEXT=
-LIBEXT = a
+LIBEXT = la
LIBPRE = @LIBPRE@
# Fortran to C translator and associated flags.
@@ -195,7 +195,7 @@ BUILD_LDFLAGS = @BUILD_LDFLAGS@
SH_LD = @SH_LD@
SH_LDFLAGS = @SH_LDFLAGS@
-DL_LD = @DL_LD@
+DL_LD = ${LIBTOOL} --mode=link @DL_LD@
DL_LDFLAGS = @DL_LDFLAGS@
SONAME_FLAGS = @SONAME_FLAGS@
@@ -365,13 +365,13 @@ NO_OCT_FILE_STRIP = @NO_OCT_FILE_STRIP@
# How to make .o files:
%.o : %.f
- $(FC) -c $(ALL_FFLAGS) -o $@ $<
+ ${LIBTOOL} --mode=compile $(FC) -c $(ALL_FFLAGS) -o $@ $<
%.o : %.c
- $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $< -o $@
+ ${LIBTOOL} --mode=compile $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $< -o $@
%.o : %.cc
- $(CXX) -c $(CPPFLAGS) $(ALL_CXXFLAGS) $< -o $@
+ ${LIBTOOL} --mode=compile $(CXX) -c $(CPPFLAGS) $(ALL_CXXFLAGS) $< -o $@
pic/%.o : %.f
$(FC) -c $(FPICFLAG) $(ALL_FFLAGS) $< -o $@
|