root / xseg / tools / Makefile @ 8c732208
History | View | Annotate | Download (839 Bytes)
1 |
.PHONY: default clean install install-src |
---|---|
2 |
|
3 |
include $(XSEG_HOME)/base.mk |
4 |
|
5 |
FILES="Makefile" |
6 |
FILES+="xseg_devshell.sh" |
7 |
|
8 |
EFILES+="create_initializer" |
9 |
EFILES+="xseg-domain-targets" |
10 |
|
11 |
SUBDIR:=$(subst $(XSEG_HOME),,$(CURDIR)) |
12 |
|
13 |
default: |
14 |
make -C archipelago |
15 |
make -C ext_scripts |
16 |
make -C ganeti-hooks |
17 |
|
18 |
clean: |
19 |
make -C archipelago clean |
20 |
make -C ext_scripts clean |
21 |
make -C ganeti-hooks clean |
22 |
|
23 |
install: |
24 |
make -C archipelago install |
25 |
make -C ext_scripts install |
26 |
make -C ganeti-hooks install |
27 |
|
28 |
install-src: |
29 |
make -C archipelago install-src |
30 |
make -C ext_scripts install-src |
31 |
make -C ganeti-hooks install-src |
32 |
install -d $(DESTDIR)$(srcdir)$(SUBDIR) ; |
33 |
@for f in $(FILES) ; do \ |
34 |
install -o 0 -g 0 -m 644 -t $(DESTDIR)$(srcdir)$(SUBDIR) $$f ; \ |
35 |
done |
36 |
@for f in $(EFILES) ; do \ |
37 |
install -o 0 -g 0 -m 755 -t $(DESTDIR)$(srcdir)$(SUBDIR) $$f ; \ |
38 |
done |
39 |
|