#include "jam.h"
#include "lists.h"
#include "parse.h"
#include "builtins.h"
#include "rules.h"
#include "filesys.h"
#include "newstr.h"
#include "regexp.h"
#include "pathsys.h"
#include "global.h"
#include "md5.h"
Data Structures | |
struct | globbing |
Defines | |
#define | P0 (PARSE *)0 |
#define | C0 (char *)0 |
Functions | |
int | glob (const char *s, const char *c) |
LIST * | builtin_md5 (PARSE *parse, LOL *args, int *jmp) |
LIST * | builtin_buildno (PARSE *parse, LOL *args, int *jmp) |
LIST * | builtin_depends (PARSE *parse, LOL *args, int *jmp) |
LIST * | builtin_echo (PARSE *parse, LOL *args, int *jmp) |
LIST * | builtin_exit (PARSE *parse, LOL *args, int *jmp) |
LIST * | builtin_flags (PARSE *parse, LOL *args, int *jmp) |
LIST * | builtin_glob (PARSE *parse, LOL *args, int *jmp) |
LIST * | builtin_match (PARSE *parse, LOL *args, int *jmp) |
void | load_builtins () |
static void | builtin_glob_back (void *closure, const char *file, int status, time_t time) |
= Internal routines:
builtin_depends()- DEPENDS/INCLUDES/NEEDS rule builtin_echo() - ECHO rule builtin_exit() - EXIT rule builtin_flags() - NOCARE, NOTFILE, TEMPORARY rule builtin_glob() - GLOB rule builtin_match() - MATCH rule builtin_buildno()-
#define C0 (char *)0 |
#define P0 (PARSE *)0 |
Rule for BuildNumber.
Reads the file specified, and if it contains an integer, will increment it, otherwise will use a default BuildNumber of 1.
Rule for DEPENDS/INCLUDES
The DEPENDS builtin rule appends each of the listed sources on the dependency list of each of the listed targets. It binds both the targets and sources as TARGETs.
Rule for ECHO
The ECHO builtin rule echoes the targets to the user. No other actions are taken.
Rule for EXIT
The EXIT builtin rule echoes the targets to the user and exits the program with a failure status.
Rule for NOCARE, NOTFILE, TEMPORARY
Builtin_flags() marks the target with the appropriate flag, for use by make0(). It binds each target as a TARGET.
static void builtin_glob_back | ( | void * | closure, | |
const char * | file, | |||
int | status, | |||
time_t | time | |||
) | [static] |
Return the MD5 sum of the supplied lists.
int glob | ( | const char * | s, | |
const char * | c | |||
) |
void load_builtins | ( | ) |