config.h revision 94589
11590Srgrimes/* 294589Sobrien * Copyright (c) 1988, 1989, 1990, 1993 394589Sobrien * The Regents of the University of California. All rights reserved. 45814Sjkh * Copyright (c) 1988, 1989 by Adam de Boor 51590Srgrimes * Copyright (c) 1989 by Berkeley Softworks 61590Srgrimes * All rights reserved. 71590Srgrimes * 81590Srgrimes * This code is derived from software contributed to Berkeley by 91590Srgrimes * Adam de Boor. 101590Srgrimes * 111590Srgrimes * Redistribution and use in source and binary forms, with or without 121590Srgrimes * modification, are permitted provided that the following conditions 131590Srgrimes * are met: 141590Srgrimes * 1. Redistributions of source code must retain the above copyright 151590Srgrimes * notice, this list of conditions and the following disclaimer. 161590Srgrimes * 2. Redistributions in binary form must reproduce the above copyright 171590Srgrimes * notice, this list of conditions and the following disclaimer in the 181590Srgrimes * documentation and/or other materials provided with the distribution. 191590Srgrimes * 3. All advertising materials mentioning features or use of this software 201590Srgrimes * must display the following acknowledgement: 211590Srgrimes * This product includes software developed by the University of 221590Srgrimes * California, Berkeley and its contributors. 231590Srgrimes * 4. Neither the name of the University nor the names of its contributors 241590Srgrimes * may be used to endorse or promote products derived from this software 251590Srgrimes * without specific prior written permission. 261590Srgrimes * 271590Srgrimes * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 281590Srgrimes * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 291590Srgrimes * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 301590Srgrimes * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 311590Srgrimes * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 321590Srgrimes * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 331590Srgrimes * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 341590Srgrimes * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 351590Srgrimes * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 361590Srgrimes * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 371590Srgrimes * SUCH DAMAGE. 381590Srgrimes * 3994589Sobrien * @(#)config.h 8.2 (Berkeley) 4/28/95 4050477Speter * $FreeBSD: head/usr.bin/make/config.h 94589 2002-04-13 10:57:56Z obrien $ 411590Srgrimes */ 421590Srgrimes 431590Srgrimes/* 441590Srgrimes * DEFMAXJOBS 451590Srgrimes * DEFMAXLOCAL 461590Srgrimes * These control the default concurrency. On no occasion will more 471590Srgrimes * than DEFMAXJOBS targets be created at once (locally or remotely) 481590Srgrimes * DEFMAXLOCAL is the highest number of targets which will be 491590Srgrimes * created on the local machine at once. Note that if you set this 501590Srgrimes * to 0, nothing will ever happen... 511590Srgrimes */ 521590Srgrimes#define DEFMAXJOBS 4 531590Srgrimes#define DEFMAXLOCAL 1 541590Srgrimes 551590Srgrimes/* 561590Srgrimes * INCLUDES 571590Srgrimes * LIBRARIES 581590Srgrimes * These control the handling of the .INCLUDES and .LIBS variables. 591590Srgrimes * If INCLUDES is defined, the .INCLUDES variable will be filled 601590Srgrimes * from the search paths of those suffixes which are marked by 611590Srgrimes * .INCLUDES dependency lines. Similarly for LIBRARIES and .LIBS 621590Srgrimes * See suff.c for more details. 631590Srgrimes */ 641590Srgrimes#define INCLUDES 651590Srgrimes#define LIBRARIES 661590Srgrimes 671590Srgrimes/* 681590Srgrimes * LIBSUFF 691590Srgrimes * Is the suffix used to denote libraries and is used by the Suff module 701590Srgrimes * to find the search path on which to seek any -l<xx> targets. 711590Srgrimes * 721590Srgrimes * RECHECK 731590Srgrimes * If defined, Make_Update will check a target for its current 741590Srgrimes * modification time after it has been re-made, setting it to the 751590Srgrimes * starting time of the make only if the target still doesn't exist. 761590Srgrimes * Unfortunately, under NFS the modification time often doesn't 771590Srgrimes * get updated in time, so a target will appear to not have been 781590Srgrimes * re-made, causing later targets to appear up-to-date. On systems 791590Srgrimes * that don't have this problem, you should defined this. Under 801590Srgrimes * NFS you probably should not, unless you aren't exporting jobs. 811590Srgrimes */ 821590Srgrimes#define LIBSUFF ".a" 831590Srgrimes#define RECHECK 841590Srgrimes 8518730Ssteve/* 8618730Ssteve * POSIX 8718730Ssteve * Adhere to the POSIX 1003.2 draft for the make(1) program. 8818730Ssteve * - Use MAKEFLAGS instead of MAKE to pick arguments from the 8918730Ssteve * environment. 9018730Ssteve * - Allow empty command lines if starting with tab. 9118730Ssteve */ 9218730Ssteve#define POSIX 9318730Ssteve 9418730Ssteve/* 9518730Ssteve * SYSVINCLUDE 9618730Ssteve * Recognize system V like include directives [include "filename"] 9718730Ssteve * SYSVVARSUB 9818730Ssteve * Recognize system V like ${VAR:x=y} variable substitutions 9918730Ssteve */ 10018730Ssteve#define SYSVINCLUDE 10118730Ssteve#define SYSVVARSUB 10218730Ssteve 10318730Ssteve/* 10418730Ssteve * SUNSHCMD 10518730Ssteve * Recognize SunOS and Solaris: 10618730Ssteve * VAR :sh= CMD # Assign VAR to the command substitution of CMD 10718730Ssteve * ${VAR:sh} # Return the command substitution of the value 10818730Ssteve * # of ${VAR} 10918730Ssteve */ 11018730Ssteve#define SUNSHCMD 11118730Ssteve 11238985Sjb#if !defined(__svr4__) && !defined(__SVR4) && !defined(__ELF__) 11318730Ssteve# ifndef RANLIBMAG 11418730Ssteve# define RANLIBMAG "__.SYMDEF" 11518730Ssteve# endif 11651132Sjulian#else 11751132Sjulian# ifndef RANLIBMAG 11851132Sjulian# define RANLIBMAG "/" 11951132Sjulian# endif 1201590Srgrimes#endif 121