Lines 1-8
Link Here
|
1 |
--- src/Makefile.orig Wed Jan 9 21:16:22 2002 |
1 |
--- src/Makefile.orig Sun Mar 23 13:57:02 2003 |
2 |
+++ src/Makefile Wed Jan 9 21:18:38 2002 |
2 |
+++ src/Makefile Sun May 11 09:24:47 2003 |
3 |
@@ -1,14 +1,20 @@ |
3 |
@@ -2,15 +2,21 @@ |
4 |
# Makefile for analog 5.1 |
|
|
5 |
# Please read docs/Readme.html, or http://www.analog.cx/ |
4 |
# Please read docs/Readme.html, or http://www.analog.cx/ |
|
|
5 |
# This is a general Unix-like Makefile: Makefiles for other OS's can be found |
6 |
# in the "build" directory. |
6 |
-CC = gcc # which compiler to use: eg cc, acc, gcc. NB Different |
7 |
-CC = gcc # which compiler to use: eg cc, acc, gcc. NB Different |
7 |
+CC ?= gcc # which compiler to use: eg cc, acc, gcc. NB Different |
8 |
+CC ?= gcc # which compiler to use: eg cc, acc, gcc. NB Different |
8 |
# compilers need different CFLAGS, e.g., -O instead of -O2. |
9 |
# compilers need different CFLAGS, e.g., -O instead of -O2. |
Lines 22-30
Link Here
|
22 |
+ -DCONFIGDIR=\"$(PREFIX)/share/analog/\" |
23 |
+ -DCONFIGDIR=\"$(PREFIX)/share/analog/\" |
23 |
+#DEFS = # any combination of -DNOPIPES -DNODNS -DNODIRENT -DNOGLOB ... |
24 |
+#DEFS = # any combination of -DNOPIPES -DNODNS -DNODIRENT -DNOGLOB ... |
24 |
# ... -DNOOPEN -DNOFOLLOW -DNOALARM -DNOGRAPHICS -DNOGMTIME ... |
25 |
# ... -DNOOPEN -DNOFOLLOW -DNOALARM -DNOGRAPHICS -DNOGMTIME ... |
25 |
# ... -DEBCDIC -DUSE_PLAIN_SETJMP -DHAVE_GD -DHAVE_PCRE ... |
26 |
# ... -DEBCDIC -DUSE_PLAIN_SETJMP ... |
26 |
# ... -DNEED_STRCMP -DNEED_MEMMOVE -DNEED_STRTOUL ... |
27 |
# ... -DHAVE_GD -DHAVE_ZLIB -DHAVE_PCRE ... |
27 |
@@ -25,6 +31,12 @@ |
28 |
@@ -30,6 +36,12 @@ |
28 |
OS = UNIX # Operating system: UNIX, DOS, WIN32, MAC, OS2, OSX, VMS |
29 |
OS = UNIX # Operating system: UNIX, DOS, WIN32, MAC, OS2, OSX, VMS |
29 |
# RISCOS, BEOS, NEXTSTEP, MPEIX, BS2000, AS400, OS390 |
30 |
# RISCOS, BEOS, NEXTSTEP, MPEIX, BS2000, AS400, OS390 |
30 |
LIBS = -lm # extra libraries needed; most platforms (but not OS X or BeOS) |
31 |
LIBS = -lm # extra libraries needed; most platforms (but not OS X or BeOS) |
Lines 36-39
Link Here
|
36 |
+ |
37 |
+ |
37 |
# need -lm LAST |
38 |
# need -lm LAST |
38 |
# if you defined HAVE_GD above you also need -lgd -lpng -ljpeg -lz |
39 |
# if you defined HAVE_GD above you also need -lgd -lpng -ljpeg -lz |
39 |
# if you defined HAVE_PCRE above you also need -lpcre |
40 |
# if you defined HAVE_ZLIB above you also need -lz |