Commit | Line | Data |
---|---|---|
822a00a4 | 1 | /*- |
8db0b741 KB |
2 | * Copyright (c) 1988, 1989, 1990, 1993 |
3 | * The Regents of the University of California. All rights reserved. | |
822a00a4 KB |
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 | * | |
ad787160 C |
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. | |
8c8a5b54 | 25 | * |
ad787160 C |
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 | * | |
ed554bc5 | 38 | * @(#)nonints.h 8.3 (Berkeley) 3/19/94 |
822a00a4 KB |
39 | */ |
40 | ||
27a78130 CZ |
41 | /* arch.c */ |
42 | ReturnStatus Arch_ParseArchive __P((char **, Lst, GNode *)); | |
43 | void Arch_Touch __P((GNode *)); | |
44 | void Arch_TouchLib __P((GNode *)); | |
45 | int Arch_MTime __P((GNode *)); | |
46 | int Arch_MemMTime __P((GNode *)); | |
47 | void Arch_FindLib __P((GNode *, Lst)); | |
48 | Boolean Arch_LibOODate __P((GNode *)); | |
49 | void Arch_Init __P((void)); | |
50 | ||
51 | /* compat.c */ | |
52 | void Compat_Run __P((Lst)); | |
fa942a09 | 53 | |
27a78130 CZ |
54 | /* cond.c */ |
55 | int Cond_Eval __P((char *)); | |
56 | void Cond_End __P((void)); | |
57 | ||
58 | /* for.c */ | |
59 | int For_Eval __P((char *)); | |
60 | void For_Run __P((void)); | |
61 | ||
62 | /* main.c */ | |
63 | void Main_ParseArgLine __P((char *)); | |
64 | int main __P((int, char **)); | |
65 | void Error __P((const char *, ...)); | |
66 | void Fatal __P((const char *, ...)); | |
67 | void Punt __P((const char *, ...)); | |
68 | void DieHorribly __P((void)); | |
69 | void Finish __P((int)); | |
70 | char *emalloc __P((u_int)); | |
71 | void enomem __P((void)); | |
72 | ||
73 | /* parse.c */ | |
74 | void Parse_Error __P((int, const char *, ...)); | |
75 | Boolean Parse_AnyExport __P((void)); | |
76 | Boolean Parse_IsVar __P((char *)); | |
77 | void Parse_DoVar __P((char *, GNode *)); | |
78 | void Parse_AddIncludeDir __P((char *)); | |
79 | void Parse_File __P((char *, FILE *)); | |
80 | void Parse_Init __P((void)); | |
81 | void Parse_FromString __P((char *)); | |
82 | Lst Parse_MainName __P((void)); | |
83 | ||
84 | /* str.c */ | |
85 | char *str_concat __P((char *, char *, int)); | |
86 | char **brk_string __P((char *, int *)); | |
87 | char *Str_FindSubstring __P((char *, char *)); | |
88 | int Str_Match __P((char *, char *)); | |
89 | char *Str_SYSVMatch __P((char *, char *, int *len)); | |
90 | void Str_SYSVSubst __P((Buffer, char *, char *, int)); | |
91 | ||
92 | /* suff.c */ | |
93 | void Suff_ClearSuffixes __P((void)); | |
94 | Boolean Suff_IsTransform __P((char *)); | |
95 | GNode *Suff_AddTransform __P((char *)); | |
96 | int Suff_EndTransform __P((GNode *)); | |
97 | void Suff_AddSuffix __P((char *)); | |
98 | Lst Suff_GetPath __P((char *)); | |
99 | void Suff_DoPaths __P((void)); | |
100 | void Suff_AddInclude __P((char *)); | |
101 | void Suff_AddLib __P((char *)); | |
102 | void Suff_FindDeps __P((GNode *)); | |
103 | void Suff_SetNull __P((char *)); | |
104 | void Suff_Init __P((void)); | |
105 | void Suff_PrintAll __P((void)); | |
106 | ||
107 | /* targ.c */ | |
108 | void Targ_Init __P((void)); | |
109 | GNode *Targ_NewGN __P((char *)); | |
110 | GNode *Targ_FindNode __P((char *, int)); | |
111 | Lst Targ_FindList __P((Lst, int)); | |
112 | Boolean Targ_Ignore __P((GNode *)); | |
113 | Boolean Targ_Silent __P((GNode *)); | |
114 | Boolean Targ_Precious __P((GNode *)); | |
115 | void Targ_SetMain __P((GNode *)); | |
116 | int Targ_PrintCmd __P((char *)); | |
117 | char *Targ_FmtTime __P((time_t)); | |
118 | void Targ_PrintType __P((int)); | |
119 | void Targ_PrintGraph __P((int)); | |
120 | ||
121 | /* var.c */ | |
122 | void Var_Delete __P((char *, GNode *)); | |
123 | void Var_Set __P((char *, char *, GNode *)); | |
124 | void Var_Append __P((char *, char *, GNode *)); | |
125 | Boolean Var_Exists __P((char *, GNode *)); | |
126 | char *Var_Value __P((char *, GNode *)); | |
127 | char *Var_Parse __P((char *, GNode *, Boolean, int *, Boolean *)); | |
128 | char *Var_Subst __P((char *, char *, GNode *, Boolean)); | |
129 | char *Var_GetTail __P((char *)); | |
130 | char *Var_GetHead __P((char *)); | |
131 | void Var_Init __P((void)); | |
132 | void Var_Dump __P((GNode *)); |