[BACK]Return to nonints.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / make

Annotation of src/usr.bin/make/nonints.h, Revision 1.3

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