blob: 198102be793d29b2df0b6f0d65b7fdfdcd6c321d (
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
|
$NetBSD: patch-ac,v 1.7 2006/01/06 22:41:48 adam Exp $
--- Makeconf.in.orig 2005-11-11 20:47:12.000000000 +0100
+++ Makeconf.in
@@ -78,7 +78,7 @@ SHLBIN = @SHLBIN@
SHLBIN_VER = @SHLBIN_VER@
SHLLINKEXT=
-LIBEXT = a
+LIBEXT = la
# Fortran to C translator and associated flags.
@@ -171,7 +171,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@
@@ -361,10 +361,10 @@ NO_OCT_FILE_STRIP = @NO_OCT_FILE_STRIP@
# How to make .o files:
%.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 : %.c
$(CC) -c $(CPPFLAGS) $(CPICFLAG) $(ALL_CFLAGS) $< -o $@
|