ba17eeeefe
* build.sh: Use separate export stanzas. Use command -v (WAS: type -p). Fixes sh, /bin/sh == dash. * build-aux/build-cc.sh: Likewise. * build-aux/build-guile.sh: Likewise. * build-aux/build-mes.sh: Likewise. * build-aux/build-mlibc.sh: Likewise. * build-aux/cc-mes.sh: Likewise. * build-aux/check-mescc.sh: Likewise. * check.sh: Likewise. * install.sh: Likewise. * scripts/mescc: Likewise.
95 lines
1.1 KiB
Makefile
95 lines
1.1 KiB
Makefile
GUILE:=guile
|
|
GUILE_FLAGS:=--no-auto-compile -L . -L guile -C . -C guile
|
|
|
|
include .config.make
|
|
|
|
PHONY_TARGETS:= all all-go check clean clean-go default help install
|
|
.PHONY: $(PHONY_TARGETS)
|
|
|
|
default: all
|
|
|
|
all:
|
|
./build.sh
|
|
|
|
clean:
|
|
true
|
|
|
|
all-go:
|
|
build-aux/build-guile.sh
|
|
|
|
clean-go:
|
|
rm -f $(shell find . -name '*.go')
|
|
|
|
check:
|
|
./check.sh
|
|
|
|
|
|
install:
|
|
./install.sh
|
|
|
|
.config.make: ./configure
|
|
|
|
seed:
|
|
cd ../mes-seed && git reset --hard HEAD
|
|
MES=guile GUILE=guile SEED=1 build-aux/build-mes.sh
|
|
cd ../mes-seed && ./bootstrap.sh && cd ../mes
|
|
MES=guile GUILE=guile SEED=1 build-aux/build-mes.sh
|
|
|
|
ifdef PREFIX
|
|
export PREFIX
|
|
endif
|
|
|
|
ifdef VERSION
|
|
export VERSION
|
|
endif
|
|
|
|
ifdef CC
|
|
export CC
|
|
endif
|
|
|
|
ifdef CC32
|
|
export CC32
|
|
endif
|
|
|
|
ifdef M1
|
|
export M1
|
|
endif
|
|
|
|
ifdef HEX2
|
|
export HEX2
|
|
endif
|
|
|
|
ifdef GUILE
|
|
export GUILE
|
|
endif
|
|
|
|
ifdef GUILE_LOAD_PATH
|
|
export GUILE_LOAD_PATH
|
|
endif
|
|
|
|
ifdef GUILE_LOAD_COMPILED_PATH
|
|
export GUILE_LOAD_COMPILED_PATH
|
|
endif
|
|
|
|
ifdef CFLAGS
|
|
export CFLAGS
|
|
endif
|
|
|
|
ifdef C32FLAGS
|
|
export C32FLAGS
|
|
endif
|
|
|
|
ifdef HEX2FLAGS
|
|
export HEX2FLAGS
|
|
endif
|
|
|
|
ifdef M1FLAGS
|
|
export M1FLAGS
|
|
endif
|
|
|
|
ifdef MESCCFLAGS
|
|
export MESCCFLAGS
|
|
endif
|
|
|
|
|