VirtualBox

source: kBuild/trunk/src/gmake/debug.h@ 229

最後變更 在這個檔案從229是 218,由 bird 提交於 20 年 前

2nd try on .NOTPARALLEL.

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.5 KB
 
1/* Debugging macros and interface.
2Copyright (C) 1999 Free Software Foundation, Inc.
3This file is part of GNU Make.
4
5GNU Make is free software; you can redistribute it and/or modify
6it under the terms of the GNU General Public License as published by
7the Free Software Foundation; either version 2, or (at your option)
8any later version.
9
10GNU Make is distributed in the hope that it will be useful,
11but WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13GNU General Public License for more details.
14
15You should have received a copy of the GNU General Public License
16along with GNU Make; see the file COPYING. If not, write to
17the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18Boston, MA 02111-1307, USA. */
19
20
21#define DB_NONE (0x000)
22#define DB_BASIC (0x001)
23#define DB_VERBOSE (0x002)
24#define DB_JOBS (0x004)
25#define DB_IMPLICIT (0x008)
26#define DB_MAKEFILES (0x100)
27#define DB_KMK (0x800)
28
29#define DB_ALL (0xfff)
30
31extern int db_level;
32
33#define ISDB(_l) ((_l)&db_level)
34
35#define DBS(_l,_x) do{ if(ISDB(_l)) {print_spaces (depth); \
36 printf _x; fflush (stdout);} }while(0)
37
38#define DBF(_l,_x) do{ if(ISDB(_l)) {print_spaces (depth); \
39 printf (_x, file->name); \
40 fflush (stdout);} }while(0)
41
42#define DB(_l,_x) do{ if(ISDB(_l)) {printf _x; fflush (stdout);} }while(0)
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette