| 1 | /*- |
| 2 | * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. |
| 3 | * Copyright (c) 1988, 1989 by Adam de Boor |
| 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 5.6 (Berkeley) 4/18/91 |
| 39 | */ |
| 40 | |
| 41 | char **brk_string(), *emalloc(), *str_concat(); |
| 42 | |
| 43 | ReturnStatus Arch_ParseArchive (); |
| 44 | void Arch_Touch (); |
| 45 | void Arch_TouchLib (); |
| 46 | int Arch_MTime (); |
| 47 | int Arch_MemMTime (); |
| 48 | void Arch_FindLib (); |
| 49 | Boolean Arch_LibOODate (); |
| 50 | void Arch_Init (); |
| 51 | void Compat_Run(); |
| 52 | void Dir_Init (); |
| 53 | Boolean Dir_HasWildcards (); |
| 54 | void Dir_Expand (); |
| 55 | char * Dir_FindFile (); |
| 56 | int Dir_MTime (); |
| 57 | void Dir_AddDir (); |
| 58 | ClientData Dir_CopyDir (); |
| 59 | char * Dir_MakeFlags (); |
| 60 | void Dir_Destroy (); |
| 61 | void Dir_ClearPath (); |
| 62 | void Dir_Concat (); |
| 63 | int Make_TimeStamp (); |
| 64 | Boolean Make_OODate (); |
| 65 | int Make_HandleUse (); |
| 66 | void Make_Update (); |
| 67 | void Make_DoAllVar (); |
| 68 | Boolean Make_Run (); |
| 69 | void Job_Touch (); |
| 70 | Boolean Job_CheckCommands (); |
| 71 | void Job_CatchChildren (); |
| 72 | void Job_CatchOutput (); |
| 73 | void Job_Make (); |
| 74 | void Job_Init (); |
| 75 | Boolean Job_Full (); |
| 76 | Boolean Job_Empty (); |
| 77 | ReturnStatus Job_ParseShell (); |
| 78 | int Job_End (); |
| 79 | void Job_Wait(); |
| 80 | void Job_AbortAll (); |
| 81 | void Main_ParseArgLine (); |
| 82 | void Error (); |
| 83 | void Fatal (); |
| 84 | void Punt (); |
| 85 | void DieHorribly (); |
| 86 | void Finish (); |
| 87 | void Parse_Error (); |
| 88 | Boolean Parse_IsVar (); |
| 89 | void Parse_DoVar (); |
| 90 | void Parse_AddIncludeDir (); |
| 91 | void Parse_File(); |
| 92 | Lst Parse_MainName(); |
| 93 | void Suff_ClearSuffixes (); |
| 94 | Boolean Suff_IsTransform (); |
| 95 | GNode * Suff_AddTransform (); |
| 96 | void Suff_AddSuffix (); |
| 97 | int Suff_EndTransform (); |
| 98 | Lst Suff_GetPath (); |
| 99 | void Suff_DoPaths(); |
| 100 | void Suff_AddInclude (); |
| 101 | void Suff_AddLib (); |
| 102 | void Suff_FindDeps (); |
| 103 | void Suff_SetNull(); |
| 104 | void Suff_Init (); |
| 105 | void Targ_Init (); |
| 106 | GNode * Targ_NewGN (); |
| 107 | GNode * Targ_FindNode (); |
| 108 | Lst Targ_FindList (); |
| 109 | Boolean Targ_Ignore (); |
| 110 | Boolean Targ_Silent (); |
| 111 | Boolean Targ_Precious (); |
| 112 | void Targ_SetMain (); |
| 113 | int Targ_PrintCmd (); |
| 114 | char * Targ_FmtTime (); |
| 115 | void Targ_PrintType (); |
| 116 | char * Str_Concat (); |
| 117 | int Str_Match(); |
| 118 | void Var_Delete(); |
| 119 | void Var_Set (); |
| 120 | void Var_Append (); |
| 121 | Boolean Var_Exists(); |
| 122 | char * Var_Value (); |
| 123 | char * Var_Parse (); |
| 124 | char * Var_Subst (); |
| 125 | char * Var_GetTail(); |
| 126 | char * Var_GetHead(); |
| 127 | void Var_Init (); |
| 128 | char * Str_FindSubstring(); |