mirror of
https://review.haiku-os.org/buildtools
synced 2025-01-18 04:18:42 +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
|
||||
|
||||
CC = cc
|
||||
CFLAGS = -O
|
||||
CFLAGS = -O -DOPT_HEADER_CACHE_EXT -DOPT_JAMFILE_CACHE_EXT -DOPT_JAM_TARGETS_VARIABLE_EXT
|
||||
EXENAME = ./jam0
|
||||
TARGET = -o $(EXENAME)
|
||||
HOST_SYSTEM=$(shell uname)
|
||||
@ -64,7 +64,8 @@ SOURCES = \
|
||||
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 \
|
||||
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)
|
||||
LINKLIBS=$(LINKLIBS) $(EXENAME)
|
||||
|
Loading…
Reference in New Issue
Block a user