make.h (103508) | make.h (103545) |
---|---|
1/* 2 * Copyright (c) 1988, 1989, 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * Copyright (c) 1989 by Berkeley Softworks 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * Adam de Boor. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)make.h 8.3 (Berkeley) 6/13/95 | 1/* 2 * Copyright (c) 1988, 1989, 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * Copyright (c) 1989 by Berkeley Softworks 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * Adam de Boor. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)make.h 8.3 (Berkeley) 6/13/95 |
39 * $FreeBSD: head/usr.bin/make/make.h 103508 2002-09-17 22:31:26Z jmallett $ | 39 * $FreeBSD: head/usr.bin/make/make.h 103545 2002-09-18 16:13:03Z jmallett $ |
40 */ 41 42/*- 43 * make.h -- 44 * The global definitions for pmake 45 */ 46 47#ifndef _MAKE_H_ --- 285 unchanged lines hidden (view full) --- 333#define DEBUG_TARG 0x0100 334#define DEBUG_VAR 0x0200 335#define DEBUG_FOR 0x0400 336#define DEBUG_LOUD 0x0800 337 338#define CONCAT(a,b) a##b 339 340#define DEBUG(module) (debug & CONCAT(DEBUG_,module)) | 40 */ 41 42/*- 43 * make.h -- 44 * The global definitions for pmake 45 */ 46 47#ifndef _MAKE_H_ --- 285 unchanged lines hidden (view full) --- 333#define DEBUG_TARG 0x0100 334#define DEBUG_VAR 0x0200 335#define DEBUG_FOR 0x0400 336#define DEBUG_LOUD 0x0800 337 338#define CONCAT(a,b) a##b 339 340#define DEBUG(module) (debug & CONCAT(DEBUG_,module)) |
341#define DEBUGF(module,fmt,args...) \ | 341#define DEBUGF(module,args) \ |
342do { \ 343 if (DEBUG(module)) { \ | 342do { \ 343 if (DEBUG(module)) { \ |
344 fprintf(stderr, fmt, ##args); \ 345 fflush(stderr); \ | 344 Debug args ; \ |
346 } \ 347} while (0) 348#define ISDOT(c) ((c)[0] == '.' && (((c)[1] == '\0') || ((c)[1] == '/'))) 349#define ISDOTDOT(c) ((c)[0] == '.' && ISDOT(&((c)[1]))) 350 351/* 352 * Since there are so many, all functions that return non-integer values are 353 * extracted by means of a sed script or two and stuck in the file "nonints.h" 354 */ 355#include "nonints.h" 356 357int Make_TimeStamp(GNode *, GNode *); 358Boolean Make_OODate(GNode *); 359int Make_HandleUse(GNode *, GNode *); 360void Make_Update(GNode *); 361void Make_DoAllVar(GNode *); 362Boolean Make_Run(Lst); 363 364#endif /* _MAKE_H_ */ | 345 } \ 346} while (0) 347#define ISDOT(c) ((c)[0] == '.' && (((c)[1] == '\0') || ((c)[1] == '/'))) 348#define ISDOTDOT(c) ((c)[0] == '.' && ISDOT(&((c)[1]))) 349 350/* 351 * Since there are so many, all functions that return non-integer values are 352 * extracted by means of a sed script or two and stuck in the file "nonints.h" 353 */ 354#include "nonints.h" 355 356int Make_TimeStamp(GNode *, GNode *); 357Boolean Make_OODate(GNode *); 358int Make_HandleUse(GNode *, GNode *); 359void Make_Update(GNode *); 360void Make_DoAllVar(GNode *); 361Boolean Make_Run(Lst); 362 363#endif /* _MAKE_H_ */ |