Article View: comp.windows.x
Article #25040Re: Makefiles (a modest proposal)
From: peterson
Date: Wed, 04 Mar 1987 18:27
Date: Wed, 04 Mar 1987 18:27
29 lines
1724 bytes
1724 bytes
In article <3279@osu-eddie.UUCP>, cbatt!osu-eddie!bob@ucbvax.Berkeley.EDU (Bob Sutterfield) writes: > In the distribution > version, these could be something like: > BINDIR= /usr/new > LIBDIR= /usr/new/lib As another example, the Andrew distribution has the following symbols defined, BINDIR - directory for all executable binarys LIBDIR - directory for libraries INCLDIR - directory for include files HELPDIR - directory for help and man pages DOCDIR - directory for documentation FONTDIR - directory for fonts ETCDIR - directory for system maintenace programs and random files and each use of these directories is prefixed by DESTDIR which is assumed to be the root of the whole subtree. This allows you to test the installation into /tmp by setting DESTDIR=/tmp, or whereever. By leaving DESTDIR blank, everything starts at / To save having to define these in every Makefile, they define a special program which puts a wrapper around the Makfile and then invokes make on it. The wrapper defines all these variables (and some more like the CFLAGS and INSTALL command options). -- James Peterson peterson@mcc.com or ...sally!im4u!milano!peterson
Technical Details
Message-ID:
<8703041827.AA16574@cleo>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ucbvax!MCC.COM!petersonShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ucbvax!MCC.COM!peterson From: peterson@MCC.COM.UUCP Newsgroups: comp.windows.x Subject: Re: Makefiles (a modest proposal) Message-ID: <8703041827.AA16574@cleo> Date: Wed, 4-Mar-87 13:27:54 EST Article-I.D.: cleo.8703041827.AA16574 Posted: Wed Mar 4 13:27:54 1987 Date-Received: Fri, 6-Mar-87 04:19:02 EST Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 29