blob: a3f5ca2b7b3cbb1ec5c125dd1c21c1d54c764cc6 (
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.4 2005/04/01 10:15:47 adam Exp $
--- Makeconf.in.orig 2005-02-24 04:56:07.000000000 +0000
+++ Makeconf.in
@@ -73,7 +73,7 @@ SHLBIN = @SHLBIN@
SHLBIN_VER = @SHLBIN_VER@
SHLLINKEXT=
-LIBEXT = a
+LIBEXT = la
# Fortran to C translator and associated flags.
@@ -158,7 +158,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@
@@ -337,10 +337,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 $@
|