blob: 669b15dbf42c95f97fe35c4380dbbba7a467cf27 (
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
|
$NetBSD: patch-aa,v 1.1.1.1 2003/05/07 11:55:03 dmcmahill Exp $
--- Source/Makefile.in.orig Sun May 4 20:37:42 2003
+++ Source/Makefile.in
@@ -4,13 +4,15 @@ VPATH = @srcdir@
CMAKE_CONFIG_DIR = @CMAKE_CONFIG_DIR@
CXX = @CXX@
CXXFLAGS = @CMAKE_ANSI_CXXFLAGS@ -DCMAKE_ROOT_DIR='"@CMAKE_ROOT_DIR@"' @CXXFLAGS@ -DCMAKE_HAS_AUTOCONF -I${CMAKE_CONFIG_DIR}/Source
+LDFLAGS= @LDFLAGS@
+CPPFLAGS= @CPPFLAGS@
.SUFFIXES: .cxx .java .class
all: cmake
.cxx.o:
- ${CXX} ${CXXFLAGS} -c $< -o $@
+ ${CXX} ${CPPFLAGS} ${CXXFLAGS} -c $< -o $@
OBJS = \
@@ -61,5 +63,5 @@ cmVariableWatch.o : $(DEPENDS)
cmake: ${OBJS}
- ${CXX} ${OBJS} ${CXXFLAGS} -o cmake
+ ${CXX} ${OBJS} ${CXXFLAGS} -o cmake ${LDFLAGS}
|