diff options
| -rw-r--r-- | .gitmodules | 3 | ||||
| -rw-r--r-- | devel/gen.rc | 1 | ||||
| -rw-r--r-- | devel/make/config.h | 119 | ||||
| -rw-r--r-- | devel/make/gen.rc | 16 | ||||
| m--------- | devel/make/src | 0 | ||||
| -rw-r--r-- | gen.rc | 1 |
6 files changed, 140 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules index 1d3c8aad..06bfe8a1 100644 --- a/.gitmodules +++ b/.gitmodules @@ -61,3 +61,6 @@ [submodule "desktop/plan9fonts/src"] path = desktop/plan9fonts/src url = https://github.com/rtrn/plan9fonts +[submodule "devel/make/src"] + path = devel/make/src + url = git://git.sv.gnu.org/make.git diff --git a/devel/gen.rc b/devel/gen.rc new file mode 100644 index 00000000..0447eb34 --- /dev/null +++ b/devel/gen.rc @@ -0,0 +1 @@ +subgen make diff --git a/devel/make/config.h b/devel/make/config.h new file mode 100644 index 00000000..68818b93 --- /dev/null +++ b/devel/make/config.h @@ -0,0 +1,119 @@ +#include <config-posix.h> + +/* these cause make to use glibc symbols */ +#undef HAVE_WCHTYPE_H +#undef HAVE_WCHAR_H + +/* paths */ +#define INCLUDEDIR "/include" +#define LIBDIR "/lib" +#define LOCALEDIR "/share/locale" + +/* #undef CLOSEDIR_VOID */ +/* #undef CRAY_STACKSEG_END */ +/* #undef C_ALLOCA */ +/* #undef C_GETLOADAVG */ +/* #undef DGUX */ +/* #undef ENABLE_NLS */ +#define FILE_TIMESTAMP_HI_RES 1 +/* #undef GETLOADAVG_PRIVILEGED */ +#define HAVE_ALLOCA 1 +#define HAVE_ALLOCA_H 1 +/* #undef HAVE_CASE_INSENSITIVE_FS */ +/* #undef HAVE_CFLOCALECOPYCURRENT */ +/* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */ +/* #undef HAVE_DCGETTEXT */ +#define HAVE_DECL_BSD_SIGNAL 1 +#define HAVE_DECL_DLERROR 1 +#define HAVE_DECL_DLOPEN 1 +#define HAVE_DECL_DLSYM 1 +#define HAVE_DECL_SYS_SIGLIST 0 +#define HAVE_DECL__SYS_SIGLIST 0 +#define HAVE_DECL___SYS_SIGLIST 0 +/* #undef HAVE_DOS_PATHS */ +/* #undef HAVE_GETHOSTBYNAME */ +#define HAVE_GETLOADAVG 1 +/* #undef HAVE_GETTEXT */ +/* #undef HAVE_GUILE */ +/* #undef HAVE_LIBDGC */ +/* #undef HAVE_LIBKSTAT */ +/* #undef HAVE_MACH_MACH_H */ +#define HAVE_MEMORY_H 1 +#define HAVE_MKTEMP 1 +/* #undef HAVE_NDIR_H */ +/* #undef HAVE_NLIST_H */ +/* #undef HAVE_PSTAT_GETDYNAMIC */ +#define HAVE_SA_RESTART 1 +#define HAVE_SETLINEBUF 1 +/* #undef HAVE_SIGSETMASK */ +/* #undef HAVE_STRCMPI */ +/* #undef HAVE_STRICMP */ +/* #undef HAVE_STRNCMPI */ +/* #undef HAVE_STRNICMP */ +/* #undef HAVE_STRUCT_NLIST_N_UN_N_NAME */ +/* #undef HAVE_SYS_DIR_H */ +/* #undef HAVE_SYS_NDIR_H */ +#define HAVE_SYS_PARAM_H 1 +#define HAVE_SYS_TIMEB_H 1 +/* #undef HAVE_UNION_WAIT */ +#define HAVE_UNSIGNED_LONG_LONG_INT 1 +/* #undef HAVE_VFORK_H */ +#define HAVE_WAIT3 1 +#define MAKE_HOST "x86_64-linux-musl" +#define MAKE_JOBSERVER 1 +#define MAKE_LOAD 1 +#define MAKE_SYMLINKS 1 +/* #undef NLIST_NAME_UNION */ +/* #undef NLIST_STRUCT */ +#define PACKAGE "make" +#define PACKAGE_BUGREPORT "bug-make@gnu.org" +#define PACKAGE_NAME "GNU make" +#define PACKAGE_STRING "GNU make 4.2" +#define PACKAGE_TARNAME "make" +#define PACKAGE_URL "http://www.gnu.org/software/make/" +#define PACKAGE_VERSION "4.2" +#define PATH_SEPARATOR_CHAR ':' +#define SCCS_GET "get" +/* #undef SCCS_GET_MINUS_G */ +/* #undef STACK_DIRECTION */ +/* #undef STAT_MACROS_BROKEN */ +#define ST_MTIM_NSEC st_mtim.tv_nsec +/* #undef SVR4 */ +#define TIME_WITH_SYS_TIME 1 +/* #undef UMAX */ +/* #undef UMAX4_3 */ +#ifndef _ALL_SOURCE +# define _ALL_SOURCE 1 +#endif +#ifndef _GNU_SOURCE +# define _GNU_SOURCE 1 +#endif +#ifndef _POSIX_PTHREAD_SEMANTICS +# define _POSIX_PTHREAD_SEMANTICS 1 +#endif +#ifndef _TANDEM_SOURCE +# define _TANDEM_SOURCE 1 +#endif +#ifndef __EXTENSIONS__ +# define __EXTENSIONS__ 1 +#endif +#define VERSION "4.2" +/* #undef WINDOWS32 */ +/* #undef WITH_DMALLOC */ +#ifndef _DARWIN_USE_64_BIT_INODE +# define _DARWIN_USE_64_BIT_INODE 1 +#endif +/* #undef _FILE_OFFSET_BITS */ +/* #undef _LARGE_FILES */ +/* #undef _MINIX */ +/* #undef _POSIX_1_SOURCE */ +/* #undef _POSIX_SOURCE */ +/* #undef const */ +/* #undef gid_t */ +/* #undef off_t */ +/* #undef pid_t */ +/* #undef size_t */ +/* #undef ssize_t */ +/* #undef uid_t */ +/* #undef uintmax_t */ +/* #undef vfork */ diff --git a/devel/make/gen.rc b/devel/make/gen.rc new file mode 100644 index 00000000..3e540552 --- /dev/null +++ b/devel/make/gen.rc @@ -0,0 +1,16 @@ +cflags\ + -I include\ + -I '$dir' \ + -I '$srcdir' \ + -I '$srcdir'/glob\ + -D HAVE_CONFIG_H + +lib libglob.a glob/^(glob.c fnmatch.c) + +exe make\ + ar.c arscan.c commands.c default.c dir.c expand.c file.c\ + function.c getopt.c getopt1.c guile.c implicit.c job.c load.c\ + loadapi.c main.c misc.c posixos.c output.c read.c remake.c\ + rule.c signame.c strcache.c variable.c version.c vpath.c\ + hash.c remote-stub.c\ + libglob.a diff --git a/devel/make/src b/devel/make/src new file mode 160000 +Subproject ec6198012261e11b72bd5a95bd9e5c4d895c5f2 @@ -1,5 +1,6 @@ subgen core subgen desktop +subgen devel file .perms '$outdir'/root.perms 644 |
