summaryrefslogtreecommitdiff
path: root/tools/build/src/engine/make.h
blob: 2c3ba16789f139db1c92fd99f35816b15ccef1c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
 * Copyright 1993, 1995 Christopher Seiwald.
 *
 * This file is part of Jam - see jam.c for Copyright information.
 */

/*
 * make.h - bring a target up to date, once rules are in place
 */

#ifndef MAKE_SW20111118_H
#define MAKE_SW20111118_H

#include "lists.h"
#include "object.h"
#include "rules.h"

int make( LIST * targets, int anyhow );
int make1( LIST * t );

typedef struct {
    int temp;
    int updating;
    int cantfind;
    int cantmake;
    int targets;
    int made;
} COUNTS ;


void make0( TARGET * t, TARGET * p, int depth, COUNTS * counts, int anyhow,
    TARGET * rescanning );


/* Specifies that the target should be updated. */
void mark_target_for_updating( OBJECT * target );

/* Returns targets previously passed to mark_target_for_updating(). */
LIST * targets_to_update();

/* Clears/unmarks all targets currently marked for update. */
void clear_targets_to_update();

#endif