VirtualBox

source: kBuild/branches/FREEBSD/src/kmk/nonints.h@ 10

Last change on this file since 10 was 10, checked in by (none), 23 years ago

This commit was manufactured by cvs2svn to create branch 'FREEBSD'.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.9 KB
Line 
1/*-
2 * Copyright (c) 1988, 1989, 1990, 1993
3 * The Regents of the University of California. All rights reserved.
4 * Copyright (c) 1989 by Berkeley Softworks
5 * All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * Adam de Boor.
9 *
10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions
12 * are met:
13 * 1. Redistributions of source code must retain the above copyright
14 * notice, this list of conditions and the following disclaimer.
15 * 2. Redistributions in binary form must reproduce the above copyright
16 * notice, this list of conditions and the following disclaimer in the
17 * documentation and/or other materials provided with the distribution.
18 * 3. All advertising materials mentioning features or use of this software
19 * must display the following acknowledgement:
20 * This product includes software developed by the University of
21 * California, Berkeley and its contributors.
22 * 4. Neither the name of the University nor the names of its contributors
23 * may be used to endorse or promote products derived from this software
24 * without specific prior written permission.
25 *
26 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
27 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
28 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
29 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
30 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)nonints.h 8.4 (Berkeley) 4/28/95
39 * $FreeBSD: src/usr.bin/make/nonints.h,v 1.17 2002/09/18 16:13:03 jmallett Exp $
40 */
41
42/* arch.c */
43ReturnStatus Arch_ParseArchive(char **, Lst, GNode *);
44void Arch_Touch(GNode *);
45void Arch_TouchLib(GNode *);
46int Arch_MTime(GNode *);
47int Arch_MemMTime(GNode *);
48void Arch_FindLib(GNode *, Lst);
49Boolean Arch_LibOODate(GNode *);
50void Arch_Init(void);
51void Arch_End(void);
52
53/* compat.c */
54void Compat_Run(Lst);
55
56/* cond.c */
57int Cond_Eval(char *);
58void Cond_End(void);
59
60/* for.c */
61int For_Eval(char *);
62void For_Run(void);
63
64/* main.c */
65void Main_ParseArgLine(char *);
66char *Cmd_Exec(char *, char **);
67void Debug(const char *, ...);
68void Error(const char *, ...);
69void Fatal(const char *, ...);
70void Punt(const char *, ...);
71void DieHorribly(void);
72int PrintAddr(void *, void *);
73void Finish(int);
74char *estrdup(const char *);
75void *emalloc(size_t);
76/* efree(x) works when x==NULL. STDC behavior, may need some different
77 * definition for cross-builds on deficient systems */
78#define efree free
79void *erealloc(void *, size_t);
80void enomem(void);
81int eunlink(const char *);
82
83/* parse.c */
84void Parse_Error(int, const char *, ...);
85Boolean Parse_AnyExport(void);
86Boolean Parse_IsVar(char *);
87void Parse_DoVar(char *, GNode *);
88void Parse_AddIncludeDir(char *);
89void Parse_File(char *, FILE *);
90void Parse_Init(void);
91void Parse_End(void);
92void Parse_FromString(char *);
93Lst Parse_MainName(void);
94
95/* str.c */
96void str_init(void);
97void str_end(void);
98char *str_concat(char *, char *, int);
99char **brk_string(char *, int *, Boolean);
100char *Str_FindSubstring(char *, char *);
101int Str_Match(char *, char *);
102char *Str_SYSVMatch(char *, char *, int *len);
103void Str_SYSVSubst(Buffer, char *, char *, int);
104
105/* suff.c */
106void Suff_ClearSuffixes(void);
107Boolean Suff_IsTransform(char *);
108GNode *Suff_AddTransform(char *);
109int Suff_EndTransform(void *, void *);
110void Suff_AddSuffix(char *);
111Lst Suff_GetPath(char *);
112void Suff_DoPaths(void);
113void Suff_AddInclude(char *);
114void Suff_AddLib(char *);
115void Suff_FindDeps(GNode *);
116void Suff_SetNull(char *);
117void Suff_Init(void);
118void Suff_End(void);
119void Suff_PrintAll(void);
120
121/* targ.c */
122void Targ_Init(void);
123void Targ_End(void);
124GNode *Targ_NewGN(char *);
125GNode *Targ_FindNode(char *, int);
126Lst Targ_FindList(Lst, int);
127Boolean Targ_Ignore(GNode *);
128Boolean Targ_Silent(GNode *);
129Boolean Targ_Precious(GNode *);
130void Targ_SetMain(GNode *);
131int Targ_PrintCmd(void *, void *);
132char *Targ_FmtTime(time_t);
133void Targ_PrintType(int);
134void Targ_PrintGraph(int);
135
136/* var.c */
137void Var_Delete(char *, GNode *);
138void Var_Set(char *, char *, GNode *);
139void Var_Append(char *, char *, GNode *);
140Boolean Var_Exists(char *, GNode *);
141char *Var_Value(char *, GNode *, char **);
142char *Var_Parse(char *, GNode *, Boolean, int *, Boolean *);
143char *Var_Subst(char *, char *, GNode *, Boolean);
144char *Var_GetTail(char *);
145char *Var_GetHead(char *);
146void Var_Init(void);
147void Var_End(void);
148void Var_Dump(GNode *);
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette