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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
$NetBSD: patch-af,v 1.7 2006/01/22 11:11:34 wiz Exp $
--- makeinclude.in.orig 2006-01-15 18:36:16.000000000 +0000
+++ makeinclude.in
@@ -49,8 +49,8 @@ SHELL = /bin/sh
STRIP = strip
# compiler names:
-CXX = @CXX@
-CC = @CC@
+CXX = $(LIBTOOL) @CXX@
+CC = $(LIBTOOL) @CC@
MAKEDEPEND = @MAKEDEPEND@
# flags for C++ compiler:
@@ -60,6 +60,7 @@ CXXFLAGS = $(OPTIM) @LARGEFILE@ @CPPFLAG
# program to make the archive:
LIBNAME = @LIBNAME@
+LIBTOOL = @LIBTOOL@
FLLIBNAME = @FLLIBNAME@
GLLIBNAME = @GLLIBNAME@
IMGLIBNAME = @IMGLIBNAME@
@@ -74,7 +75,8 @@ DSOCOMMAND = @DSOCOMMAND@
# libraries to link with:
AUDIOLIBS = @AUDIOLIBS@
-LDLIBS = @LDFLAGS@ @LIBS@
+#LDLIBS = @LDFLAGS@ @LIBS@
+LDLIBS = $(GLDLIBS)
GLDLIBS = @LDFLAGS@ @GLLIB@ @LIBS@
LINKFLTK = @LINKFLTK@
LINKFLTKGL = @LINKFLTKGL@
@@ -86,6 +88,12 @@ IMAGELIBS = -L../lib @IMAGELIBS@
# image libraries to build...
IMAGEDIRS = @JPEG@ @ZLIB@ @PNG@
+# installation programs:
+INSTALL_BIN =$(LIBTOOL) cp
+INSTALL_DATA =cp
+INSTALL_LIB =$(LIBTOOL) cp
+INSTALL_MAN =cp
+
# The extension to use for executables...
EXEEXT = @EXEEXT@
@@ -114,7 +122,7 @@ UNINSTALL_DESKTOP = @UNINSTALL_DESKTOP@
.SILENT:
# Build commands and filename extensions...
-.SUFFIXES: .0 .1 .3 .c .cxx .h .fl .man .o .z $(EXEEXT)
+.SUFFIXES: .0 .1 .3 .6 .c .cxx .h .fl .man .o .z $(EXEEXT)
.o$(EXEEXT):
echo Linking $@...
@@ -129,7 +137,7 @@ UNINSTALL_DESKTOP = @UNINSTALL_DESKTOP@
echo Compiling $<...
$(CXX) -I.. @PNGINC@ @JPEGINC@ @ZLIBINC@ $(CXXFLAGS) -c $<
-.man.0 .man.1 .man.3:
+.man.0 .man.1 .man.3 .man.6:
echo Formatting $<...
rm -f $@
$(NROFF) -man $< >$@
|