1
0
Fork
You've already forked make
0
gnu make mirror from gnu savannah
  • C 66.2%
  • Perl 25.4%
  • Shell 3.2%
  • M4 1.6%
  • Batchfile 1.2%
  • Other 2.3%
2026年06月26日 16:34:19 -04:00
doc * doc/make.texi: [SV 66490] Clarify patsubst matches an entire word 2025年08月26日 23:33:52 -04:00
gl * all: Update copyright year to 2025 2025年08月23日 20:11:23 -04:00
mk * all: Update copyright year to 2025 2025年08月23日 20:11:23 -04:00
po * all: Update copyright year to 2025 2025年08月23日 20:11:23 -04:00
scripts * all: Update copyright year to 2025 2025年08月23日 20:11:23 -04:00
src [SV 64806] Fix MS-specific format specifier 2026年04月29日 16:39:36 +03:00
tests [SV 67046] Don't modify the hash table when inside hash_map*() 2025年08月27日 01:30:14 -04:00
.ccls * .clangd: Add configuration for the clangd LSP server 2024年01月01日 19:24:37 -05:00
.clangd * .clangd: Add configuration for the clangd LSP server 2024年01月01日 19:24:37 -05:00
.dir-locals.el * .dir-locals.el: Correct bug reference regex format 2024年04月14日 15:51:23 -04:00
.gitignore Add a UTF-8 resource when building for Windows 2023年06月19日 13:29:52 -04:00
AUTHORS * all: Update copyright year to 2025 2025年08月23日 20:11:23 -04:00
autogen.sh * all: Update copyright year to 2025 2025年08月23日 20:11:23 -04:00
autopull.sh * all: Update copyright year to 2025 2025年08月23日 20:11:23 -04:00
Basic.mk.template * all: Update copyright year to 2025 2025年08月23日 20:11:23 -04:00
bootstrap Update to the latest gnulib stable branch 2023年01月01日 17:05:12 -05:00
bootstrap-funclib.sh * all: Update copyright year to 2025 2025年08月23日 20:11:23 -04:00
bootstrap.bat * bootstrap.bat: [SV 67162] Use curl -L to follow redirects 2025年08月26日 23:19:11 -04:00
bootstrap.conf * all: Update copyright year to 2025 2025年08月23日 20:11:23 -04:00
build.cfg.in * all: Update copyright year to 2025 2025年08月23日 20:11:23 -04:00
build.sh * all: Update copyright year to 2025 2025年08月23日 20:11:23 -04:00
build_w32.bat * all: Update copyright year to 2025 2025年08月23日 20:11:23 -04:00
builddos.bat * all: Update copyright year to 2025 2025年08月23日 20:11:23 -04:00
ChangeLog.1 Update URLs to use https rather than http 2022年10月18日 14:37:47 -04:00
ChangeLog.2 Update URLs to use https rather than http 2022年10月18日 14:37:47 -04:00
ChangeLog.3 Update URLs to use https rather than http 2022年10月18日 14:37:47 -04:00
configure.ac * all: Update copyright year to 2025 2025年08月23日 20:11:23 -04:00
COPYING Change HTTP URLs to use HTTPS instead 2021年12月19日 16:55:50 -05:00
maintMakefile * all: Update copyright year to 2025 2025年08月23日 20:11:23 -04:00
make-gdb.py * NEWS: Use GNU Make instead of GNU make 2022年10月18日 14:37:47 -04:00
Makefile.am * all: Update copyright year to 2025 2025年08月23日 20:11:23 -04:00
makefile.com * all: Update copyright year to 2025 2025年08月23日 20:11:23 -04:00
NEWS [SV 64185] Clarify handling of directive lines starting with TAB 2025年08月26日 08:13:55 -04:00
prepare_vms.com Remove template files to simplify distribution creation 2022年10月18日 14:20:44 -04:00
README.customs * all: Update copyright year to 2025 2025年08月23日 20:11:23 -04:00
README.DOS * all: Update copyright year to 2025 2025年08月23日 20:11:23 -04:00
README.git * all: Update copyright year to 2025 2025年08月23日 20:11:23 -04:00
README.in * all: Update copyright year to 2025 2025年08月23日 20:11:23 -04:00
README.OS2 * all: Update copyright year to 2025 2025年08月23日 20:11:23 -04:00
README.VMS * NEWS: Use GNU Make instead of GNU make 2022年10月18日 14:37:47 -04:00
README.W32 * all: Update copyright year to 2025 2025年08月23日 20:11:23 -04:00
README.zOS [SV 62654] Support GNU Make on z/OS 2023年01月08日 10:45:38 -05:00
TODO.private * all: Update copyright year to 2025 2025年08月23日 20:11:23 -04:00
vms_export_symbol_test.com [SV 42447]: VMS simulate exporting symbols 2014年10月20日 01:28:46 -04:00

 -*-text-*-
GNU Make has been ported to z/OS, tested on z/OS V2R4.
PREREQUISITES
-------------
Building GNU Make requires certain tools be installed on your z/OS system.
These tools can be downloaded from: https://github.com/ZOSOpenTools
For detailed instructions on how to set up these tools, visit
https://zosopentools.github.io/meta/#/Guides/Pre-req
You will need curl, tar, and gzip to download and unpack the GNU Make release
package, but presumably you've already worked this out if you're reading this
document!
You will need the IBM C/C++ compiler. You can download a web deliverable
add-on feature to your XL C/C++ compiler here:
https://www-40.ibm.com/servers/resourcelink/svc00100.nsf/pages/xlCC++V241ForZOsV24
Alternatively, you can install and manage C/C++ for Open Enterprise Languages
on z/OS using RedHat OpenShift Container Platform and IBM Z and Cloud
Modernization Stack.
GNU Make has a dependency on the ZOSLIB library, which is documented here:
https://zosopentools.github.io/meta/#/Guides/Zoslib.
To obtain the latest release of zoslib, you can download it from here:
https://github.com/ZOSOpenTools/zoslibport/releases.
BUILDING
--------
If you are trying to build from a checked-out Git workspace, see README.git.
Before building GNU Make, you will need to ensure that the following
environment variables are set, to turn on z/OS enhanced ASCII support:
 export _BPXK_AUTOCVT=ON
 export _CEE_RUNOPTS="$_CEE_RUNOPTS FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)"
 export _TAG_REDIR_ERR=txt
 export _TAG_REDIR_IN=txt
 export _TAG_REDIR_OUT=txt
To ensure proper functioning of xlclang, set the following environment
variables before building:
 export _CC_CCMODE=1
 export _C89_CCMODE=1
 export _CXX_CCMODE=1
Set PATH_TO_ZOSLIB to the location of your zoslib installation; e.g.:
 PATH_TO_ZOSLIB=$HOME/zopen/prod/zoslib
Invoke ./configure as follows:
 ./configure \
 CC=xlclang \
 CPPFLAGS="-DNSIG=42 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE -D_OPEN_SYS_FILE_EXT=1 -D_AE_BIMODAL=1 -D_ENHANCED_ASCII_EXT=0xFFFFFFF -DZOSLIB_OVERRIDE_CLIB=1" \
 CFLAGS="-qascii -std=gnu11 -qnocsect -qenum=int -I$PATH_TO_ZOSLIB/include" \
 LDFLAGS="-L$PATH_TO_ZOSLIB/lib" \
 LIBS="-lzoslib $PATH_TO_ZOSLIB/lib/CXXRT64.x"
If you have an instance of make already available you can build with:
 make
If not, you can build with:
 ./build.sh
TESTING
-------
To run the regression tests you'll need to install Perl and enable it.
Then you can run:
 ./make check
INSTALLING
----------
Copy the "make" program to wherever you want it to be installed, on your PATH.