mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-27 04:50:28 +00:00
Remove plenty of makefile misconfigurations
This commit is contained in:
parent
9172fd42a0
commit
8b469389f6
186 changed files with 1408 additions and 901 deletions
2
third_party/make/dirname.h
vendored
2
third_party/make/dirname.h
vendored
|
@ -20,7 +20,7 @@
|
|||
|
||||
#ifndef DIRNAME_H_
|
||||
# define DIRNAME_H_ 1
|
||||
# include "third_party/make/dosname.h"
|
||||
#include "third_party/make/dosname.h"
|
||||
|
||||
# ifndef DIRECTORY_SEPARATOR
|
||||
# define DIRECTORY_SEPARATOR '/'
|
||||
|
|
8
third_party/make/error.c
vendored
8
third_party/make/error.c
vendored
|
@ -28,7 +28,7 @@
|
|||
#include "third_party/make/stdio.h"
|
||||
|
||||
#if !_LIBC && ENABLE_NLS
|
||||
# include "third_party/make/gettext.h"
|
||||
#include "third_party/make/gettext.h"
|
||||
# define _(msgid) gettext (msgid)
|
||||
#endif
|
||||
|
||||
|
@ -38,11 +38,7 @@
|
|||
# define _GL_ATTRIBUTE_FORMAT_PRINTF(a, b)
|
||||
# define _GL_ARG_NONNULL(a)
|
||||
#else
|
||||
# include "getprogname.h"
|
||||
#endif
|
||||
|
||||
#if USE_UNLOCKED_IO
|
||||
# include "unlocked-io.h"
|
||||
#include "third_party/make/getprogname.h"
|
||||
#endif
|
||||
|
||||
#ifndef _
|
||||
|
|
2
third_party/make/getopt.c
vendored
2
third_party/make/getopt.c
vendored
|
@ -31,7 +31,7 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
|
|||
#endif
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "third_party/make/config.h"
|
||||
#include "third_party/make/config.h"
|
||||
#endif
|
||||
#pragma GCC diagnostic ignored "-Wredundant-decls"
|
||||
|
||||
|
|
36
third_party/make/make.mk
vendored
36
third_party/make/make.mk
vendored
|
@ -13,6 +13,42 @@ THIRD_PARTY_MAKE_BINS = \
|
|||
THIRD_PARTY_MAKE_A = \
|
||||
o/$(MODE)/third_party/make/make.a
|
||||
|
||||
THIRD_PARTY_MAKE_HDRS = \
|
||||
third_party/make/filename.h \
|
||||
third_party/make/dirname.h \
|
||||
third_party/make/stddef.h \
|
||||
third_party/make/error.h \
|
||||
third_party/make/gnumake.h \
|
||||
third_party/make/gettext.h \
|
||||
third_party/make/stdlib.h \
|
||||
third_party/make/xalloc.h \
|
||||
third_party/make/xalloc-oversized.h \
|
||||
third_party/make/os.h \
|
||||
third_party/make/stdint.h \
|
||||
third_party/make/fd-hook.h \
|
||||
third_party/make/job.h \
|
||||
third_party/make/unistd.h \
|
||||
third_party/make/getprogname.h \
|
||||
third_party/make/dosname.h \
|
||||
third_party/make/config.h \
|
||||
third_party/make/concat-filename.h \
|
||||
third_party/make/findprog.h \
|
||||
third_party/make/intprops.h \
|
||||
third_party/make/exitfail.h \
|
||||
third_party/make/alloca.h \
|
||||
third_party/make/hash.h \
|
||||
third_party/make/rule.h \
|
||||
third_party/make/filedef.h \
|
||||
third_party/make/fcntl.h \
|
||||
third_party/make/stdio.h \
|
||||
third_party/make/variable.h \
|
||||
third_party/make/debug.h \
|
||||
third_party/make/output.h \
|
||||
third_party/make/getopt.h \
|
||||
third_party/make/dep.h \
|
||||
third_party/make/commands.h
|
||||
|
||||
|
||||
THIRD_PARTY_MAKE_INCS = \
|
||||
third_party/make/makeint.inc
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue