blob: 52a9e0d4a8acde07751ae814c7322f5e22910d56 (
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
40
41
42
|
$NetBSD: patch-ad,v 1.2 2001/07/28 21:44:37 jlam Exp $
--- system.mk.orig Sat Jul 1 08:37:50 2000
+++ system.mk
@@ -7,7 +7,7 @@
## Installation directory prefix
##
-PREFIX=/usr/local
+#PREFIX=/usr/local
#EXTRA_INCLUDES = -I$(PREFIX)/include
#EXTRA_LIBS = -L$(PREFIX)/lib
@@ -17,7 +17,7 @@
## X libraries, includes and options
##
-X11_PREFIX=/usr/X11R6
+X11_PREFIX=${X11BASE}
# SunOS/Solaris
#X11_PREFIX=/usr/openwin
@@ -31,7 +31,7 @@
## C compiler
##
-CC=gcc
+#CC=gcc
# The POSIX_SOURCE, XOPEN_SOURCE and WARN options should not be necessary,
# they're mainly for development use. So, if they cause trouble (not
@@ -57,8 +57,8 @@
-Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized \
-Wparentheses -pedantic-errors
-CFLAGS=-g -O2 $(WARN) $(DEFINES) $(INCLUDES) $(EXTRA_INCLUDES)
-LDFLAGS=-g $(LIBS) $(EXTRA_LIBS)
+CFLAGS+=-g -O2 $(WARN) $(DEFINES) $(INCLUDES) $(EXTRA_INCLUDES)
+LDFLAGS+=$(LIBS)
##
|