2023-02-10 01:49:49 +03:00
|
|
|
include ../config.mk
|
|
|
|
|
|
|
|
.PHONY: build build-c build-refc build-chez
|
|
|
|
|
|
|
|
build: build-c build-refc build-chez
|
|
|
|
|
|
|
|
build-c:
|
|
|
|
@${MAKE} -C c
|
|
|
|
|
|
|
|
build-refc:
|
|
|
|
@${MAKE} -C refc
|
|
|
|
|
|
|
|
build-chez:
|
|
|
|
@${MAKE} -C chez
|
|
|
|
|
|
|
|
.PHONY: clean clean-c clean-refc clean-chez
|
|
|
|
|
|
|
|
clean: clean-c clean-refc clean-chez
|
|
|
|
|
|
|
|
clean-c:
|
|
|
|
@${MAKE} -C c cleandep
|
|
|
|
|
|
|
|
clean-refc:
|
|
|
|
@${MAKE} -C refc cleandep
|
|
|
|
|
|
|
|
clean-chez:
|
|
|
|
@${MAKE} -C chez clean
|
|
|
|
|
|
|
|
.PHONY: install install-docs install-racket install-gambit install-js install-c install-refc install-chez
|
|
|
|
|
|
|
|
install: install-docs install-racket install-gambit install-js install-c install-refc install-chez
|
|
|
|
|
|
|
|
install-docs:
|
2023-08-19 18:27:48 +03:00
|
|
|
mkdir -p ${DESTDIR}${PREFIX}/${NAME_VERSION}/support/docs
|
|
|
|
install -m 644 docs/*.css ${DESTDIR}${PREFIX}/${NAME_VERSION}/support/docs
|
2023-02-10 01:49:49 +03:00
|
|
|
|
|
|
|
install-racket:
|
2023-08-19 18:27:48 +03:00
|
|
|
mkdir -p ${DESTDIR}${PREFIX}/${NAME_VERSION}/support/racket
|
|
|
|
install -m 644 racket/* ${DESTDIR}${PREFIX}/${NAME_VERSION}/support/racket
|
2023-02-10 01:49:49 +03:00
|
|
|
|
|
|
|
install-gambit:
|
2023-08-19 18:27:48 +03:00
|
|
|
mkdir -p ${DESTDIR}${PREFIX}/${NAME_VERSION}/support/gambit
|
|
|
|
install -m 644 gambit/* ${DESTDIR}${PREFIX}/${NAME_VERSION}/support/gambit
|
2023-02-10 01:49:49 +03:00
|
|
|
|
|
|
|
install-js:
|
2023-08-19 18:27:48 +03:00
|
|
|
mkdir -p ${DESTDIR}${PREFIX}/${NAME_VERSION}/support/js
|
|
|
|
install -m 644 js/* ${DESTDIR}${PREFIX}/${NAME_VERSION}/support/js
|
2023-02-10 01:49:49 +03:00
|
|
|
|
|
|
|
install-c:
|
|
|
|
@${MAKE} -C c install
|
|
|
|
|
|
|
|
install-refc:
|
|
|
|
@${MAKE} -C refc install
|
|
|
|
|
|
|
|
install-chez:
|
|
|
|
@${MAKE} -C chez install
|