Author: Kev <klmitch@mit.edu>
authorKevin L. Mitchell <klmitch@mit.edu>
Fri, 29 Jun 2001 02:47:26 +0000 (02:47 +0000)
committerKevin L. Mitchell <klmitch@mit.edu>
Fri, 29 Jun 2001 02:47:26 +0000 (02:47 +0000)
commit03c46045d7842ef91735201a7ec14f229bc47c12
tree7b3e22002e7666024cf4e73b8c60e9a587361ce9
parent037ea5b9ceaec42f9000cd6d3c47e548fd472d31
Author: Kev <klmitch@mit.edu>
Log message:

Makefile (build system) tuning: create directories before installing into
them; detect changes to sub-Makefiles and rebuild them properly; tuning to
permit VPATH operation.

VPATH operation is a very useful tool for developers and individuals who
need to compile from the same source tree on multiple platforms; it allows
you to build the server from a directory other than your source directory.
Simplest way to do it is create your build directory, cd into it, then use
something like ../relative/path/to/ircu2.10/configure.  The configure
script will build the Makefiles and necessary directories in the current
directory.  Caveat: "make depend" will not work properly with VPATH for two
basic reasons: chattr.tab.c will be missing; and the dependancies generated
will be relative paths into your source directory.  The latter can be
corrected by changing the -I flags fed to the gcc -MM invocation; the
former might be corrected by substituting <> for "" in ircd_string.c.
Realistically, the whole "make depend" infrastructure should probably be
rototilled, but I think I'll just move us to automake in u2.10.12.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@522 c9e4aea6-c8fd-4c43-8297-357d70d61c8c
ChangeLog
Makefile.in
doc/Makefile.in
ircd/Makefile.in