VirtualBox

source: kBuild/vendor/gnumake/current/debug.h@ 3208

最後變更 在這個檔案從3208是 3138,由 bird 提交於 7 年 前

Imported make 4.2.1 (2e55f5e4abdc0e38c1d64be703b446695e70b3b6) from https://git.savannah.gnu.org/git/make.git.

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.4 KB
 
1/* Debugging macros and interface.
2Copyright (C) 1999-2016 Free Software Foundation, Inc.
3This file is part of GNU Make.
4
5GNU Make is free software; you can redistribute it and/or modify it under the
6terms of the GNU General Public License as published by the Free Software
7Foundation; either version 3 of the License, or (at your option) any later
8version.
9
10GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
11WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License along with
15this program. If not, see <http://www.gnu.org/licenses/>. */
16
17#define DB_NONE (0x000)
18#define DB_BASIC (0x001)
19#define DB_VERBOSE (0x002)
20#define DB_JOBS (0x004)
21#define DB_IMPLICIT (0x008)
22#define DB_MAKEFILES (0x100)
23
24#define DB_ALL (0xfff)
25
26extern int db_level;
27
28#define ISDB(_l) ((_l)&db_level)
29
30#define DBS(_l,_x) do{ if(ISDB(_l)) {print_spaces (depth); \
31 printf _x; fflush (stdout);} }while(0)
32
33#define DBF(_l,_x) do{ if(ISDB(_l)) {print_spaces (depth); \
34 printf (_x, file->name); \
35 fflush (stdout);} }while(0)
36
37#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