Mailing List Archive

New Makefile
I've created a new Makefile for apache 0.8.[89]

Advantages:

* No need for the user to run Configure; make runs the script as necessary.
* The user do not have to wade through the makefile finding his OS;
instead he type make <system> (less error-prone).
* For a basic build, no files need be edited.

Here's the new INSTALL file:

---
Simple compilation of Apache
----------------------------

1. Type "make". This lists the machines apache can be built for; chose the
target that best matches your system.
2. Type "make <target>" substituting your system name for <target>.

Expert compilation of Apache
----------------------------

This release of Apache supports the notion of "optional modules". Follow
these steps if you wish to select optional modules, or adjust the
compilation options.

1. Edit the file config.in. This lists the modules which have been compiled
in, and also names the files containing them. You will need to uncomment
lines corresponding to those optional modules you wish to include or add
new lines corresponding to custom modules you have written. See API.html
for preliminary docs on how to do that.

Note that DBM auth has to be explicitly configured in, if you want it;
just uncomment the corresponding line.

2. Edit the options at the start of Makefile. If preferred, the makefile can
be left untouched, and the options passed to make on the command line.

3. Type "make <target>", where <target> is one of the systems listed by
"make". If your system is not listed, then use "unknown". You can set
make variables on the command line; for example,
"make solaris CC=cc CFLAGS=-O"


OS-Specific Notes
-----------------

IRIX: If you are using NIS and want user-supported directories, add "-lsun"
to EXTRA_LIBS.

Linux: Only add -m486 to EXTRA_FLAGS if you have 486 binary support in your
kernel.

SCO ODT: You will need libcrypt_i from sosco.sco.com, files /SLS/lng225b.Z and
/SLS/lng225b.ltr.Z
---

To install the new makefile in Apache 0.8.[89]

1. Delete Configure, Configuration, Makefile, Makefile.tmp, INSTALL
2. Unpack this tar file (modbuild, Makefile, config.in, INSTALL).

David.


-------------- begin file make.tar.gz.uu --------------------
begin 644 make.tar.gz
M'XL("!' ,# VUA:V4N=&%R .T[:W?;MI+]&OZ*J>Q[_8A$6XZ=[+6;WE4L
M)]%6EK*6W4U;-SH0"4E84P0O0/JQ]_:_[PP /B3+=M(T[IZSX3F)27 PF#<&
MG-%,AJ-,1.$W7_#:;FYOO]C;^V8;KV:S.?<7KV?/MW>_V7Z^W=QM/FN^V*'Q
MYL[S[>UOMK\D4?F5Z90I7#)4J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GISA-VQ9-VUOE>SO5->$[.^G[&H;Z$<:I-#-=A949]N<Q%+=R6(P#1Q0'
MT]_%L^'1Q=IR4KG3F*_G,D=9DPMY$4KIM3E7>#;K01*3HN_N2NBIV8,0/6[=
MBW/KU)K*PO^F7PB1S.;(SQO;2"E'H; MFNZ71>Z ?UM!<YFK22Y'G,=YTVI(
M6A&QW1I8I*61I2XP4X:#>X7]&$^YJ@\_&2XP3,?<?H_/\@9#PA6YM$@IKA,9
MARYHV\/;(K=S$LE_?F($8.BB"L4=^ (4$"8U53R&MRL\;&(N[L, M^:\;.*Y
M7PZ8WX1@+L-P8Z$-&K<,/,1=N5^QD5&B;,'VCEH;I92;DF!36+!9'.ZOF%N)
MU&9@=C,*C0BKR8)(#PB3T6-6:<#D"ZP0>[CH3D6A>3>G:\&ER&5:9XL/Z+0E
M)R9OQ97KS@U=.07]C]:E;)-ZO3#)E)@9$%B^]^?H$Z:UU9_Q,A2%I<[^1,W1
M]6RY)];1G# 7*@8H#:FT.5JOU/GG@-$-D90'$)M/%*Z+,]&5'&C=_HJ%&H-K
M>6^B-3B**YH;"S.D7#(EZ)R@EQ%N#_S\FE'4JQ>+Y\V05*0,@KP^V>A3;UY_
MT!CDG86D?GT[1'@>M?/L4X[;6>RA[74&=W7-5GMFZZ81N&9Z96OE3T90!V65
M$Z7>M;T_ 'WJ+"Y[APLXVP_L[,W8/;T>6<MV*U/B2((NE[G@*N81XG<M&_L+
EKESIU?VD#MUB@26-NG_VSO?U^GI]O;Y>_[^O_P7: 7!/ $( .81

end
--------------- end file make.tar.gz.uu ---------------------
Re: New Makefile [ In reply to ]
> if I'm reading it right, it defaults 'CC' to gcc on
> all platforms...

is there a convention that the envrionment variable CC can define
the compiler ?

I have mine set to "c89 -Ae -DHPUX" and recent "config"s of
other applications has picked up the env var.


rob
Re: New Makefile [ In reply to ]
Date: Tue, 15 Aug 95 16:42 BST
From: drtr@ast.cam.ac.uk (David Robinson)
Precedence: bulk
Reply-To: new-httpd@hyperreal.com

I've created a new Makefile for apache 0.8.[89]

Advantages:

* No need for the user to run Configure; make runs the script as necessary.
* The user do not have to wade through the makefile finding his OS;
instead he type make <system> (less error-prone).
* For a basic build, no files need be edited.

[uudecode ...]
[gunzip ...]
[tar xvf ...]
[sigh... ]

Well, I haven't tried it yet, but it certainly looks like it *ought*
to work as advertised. Modulo my release-timing related worries which
are (by now) probably all too familiar to the rest of you, my only
quibble is that if I'm reading it right, it defaults 'CC' to gcc on
all platforms... I'd prefer to maintain the current suggested default
on all platforms (which is 'cc' for most of them), even at the price
of a little awk crockery in synthesizing Makefile.go from the original
Makefile.

Aside from that, it looks very nice... almost certainly nicer than
what I would have come up with if I took another go. Thanks.

rst
Re: New Makefile [ In reply to ]
On Tue, 15 Aug 1995, David Robinson wrote:
>
> 3. Type "make <target>", where <target> is one of the systems listed by
> "make". If your system is not listed, then use "unknown". You can set
> make variables on the command line; for example,
> "make solaris CC=cc CFLAGS=-O"

Just to make it perfectly obvious, a separate "freebsd" target
should be provided as well. Your Makefile does mention this, but it
won't be obvious to the casual user.

> Linux: Only add -m486 to EXTRA_FLAGS if you have 486 binary support in your
> kernel.

Same comment should apply to FreeBSD (and NetBSD, I would imagine)
in both the INSTALL notes and the Makefile. Other than that, it looks
good. Thanks.
--
Brian ("Though this be madness, yet there is method in't") Tao
taob@gate.sinica.edu.tw <-- work ........ play --> taob@io.org