config.h revision 141104
11590Srgrimes/*- 25814Sjkh * Copyright (c) 1988, 1989, 1990, 1993 35814Sjkh * The Regents of the University of California. All rights reserved. 41590Srgrimes * 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. 3818730Ssteve * 391590Srgrimes * @(#)config.h 8.2 (Berkeley) 4/28/95 401590Srgrimes * $FreeBSD: head/usr.bin/make/config.h 141104 2005-02-01 10:50:37Z harti $ 411590Srgrimes */ 421590Srgrimes 431590Srgrimes#ifndef config_h_efe0765e 441590Srgrimes#define config_h_efe0765e 451590Srgrimes 461590Srgrimes/* 471590Srgrimes * DEFMAXJOBS 481590Srgrimes * This control the default concurrency. On no occasion will more 491590Srgrimes * than DEFMAXJOBS targets be created at once. 501590Srgrimes */ 511590Srgrimes#define DEFMAXJOBS 1 521590Srgrimes 531590Srgrimes/* 541590Srgrimes * INCLUDES 551590Srgrimes * LIBRARIES 561590Srgrimes * These control the handling of the .INCLUDES and .LIBS variables. 571590Srgrimes * If INCLUDES is defined, the .INCLUDES variable will be filled 581590Srgrimes * from the search paths of those suffixes which are marked by 591590Srgrimes * .INCLUDES dependency lines. Similarly for LIBRARIES and .LIBS 601590Srgrimes * See suff.c for more details. 611590Srgrimes */ 621590Srgrimes#define INCLUDES 631590Srgrimes#define LIBRARIES 641590Srgrimes 651590Srgrimes/* 661590Srgrimes * LIBSUFF 671590Srgrimes * Is the suffix used to denote libraries and is used by the Suff module 681590Srgrimes * to find the search path on which to seek any -l<xx> targets. 691590Srgrimes * 701590Srgrimes * RECHECK 711590Srgrimes * If defined, Make_Update will check a target for its current 721590Srgrimes * modification time after it has been re-made, setting it to the 731590Srgrimes * starting time of the make only if the target still doesn't exist. 741590Srgrimes * Unfortunately, under NFS the modification time often doesn't 751590Srgrimes * get updated in time, so a target will appear to not have been 761590Srgrimes * re-made, causing later targets to appear up-to-date. On systems 771590Srgrimes * that don't have this problem, you should defined this. Under 781590Srgrimes * NFS you probably should not, unless you aren't exporting jobs. 791590Srgrimes */ 801590Srgrimes#define LIBSUFF ".a" 811590Srgrimes#define RECHECK 821590Srgrimes 831590Srgrimes/* 841590Srgrimes * SYSVINCLUDE 8518730Ssteve * Recognize system V like include directives [include "filename"] 8618730Ssteve * SYSVVARSUB 8718730Ssteve * Recognize system V like ${VAR:x=y} variable substitutions 8818730Ssteve */ 8918730Ssteve#define SYSVINCLUDE 9018730Ssteve#define SYSVVARSUB 9118730Ssteve 9218730Ssteve/* 9318730Ssteve * SUNSHCMD 9418730Ssteve * Recognize SunOS and Solaris: 9518730Ssteve * VAR :sh= CMD # Assign VAR to the command substitution of CMD 9618730Ssteve * ${VAR:sh} # Return the command substitution of the value 9718730Ssteve * # of ${VAR} 9818730Ssteve */ 9918730Ssteve#define SUNSHCMD 10018730Ssteve 10118730Ssteve#if !defined(__svr4__) && !defined(__SVR4) && !defined(__ELF__) 10218730Ssteve# ifndef RANLIBMAG 10318730Ssteve# define RANLIBMAG "__.SYMDEF" 10418730Ssteve# endif 10518730Ssteve#else 10618730Ssteve# ifndef RANLIBMAG 10718730Ssteve# define RANLIBMAG "/" 10818730Ssteve# endif 10918730Ssteve#endif 11018730Ssteve 11118730Ssteve#endif /* config_h_efe0765e */ 11218730Ssteve