2018-06-04 15:57:25 +08:00
|
|
|
T := $(CURDIR)
|
2018-06-13 15:54:22 +08:00
|
|
|
OUT_DIR ?= $(shell mkdir -p $(T)/build;cd $(T)/build;pwd)
|
2018-06-04 15:57:25 +08:00
|
|
|
|
2018-06-08 10:58:18 +08:00
|
|
|
.PHONY: all acrn-crashlog acrnlog acrn-manager acrntrace acrnbridge
|
|
|
|
all: acrn-crashlog acrnlog acrn-manager acrntrace acrnbridge
|
2018-06-04 15:57:25 +08:00
|
|
|
|
|
|
|
acrn-crashlog:
|
|
|
|
make -C $(T)/acrn-crashlog OUT_DIR=$(OUT_DIR) RELEASE=$(RELEASE)
|
|
|
|
|
|
|
|
acrnlog:
|
|
|
|
make -C $(T)/acrnlog OUT_DIR=$(OUT_DIR)
|
|
|
|
|
|
|
|
acrn-manager:
|
2018-06-07 23:04:02 +08:00
|
|
|
make -C $(T)/acrn-manager OUT_DIR=$(OUT_DIR) RELEASE=$(RELEASE)
|
2018-06-04 15:57:25 +08:00
|
|
|
|
|
|
|
acrntrace:
|
|
|
|
make -C $(T)/acrntrace OUT_DIR=$(OUT_DIR)
|
|
|
|
|
2018-06-08 10:58:18 +08:00
|
|
|
acrnbridge:
|
|
|
|
make -C $(T)/acrnbridge OUT_DIR=$(OUT_DIR)
|
|
|
|
|
2018-06-04 15:57:25 +08:00
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
make -C $(T)/acrn-crashlog OUT_DIR=$(OUT_DIR) clean
|
|
|
|
make -C $(T)/acrn-manager OUT_DIR=$(OUT_DIR) clean
|
|
|
|
make -C $(T)/acrntrace OUT_DIR=$(OUT_DIR) clean
|
|
|
|
make -C $(T)/acrnlog OUT_DIR=$(OUT_DIR) clean
|
|
|
|
rm -rf $(OUT_DIR)
|
|
|
|
|
|
|
|
.PHONY: install
|
2018-06-19 13:17:07 +08:00
|
|
|
install: acrn-crashlog-install acrnlog-install acrn-manager-install acrntrace-install acrnbridge-install
|
2018-06-04 15:57:25 +08:00
|
|
|
|
|
|
|
acrn-crashlog-install:
|
|
|
|
make -C $(T)/acrn-crashlog OUT_DIR=$(OUT_DIR) install
|
|
|
|
|
|
|
|
acrnlog-install:
|
|
|
|
make -C $(T)/acrnlog OUT_DIR=$(OUT_DIR) install
|
|
|
|
|
2018-06-07 16:47:57 +08:00
|
|
|
acrn-manager-install:
|
2018-06-04 15:57:25 +08:00
|
|
|
make -C $(T)/acrn-manager OUT_DIR=$(OUT_DIR) install
|
|
|
|
|
|
|
|
acrntrace-install:
|
|
|
|
make -C $(T)/acrntrace OUT_DIR=$(OUT_DIR) install
|
2018-06-08 10:58:18 +08:00
|
|
|
|
|
|
|
acrnbridge-install:
|
|
|
|
make -C $(T)/acrnbridge OUT_DIR=$(OUT_DIR) install
|