Synchronized with documentations/db/credits.
[AROS.git] / tools / MetaMake / cache.h
blobd25751d41fdd89c1e53e3038c0dec6c01deb3eec
1 #ifndef __MMAKE_CACHE_H
2 #define __MMAKE_CACHE_H
4 /* MetaMake - A Make extension
5 Copyright © 1995-2004, The AROS Development Team. All rights reserved.
7 This file is part of MetaMake.
9 MetaMake is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2, or (at your option)
12 any later version.
14 MetaMake is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with GNU CC; see the file COPYING. If not, write to
21 the Free Software Foundation, 59 Temple Place - Suite 330,
22 Boston, MA 02111-1307, USA. */
24 #include "list.h"
25 #include "dirnode.h"
26 #include "project.h"
27 #include "cache.h"
29 struct MakefileRef
31 struct Node node;
32 int virtualtarget : 1;
34 struct Makefile * makefile;
37 struct Target
39 struct Node node;
40 int updated : 1;
42 struct List makefiles;
45 /* The public part of the Cache structure */
46 struct Cache
48 struct List targets;
49 };
52 struct Cache *activatecache(struct Project *);
53 void closecache(struct Cache * cache);
55 #endif /* __MMAKE_CACHE_H */