2004-12-19 23:00:10 +01:00
|
|
|
$NetBSD: patch-aa,v 1.24 2004/12/19 22:00:10 tron Exp $
|
1999-05-09 18:41:15 +02:00
|
|
|
|
2004-12-19 23:00:10 +01:00
|
|
|
--- Makefile.orig 2004-12-19 13:51:30.000000000 +0000
|
|
|
|
+++ Makefile 2004-12-19 21:45:24.000000000 +0000
|
|
|
|
@@ -2,16 +2,20 @@
|
2000-03-21 19:37:52 +01:00
|
|
|
# Please read docs/Readme.html, or http://www.analog.cx/
|
2002-02-13 14:03:13 +01:00
|
|
|
# This is a general Unix-like Makefile: Makefiles for other OS's can be found
|
|
|
|
# in the "build" directory.
|
2000-03-21 19:37:52 +01:00
|
|
|
-CC = gcc # which compiler to use: eg cc, acc, gcc. NB Different
|
|
|
|
+#CC = gcc # which compiler to use: eg cc, acc, gcc. NB Different
|
1999-05-09 13:55:24 +02:00
|
|
|
# compilers need different CFLAGS, e.g., -O instead of -O2.
|
2001-11-08 09:27:02 +01:00
|
|
|
-MAKE = make # which "make" to use
|
2001-05-14 14:42:14 +02:00
|
|
|
-CFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation.
|
2002-02-13 14:03:13 +01:00
|
|
|
+#MAKE = make # which "make" to use
|
2001-05-14 14:42:14 +02:00
|
|
|
+#CFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation.
|
2004-12-19 23:00:10 +01:00
|
|
|
# Some OS's need -D_FILE_OFFSET_BITS=64 to support files > 2MB.
|
2001-05-14 14:42:14 +02:00
|
|
|
# HP/UX cc needs CFLAGS = -Aa (HP/UX 9) or -Ae (HP/UX 10)
|
2001-11-08 09:27:02 +01:00
|
|
|
# BeOS needs CFLAGS = -O2 -Wl,-L/boot/home/config/lib
|
2001-05-14 14:42:14 +02:00
|
|
|
# BS2000/OSD needs CFLAGS = -XLLML -XLLMK
|
|
|
|
# NeXTSTEP needs CFLAGS = -O2 -pipe -no-precomp
|
2001-05-14 22:35:16 +02:00
|
|
|
-DEFS = # any combination of -DNOPIPES -DNODNS -DNODIRENT -DNOGLOB ...
|
2002-12-02 13:08:43 +01:00
|
|
|
+DEFS = -DANALOGDIR=\"${PREFIX}/lib/analog/\" \
|
2002-07-11 12:23:13 +02:00
|
|
|
+ -DDEFAULTCONFIGFILE=\"${SYSCONFDIR}/analog.cfg\" \
|
2002-02-13 14:03:13 +01:00
|
|
|
+ -DIMAGEDIR=\"/images/\" \
|
|
|
|
+ -DLANGDIR=\"${PREFIX}/lib/analog/lang/\" \
|
|
|
|
+ -DLOGFILE=\"/var/log/httpd-access.log\"
|
2001-05-14 22:35:16 +02:00
|
|
|
# ... -DNOOPEN -DNOFOLLOW -DNOALARM -DNOGRAPHICS -DNOGMTIME ...
|
2002-12-02 13:08:43 +01:00
|
|
|
# ... -DEBCDIC -DUSE_PLAIN_SETJMP ...
|
2004-12-19 23:00:10 +01:00
|
|
|
# ... -DHAVE_GD -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_PCRE ...
|