ports

zandra's ports tree
git clone git://zandra.org/ports
Log | Files | Refs | README | LICENSE

commit 3725c34a656d83f423906f8a98a4463f4c616f4d
parent c17b7ec4e7aa9a0254e4e2017c58e255d582e2f7
Author: Ben O'Neill <ben@benoneill.xyz>
Date:   Sun,  3 May 2020 16:52:04 -0400

Put GNU Make on master (old version)

Diffstat:
Amake/checksums | 1+
Amake/make.mk | 103+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Amake/mkfile | 6++++++
Amake/v.mk | 1+
4 files changed, 111 insertions(+), 0 deletions(-)

diff --git a/make/checksums b/make/checksums @@ -0,0 +1 @@ +3260be0d1a9a7c5eb0dbb87179a9a9521fdfc7809ca51f13ee5a37ba5e63d21ad50a4249ec7d3929a9d0ce8c8f6cf302558743964f0f7ff742efe283b91df9de make-3.82.tar.bz2 diff --git a/make/make.mk b/make/make.mk @@ -0,0 +1,103 @@ +# TODO: bump to 4.0. + +<../v.mk + +BIN = make +OBJ = `{ls *.c glob/*.c | sed 's/.$/o/' | grep -v '^amiga.o$' | grep -v '^remote-cstms.o$' | grep -v '^vmsfunctions.o$' | grep -v '^vmsify.o$' | grep -v '^vmsjobs.o$'} +INSTALL_BIN = make +INSTALL_MAN1 = make.1 + +<$mkbuild/mk.default + +NPROC = $nprocs +LOCAL_CFLAGS = -I. -Iglob \ + -DFILE_TIMESTAMP_HI_RES=1 \ + -DHAVE_ALLOCA=1 \ + -DHAVE_ALLOCA_H=1 \ + -DHAVE_ANSI_COMPILER=1 \ + -DHAVE_ATEXIT=1 \ + -DHAVE_CLOCK_GETTIME=1 \ + -DHAVE_DECL_BSD_SIGNAL=1 \ + -DHAVE_DECL_SYS_SIGLIST=0 \ + -DHAVE_DECL__SYS_SIGLIST=0 \ + -DHAVE_DECL___SYS_SIGLIST=0 \ + -DHAVE_DIRENT_H=1 \ + -DHAVE_DUP2=1 \ + -DHAVE_FCNTL_H=1 \ + -DHAVE_FDOPEN=1 \ + -DHAVE_FILENO=1 \ + -DHAVE_FORK=1 \ + -DHAVE_GETCWD=1 \ + -DHAVE_GETGROUPS=1 \ + -DHAVE_GETLOADAVG=1 \ + -DHAVE_GETRLIMIT=1 \ + -DHAVE_GETTIMEOFDAY=1 \ + -DHAVE_INTTYPES_H=1 \ + -DHAVE_LIMITS_H=1 \ + -DHAVE_LOCALE_H=1 \ + -DHAVE_LSTAT=1 \ + -DHAVE_MEMORY_H=1 \ + -DHAVE_MKSTEMP=1 \ + -DHAVE_MKTEMP=1 \ + -DHAVE_PIPE=1 \ + -DHAVE_READLINK=1 \ + -DHAVE_REALPATH=1 \ + -DHAVE_SA_RESTART=1 \ + -DHAVE_SETEGID=1 \ + -DHAVE_SETEUID=1 \ + -DHAVE_SETLINEBUF=1 \ + -DHAVE_SETREGID=1 \ + -DHAVE_SETREUID=1 \ + -DHAVE_SETRLIMIT=1 \ + -DHAVE_SETVBUF=1 \ + -DHAVE_SIGACTION=1 \ + -DHAVE_STDARG_H=1 \ + -DHAVE_STDINT_H=1 \ + -DHAVE_STDLIB_H=1 \ + -DHAVE_STRCASECMP=1 \ + -DHAVE_STRCOLL=1 \ + -DHAVE_STRDUP=1 \ + -DHAVE_STRERROR=1 \ + -DHAVE_STRINGS_H=1 \ + -DHAVE_STRING_H=1 \ + -DHAVE_STRNCASECMP=1 \ + -DHAVE_STRNDUP=1 \ + -DHAVE_STRSIGNAL=1 \ + -DHAVE_SYS_PARAM_H=1 \ + -DHAVE_SYS_RESOURCE_H=1 \ + -DHAVE_SYS_STAT_H=1 \ + -DHAVE_SYS_TIMEB_H=1 \ + -DHAVE_SYS_TIME_H=1 \ + -DHAVE_SYS_TYPES_H=1 \ + -DHAVE_SYS_WAIT_H=1 \ + -DHAVE_UNISTD_H=1 \ + -DHAVE_VFORK=1 \ + -DHAVE_VPRINTF=1 \ + -DHAVE_WAIT3=1 \ + -DHAVE_WAITPID=1 \ + -DHAVE_WORKING_FORK=1 \ + -DHAVE_WORKING_VFORK=1 \ + -DMAKE_HOST=\"$TOOLCHAIN_TRIPLET\" \ + -DMAKE_JOBSERVER=1 \ + -DMAKE_SYMLINKS=1 \ + -DPACKAGE=\"make\" \ + -DLOCALEDIR=\"$PREFIX/share/locale\" \ + -DINCLUDEDIR=\"$PREFIX/include\" \ + -DLIBDIR=\"$LIBDIR\" \ + -DPATH_SEPARATOR_CHAR=\':\' \ + -DRETSIGTYPE=void \ + -DSCCS_GET=\"get\" \ + -DSTDC_HEADERS=1 \ + -DST_MTIM_NSEC=tv_nsec \ + -DTIME_WITH_SYS_TIME=1 \ + -D_ALL_SOURCE=1 \ + -D_GNU_SOURCE=1 \ + -D_POSIX_PTHREAD_SEMANTICS=1 \ + -D_TANDEM_SOURCE=1 \ + -D__EXTENSIONS__=1 \ + -DVERSION=\"$v\" + +config.h:Q: + touch config.h + +$OBJ: config.h diff --git a/make/mkfile b/make/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = make-$v +url = http://ftp.gnu.org/gnu/make/make-$v.tar.bz2 +mkfile = ../make.mk diff --git a/make/v.mk b/make/v.mk @@ -0,0 +1 @@ +v = 3.82