1 /* Declarations for target shuffling support.
2 Copyright (C) 2022-2022 Free Software Foundation, Inc.
3 This file is part of GNU Make.
4
5 GNU Make is free software; you can redistribute it and/or modify it under the
6 terms of the GNU General Public License as published by the Free Software
7 Foundation; either version 3 of the License, or (at your option) any later
8 version.
9
10 GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
11 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12 A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License along with
15 this program. If not, see <https://www.gnu.org/licenses/>. */
16
17 struct dep;
18 struct goaldep;
19
20 void shuffle_set_mode (const char *cmdarg);
21 const char *shuffle_get_mode (void);
22 void shuffle_deps_recursive (struct dep* g);
23
24 #define shuffle_goaldeps_recursive(_g) do{ \
25 shuffle_deps_recursive ((struct dep *)_g); \
26 } while(0)