mirror of
https://review.haiku-os.org/buildtools
synced 2025-01-18 12:28:37 +01:00
jam: mirror Jamfile in Makefile.
Without these changes, `jam0` is different to `bin.*/jam`, a subtle difference that was triggering errors in CI due to use of `jam0`. In particular, the omission of `OPT_JAM_TARGETS_VARIABLE_EXT` results in a `jam0` that cannot build Haiku, as `$(JAM_TARGETS)` will not be defined, and is required by Haiku's build system.
This commit is contained in:
parent
58add95cfc
commit
360fe2fd07
@ -1,7 +1,7 @@
|
|||||||
# Makefile for jam
|
# Makefile for jam
|
||||||
|
|
||||||
CC = cc
|
CC = cc
|
||||||
CFLAGS = -O
|
CFLAGS = -O -DOPT_HEADER_CACHE_EXT -DOPT_JAMFILE_CACHE_EXT -DOPT_JAM_TARGETS_VARIABLE_EXT
|
||||||
EXENAME = ./jam0
|
EXENAME = ./jam0
|
||||||
TARGET = -o $(EXENAME)
|
TARGET = -o $(EXENAME)
|
||||||
HOST_SYSTEM=$(shell uname)
|
HOST_SYSTEM=$(shell uname)
|
||||||
@ -64,7 +64,8 @@ SOURCES = \
|
|||||||
filent.c fileos2.c fileunix.c filevms.c glob.c hash.c \
|
filent.c fileos2.c fileunix.c filevms.c glob.c hash.c \
|
||||||
headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c \
|
headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c \
|
||||||
newstr.c option.c parse.c pathunix.c pathvms.c regexp.c \
|
newstr.c option.c parse.c pathunix.c pathvms.c regexp.c \
|
||||||
rules.c scan.c search.c timestamp.c variable.c
|
rules.c scan.c search.c timestamp.c variable.c \
|
||||||
|
jcache.c hcache.c
|
||||||
|
|
||||||
all: $(EXENAME)
|
all: $(EXENAME)
|
||||||
LINKLIBS=$(LINKLIBS) $(EXENAME)
|
LINKLIBS=$(LINKLIBS) $(EXENAME)
|
||||||
|
Loading…
Reference in New Issue
Block a user