#ifndef NO_ARCHIVES
-#include "filedef.h"
-#include "dep.h"
#include <fnmatch.h>
#include <intprops.h>
+#include "dep.h"
+#include "filedef.h"
+
/* Return nonzero if NAME is an archive-member reference, zero if not. An
archive-member reference is a name like 'lib(member)' where member is a
non-empty string.
this program. If not, see <https://www.gnu.org/licenses/>. */
#include "makeint.h"
-#include "filedef.h"
-#include "os.h"
-#include "dep.h"
-#include "variable.h"
-#include "job.h"
+
#include "commands.h"
+
#if MK_OS_W32
#include <windows.h>
#include "w32err.h"
#endif
+#include "dep.h"
+#include "filedef.h"
+#include "job.h"
+#include "os.h"
+#include "variable.h"
+
#if MK_OS_VMS
# define FILE_LIST_SEPARATOR (vms_comma_separator ? ',' : ' ')
#else
#include <assert.h>
-#include "filedef.h"
-#include "variable.h"
-#include "rule.h"
+#include "commands.h"
#include "dep.h"
+#include "filedef.h"
#include "job.h"
-#include "commands.h"
+#include "rule.h"
+#include "variable.h"
/* Define GCC_IS_NATIVE if gcc is the native development environment on
your system (gcc/bison/flex vs cc/yacc/lex). */
this program. If not, see <https://www.gnu.org/licenses/>. */
#include "makeint.h"
-#include "hash.h"
-#include "filedef.h"
-#include "dep.h"
-#include "debug.h"
#ifdef HAVE_DIRENT_H
# include <dirent.h>
# define REAL_DIR_ENTRY(dp) (dp->d_ino != 0)
# define FAKE_DIR_ENTRY(dp) (dp->d_ino = 1)
#endif /* POSIX */
-\f
+
#if MK_OS_DOS
#include <ctype.h>
#include <fcntl.h>
+#endif
+
+#include "debug.h"
+#include "dep.h"
+#include "filedef.h"
+#include "hash.h"
+#if MK_OS_W32
+#include "pathstuff.h"
+#endif
+#if MK_OS_DOS
/* If it's MSDOS that doesn't have _USE_LFN, disable LFN support. */
#ifndef _USE_LFN
#define _USE_LFN 0
}
#endif /* MK_OS_DOS */
-#if MK_OS_W32
-#include "pathstuff.h"
-#endif
-
#ifdef HAVE_CASE_INSENSITIVE_FS
static const char *
downcase (const char *filename)
#include "debug.h"
#include "filedef.h"
#include "job.h"
-#include "variable.h"
#include "rule.h"
+#include "variable.h"
#include "warning.h"
/* Initially, any errors reported when expanding strings will be reported
#include <assert.h>
-#include "filedef.h"
-#include "dep.h"
-#include "job.h"
#include "commands.h"
-#include "variable.h"
#include "debug.h"
+#include "dep.h"
+#include "filedef.h"
#include "hash.h"
-#include "shuffle.h"
+#include "job.h"
#include "rule.h"
+#include "shuffle.h"
+#include "variable.h"
/* Remember whether snap_deps has been invoked: we need this to be sure we
this program. If not, see <https://www.gnu.org/licenses/>. */
#include "makeint.h"
-#include "filedef.h"
-#include "variable.h"
+
+#include "commands.h"
+#include "debug.h"
#include "dep.h"
+#include "filedef.h"
#include "job.h"
#include "os.h"
-#include "commands.h"
-#include "debug.h"
+#include "variable.h"
struct function_table_entry
#include "gnumake.h"
+#include <libguile.h>
+
#include "debug.h"
-#include "filedef.h"
#include "dep.h"
+#include "filedef.h"
#include "variable.h"
-#include <libguile.h>
-
/* Pre-2.0 versions of Guile don't have a typedef for gsubr function types. */
#if SCM_MAJOR_VERSION < 2
# define GSUBR_TYPE SCM (*) ()
this program. If not, see <https://www.gnu.org/licenses/>. */
#include "makeint.h"
+
#include "hash.h"
+
#include <assert.h>
#define CALLOC(t, n) ((t *) xcalloc (sizeof (t) * (n)))
this program. If not, see <https://www.gnu.org/licenses/>. */
#include "makeint.h"
-#include "filedef.h"
-#include "rule.h"
-#include "dep.h"
+
+#include <assert.h>
+
+#include "commands.h" /* set_file_variables */
#include "debug.h"
-#include "variable.h"
+#include "dep.h"
+#include "filedef.h"
#include "job.h" /* struct child, used inside commands.h */
-#include "commands.h" /* set_file_variables */
+#include "rule.h"
#include "shuffle.h"
-#include <assert.h>
+#include "variable.h"
static int pattern_search (struct file *file, int archive,
unsigned int depth, unsigned int recursions,
#include "makeint.h"
+#include "job.h"
+
#include <assert.h>
#include <string.h>
int getloadavg (double loadavg[], int nelem);
#endif
-#include "job.h"
+#include "commands.h"
#include "debug.h"
+#include "dep.h"
#include "filedef.h"
-#include "commands.h"
-#include "variable.h"
#include "os.h"
-#include "dep.h"
#include "shuffle.h"
+#include "variable.h"
#include "warning.h"
/* Different systems have different requirements for pid_t.
#include "makeint.h"
+#include "dep.h"
#include "filedef.h"
#include "variable.h"
-#include "dep.h"
/* Allocate a buffer in our context, so we can free it. */
char *
double atof ();
#endif
-#include "os.h"
-#include "filedef.h"
-#include "dep.h"
-#include "variable.h"
-#include "job.h"
#include "commands.h"
-#include "rule.h"
#include "debug.h"
+#include "dep.h"
+#include "filedef.h"
#include "getopt.h"
+#include "job.h"
+#include "os.h"
+#include "rule.h"
#include "shuffle.h"
+#include "variable.h"
#include "warning.h"
static void clean_jobserver (int status);
this program. If not, see <https://www.gnu.org/licenses/>. */
#include "makeint.h"
-#include "filedef.h"
-#include "dep.h"
-#include "os.h"
-#include "debug.h"
#include <assert.h>
#include <stdarg.h>
# include <sys/file.h>
#endif
+#include "debug.h"
+#include "dep.h"
+#include "filedef.h"
+#include "os.h"
+
unsigned int
make_toui (const char *str, const char **error)
{
this program. If not, see <https://www.gnu.org/licenses/>. */
#include "makeint.h"
-#include "os.h"
+
#include "output.h"
/* GNU Make no longer supports pre-ANSI89 environments. */
# include "sub_proc.h"
#endif
+#include "os.h"
+
struct output *output_context = NULL;
unsigned int stdio_traced = 0;
# include <pwd.h>
#endif
-#include "filedef.h"
+#include "commands.h"
+#include "debug.h"
#include "dep.h"
+#include "filedef.h"
+#include "hash.h"
#include "job.h"
#include "os.h"
-#include "commands.h"
-#include "variable.h"
#include "rule.h"
-#include "debug.h"
-#include "hash.h"
+#include "variable.h"
#include "warning.h"
/* A 'struct ebuffer' controls the origin of the makefile we are currently
this program. If not, see <https://www.gnu.org/licenses/>. */
#include "makeint.h"
-#include "filedef.h"
-#include "job.h"
-#include "commands.h"
-#include "dep.h"
-#include "variable.h"
-#include "warning.h"
-#include "debug.h"
#include <assert.h>
#endif
#endif
+#include "commands.h"
+#include "debug.h"
+#include "dep.h"
+#include "filedef.h"
+#include "job.h"
+#include "variable.h"
+#include "warning.h"
+
/* The test for circular dependencies is based on the 'updating' bit in
'struct file'. However, double colon targets have separate 'struct
#include "makeint.h"
-#include "filedef.h"
-#include "job.h"
-#include "commands.h"
-#include "debug.h"
-
#if HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
#include "customs.h"
+#include "commands.h"
+#include "debug.h"
+#include "filedef.h"
+#include "job.h"
+
char *remote_description = "Customs";
/* File name of the Customs 'export' client command.
this program. If not, see <https://www.gnu.org/licenses/>. */
#include "makeint.h"
+
+#include "commands.h"
#include "filedef.h"
#include "job.h"
-#include "commands.h"
char *remote_description = 0;
#include "makeint.h"
+#include "rule.h"
+
#include <assert.h>
-#include "filedef.h"
+#include "commands.h"
#include "dep.h"
+#include "filedef.h"
#include "job.h"
-#include "commands.h"
#include "variable.h"
-#include "rule.h"
static void freerule (struct rule *rule, struct rule *lastrule);
\f
#include "makeint.h"
+#include "variable.h"
+
#include <assert.h>
-#include "filedef.h"
+#include "commands.h"
#include "debug.h"
#include "dep.h"
+#include "filedef.h"
+#include "hash.h"
#include "job.h"
-#include "commands.h"
-#include "variable.h"
#include "os.h"
-#include "rule.h"
#if MK_OS_W32
#include "pathstuff.h"
#endif
-#include "hash.h"
+#include "rule.h"
#include "warning.h"
/* Incremented every time we enter target_environment(). */
this program. If not, see <https://www.gnu.org/licenses/>. */
#include "makeint.h"
+
#include "filedef.h"
-#include "variable.h"
#if MK_OS_W32
#include "pathstuff.h"
#endif
+#include "variable.h"
/* Structure used to represent a selective VPATH searchpath. */
this program. If not, see <https://www.gnu.org/licenses/>. */
#include "makeint.h"
+
#include "warning.h"
+
#include "variable.h"
/* Current action for each warning. */