Makefile 592 字节
Newer Older
H
haosanzi 已提交
1
.PHONY: all install clean uninstall package
H
hustliyilin 已提交
2 3

export INCLAVARE_CONTAINERS_VERSION := $(shell cat ./VERSION)
4
components := rune shim sgx-tools stub_enclave
H
haosanzi 已提交
5
dist_release_components := rune shim
6 7

all:
H
hustliyilin 已提交
8 9 10
	for name in $(components); do \
		$(MAKE) -C $$name; \
	done
11 12

install:
H
hustliyilin 已提交
13 14 15
	for name in $(components); do \
		$(MAKE) -C $$name install; \
	done
16 17

clean:
H
hustliyilin 已提交
18 19 20
	for name in $(components); do \
		$(MAKE) -C $$name clean; \
	done
21 22

uninstall:
H
hustliyilin 已提交
23 24 25 26
	for name in $(components); do \
		$(MAKE) -C $$name uninstall; \
	done

H
haosanzi 已提交
27 28 29
package:
	for name in $(dist_release_components); do \
		$(MAKE) -C $$name package; \
H
hustliyilin 已提交
30
	done