Tue Sep 1 17:40:34 2020 UTC ()
make(1): mark LIBSUFF and RECHECK as independent build options


(rillig)
diff -r1.21 -r1.22 src/usr.bin/make/config.h

cvs diff -r1.21 -r1.22 src/usr.bin/make/config.h (expand / switch to unified diff)

--- src/usr.bin/make/config.h 2012/03/31 00:12:24 1.21
+++ src/usr.bin/make/config.h 2020/09/01 17:40:34 1.22
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: config.h,v 1.21 2012/03/31 00:12:24 christos Exp $ */ 1/* $NetBSD: config.h,v 1.22 2020/09/01 17:40:34 rillig Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. 4 * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
5 * 5 *
6 * This code is derived from software contributed to Berkeley by 6 * This code is derived from software contributed to Berkeley by
7 * Adam de Boor. 7 * Adam de Boor.
8 * 8 *
9 * Redistribution and use in source and binary forms, with or without 9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions 10 * modification, are permitted provided that the following conditions
11 * are met: 11 * are met:
12 * 1. Redistributions of source code must retain the above copyright 12 * 1. Redistributions of source code must retain the above copyright
13 * notice, this list of conditions and the following disclaimer. 13 * notice, this list of conditions and the following disclaimer.
14 * 2. Redistributions in binary form must reproduce the above copyright 14 * 2. Redistributions in binary form must reproduce the above copyright
@@ -90,38 +90,40 @@ @@ -90,38 +90,40 @@
90 * These control the handling of the .INCLUDES and .LIBS variables. 90 * These control the handling of the .INCLUDES and .LIBS variables.
91 * If INCLUDES is defined, the .INCLUDES variable will be filled 91 * If INCLUDES is defined, the .INCLUDES variable will be filled
92 * from the search paths of those suffixes which are marked by 92 * from the search paths of those suffixes which are marked by
93 * .INCLUDES dependency lines. Similarly for LIBRARIES and .LIBS 93 * .INCLUDES dependency lines. Similarly for LIBRARIES and .LIBS
94 * See suff.c for more details. 94 * See suff.c for more details.
95 */ 95 */
96#define INCLUDES 96#define INCLUDES
97#define LIBRARIES 97#define LIBRARIES
98 98
99/* 99/*
100 * LIBSUFF 100 * LIBSUFF
101 * Is the suffix used to denote libraries and is used by the Suff module 101 * Is the suffix used to denote libraries and is used by the Suff module
102 * to find the search path on which to seek any -l<xx> targets. 102 * to find the search path on which to seek any -l<xx> targets.
103 * 103 */
 104#define LIBSUFF ".a"
 105
 106/*
104 * RECHECK 107 * RECHECK
105 * If defined, Make_Update will check a target for its current 108 * If defined, Make_Update will check a target for its current
106 * modification time after it has been re-made, setting it to the 109 * modification time after it has been re-made, setting it to the
107 * starting time of the make only if the target still doesn't exist. 110 * starting time of the make only if the target still doesn't exist.
108 * Unfortunately, under NFS the modification time often doesn't 111 * Unfortunately, under NFS the modification time often doesn't
109 * get updated in time, so a target will appear to not have been 112 * get updated in time, so a target will appear to not have been
110 * re-made, causing later targets to appear up-to-date. On systems 113 * re-made, causing later targets to appear up-to-date. On systems
111 * that don't have this problem, you should defined this. Under 114 * that don't have this problem, you should define this. Under
112 * NFS you probably should not, unless you aren't exporting jobs. 115 * NFS you probably should not, unless you aren't exporting jobs.
113 */ 116 */
114#define LIBSUFF ".a" 
115#define RECHECK 117#define RECHECK
116 118
117/* 119/*
118 * POSIX 120 * POSIX
119 * Adhere to the POSIX 1003.2 draft for the make(1) program. 121 * Adhere to the POSIX 1003.2 draft for the make(1) program.
120 * - Use MAKEFLAGS instead of MAKE to pick arguments from the 122 * - Use MAKEFLAGS instead of MAKE to pick arguments from the
121 * environment. 123 * environment.
122 * - Allow empty command lines if starting with tab. 124 * - Allow empty command lines if starting with tab.
123 */ 125 */
124#define POSIX 126#define POSIX
125 127
126/* 128/*
127 * SYSVINCLUDE 129 * SYSVINCLUDE