add #-EARLY section

This commit is contained in:
nhmall
2026-05-17 20:38:10 -04:00
parent 8ce430bd89
commit 85ca1cce74
2 changed files with 29 additions and 13 deletions
+10 -6
View File
@@ -5,22 +5,26 @@
#--------------------------------------------------------------------- #---------------------------------------------------------------------
# Linux hints file with support for multiple window ports (interfaces) # Linux hints file with support for multiple window ports (interfaces)
# Tested on: # Tested on:
# - Ubuntu focal # - Ubuntu resolute raccoon
# #
# If this doesn't work for your distribution, consider making a new # If this doesn't work for your distribution, consider making a new
# hints file for it, rather than changing this one. # hints file for it, rather than changing this one.
# And let us know about it. # And let us know about it.
# #
#-EARLY
#-PRE TARGETPFX=
# linux.500 hints file provides a single-user build for Linux (such HINTSVERSION := 500
# as Ubuntu focal).
# note: '#-INCLUDE' is not just a comment # note: '#-INCLUDE' is not just a comment, it inserts a
# file from sys/unix/hints/include.
# multiw-1.500 contains sections 1 to 2 # multiw-1.500 contains sections 1 to 2
#-INCLUDE multiw-1.500 #-INCLUDE multiw-1.500
HINTSVERSION := 500 # sys/unix/Makefile.header will get inserted right here,
# ahead of the PRE section.
#-PRE
ifdef MAKEFILE_TOP ifdef MAKEFILE_TOP
ifeq ($(MAKELEVEL),0) ifeq ($(MAKELEVEL),0)
+19 -7
View File
@@ -5,23 +5,35 @@
#--------------------------------------------------------------------- #---------------------------------------------------------------------
# MacOS hints file with support for multiple window ports (interfaces) # MacOS hints file with support for multiple window ports (interfaces)
# Tested on: # Tested on:
# - MacOS Catalina 10.15 # - MacOS Catalina 10.15 (Intel processor)
# - MacOS Ventura 13 (Intel processor) # - MacOS Tahoe 26.5 (Intel processor)
# - MacOS Tahoe 26.5 (M ARM64 processor)
# #
# If this doesn't work for some other version of macOS, consider # If this doesn't work for some other version of macOS, consider
# making a new hints file it, rather than changing this one. # making a new hints file it, rather than changing this one.
# And let us know about it. # And let us know about it.
# Useful info: http://www.opensource.apple.com/darwinsource/index.html # Useful info: http://www.opensource.apple.com/darwinsource/index.html
#
#-EARLY
TARGETPFX=
HINTSVERSION := 500
# note: '#-INCLUDE' is not just a comment, it inserts a
# file from sys/unix/hints/include.
# multiw-1.500 contains sections 1 to 2
#-INCLUDE multiw-1.500
# sys/unix/Makefile.header will get inserted right here,
# ahead of the PRE section.
#-PRE
#-PRE xxxx #-PRE xxxx
# macOS hints file # macOS hints file
# #
# note: '#-INCLUDE' is not just a comment; multiw-1 contains sections 1 to 2
#-INCLUDE multiw-1.500
HINTSVERSION := 500
ifdef MAKEFILE_TOP ifdef MAKEFILE_TOP
ifeq ($(MAKELEVEL),0) ifeq ($(MAKELEVEL),0)
PRECHECK+=checkmakefiles PRECHECK+=checkmakefiles