361
|
1 |
--- zgv-5.9/config.mk.orig 2007-07-30 08:51:55.859285387 +0700
|
|
2 |
+++ zgv-5.9/config.mk 2007-07-30 08:52:44.113938239 +0700
|
|
3 |
@@ -7,8 +7,8 @@
|
|
4 |
# Set the C compiler to use, and options for it.
|
|
5 |
# This is likely to be what you'll want for most systems:
|
|
6 |
#
|
|
7 |
-CC=gcc
|
|
8 |
-CFLAGS=-O2 -Wall -fomit-frame-pointer -finline-functions
|
|
9 |
+CC?=gcc
|
|
10 |
+CFLAGS?=-O2 -Wall -fomit-frame-pointer -finline-functions
|
|
11 |
#
|
|
12 |
# If you're brave enough to try compiling zgv on a non-x86 system :-),
|
|
13 |
# this might be a better bet:
|
|
14 |
@@ -20,13 +20,13 @@
|
|
15 |
# (This should be a `new' awk, such as gawk or mawk.) This setting
|
|
16 |
# should work for Linux and *BSD.
|
|
17 |
#
|
|
18 |
-AWK=awk
|
|
19 |
+AWK?=awk
|
|
20 |
|
|
21 |
# Set display backend to use. svgalib is the `native' one and
|
|
22 |
# is likely to remain preferable. The SDL backend is now quite
|
|
23 |
# usable, but tends to be rather slower.
|
|
24 |
#
|
|
25 |
-BACKEND=SVGALIB
|
|
26 |
+BACKEND?=SVGALIB
|
|
27 |
#BACKEND=SDL
|
|
28 |
|
|
29 |
|
|
30 |
@@ -37,7 +37,7 @@
|
|
31 |
# MANDIR to directory for man page.
|
|
32 |
# Usually it will be simpler to just set PREFIX.
|
|
33 |
#
|
|
34 |
-PREFIX=/usr/local
|
|
35 |
+PREFIX?=/usr/local
|
|
36 |
|
|
37 |
# In theory it would be nice to put the info file and man page under
|
|
38 |
# /usr/local/share. However, it's not clear if this is widely
|
|
39 |
@@ -59,7 +59,7 @@
|
|
40 |
# Set the location/filename of the system-wide configuration file. You
|
|
41 |
# may prefer to have this under /etc, for example.
|
|
42 |
#
|
|
43 |
-RCFILE=$(PREFIX)/etc/zgv.conf
|
|
44 |
+RCFILE?=$(PREFIX)/etc/zgv.conf
|
|
45 |
|
|
46 |
|
|
47 |
# Normally `make install' will update your `dir' file (in INFODIR),
|
|
48 |
@@ -91,7 +91,7 @@
|
|
49 |
# colours will be recognised, which will mean many XPMs won't be
|
|
50 |
# readable. This setting should be ok.
|
|
51 |
#
|
|
52 |
-RGB_DB=/usr/X11R6/lib/X11/rgb.txt
|
|
53 |
+RGB_DB?=/usr/X11R6/lib/X11/rgb.txt
|
|
54 |
|
|
55 |
# Finally, an option for `make dvi' in the `doc' directory. You only need
|
|
56 |
# worry about what this is set to if you plan to make a printed manual.
|
|
57 |
@@ -102,4 +102,4 @@
|
|
58 |
# edit this file when you do `make dvi', but that's only because
|
|
59 |
# doc/Makefile isn't as smart about that as it should be. :-))
|
|
60 |
#
|
|
61 |
-USE_A4_DEF=-t @afourpaper
|
|
62 |
+USE_A4_DEF?=-t @afourpaper
|