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. --- 32 unchanged lines hidden (view full) --- 41#ifndef lint 42#if 0 43static char copyright[] = 44"@(#) Copyright (c) 1988, 1989, 1990, 1993\n\ 45 The Regents of the University of California. All rights reserved.\n"; 46#endif 47#endif /* not lint */ 48#include <sys/cdefs.h> |
49__FBSDID("$FreeBSD: head/usr.bin/make/main.c 146134 2005-05-12 11:58:39Z harti $"); |
50 51/* 52 * main.c 53 * The main file for this entire program. Exit routines etc 54 * reside here. 55 * 56 * Utility functions defined in this file: 57 * Main_ParseArgLine --- 58 unchanged lines hidden (view full) --- 116/* ordered list of makefiles to read */ 117static Lst makefiles = Lst_Initializer(makefiles); 118 119static Boolean expandVars; /* fully expand printed variables */ 120 121/* list of variables to print */ 122static Lst variables = Lst_Initializer(variables); 123 |
124static Boolean forceJobs; /* -j argument given */ 125Boolean compatMake; /* -B argument */ 126Boolean debug; /* -d flag */ 127Boolean noExecute; /* -n flag */ 128Boolean keepgoing; /* -k flag */ 129Boolean queryFlag; /* -q flag */ 130Boolean touchFlag; /* -t flag */ 131Boolean usePipes; /* !-P flag */ 132Boolean ignoreErrors; /* -i flag */ 133Boolean beSilent; /* -s flag */ 134Boolean beVerbose; /* -v flag */ |
135 136/* (-E) vars to override from env */ 137Lst envFirstVars = Lst_Initializer(envFirstVars); 138 139Boolean jobsRunning; /* TRUE if the jobs might be running */ 140 141char *chdir_verify_path(const char *, char *); 142static int ReadMakefile(const char *); --- 997 unchanged lines hidden --- |