Starting point for ODL Integration
[genesis.git] / fuel / build / f_isoroot / Makefile
1 ##############################################################################
2 # Copyright (c) 2015 Ericsson AB and others.
3 # stefan.k.berg@ericsson.com
4 # jonas.bjurel@ericsson.com
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 ##############################################################################
10
11 SUBDIRS = f_predeployment f_kscfg f_bootstrap
12 SUBCLEAN = $(addsuffix .clean,$(SUBDIRS))
13
14 .PHONY: all
15 all:    $(SUBDIRS)
16
17 .PHONY: $(SUBDIRS)
18 $(SUBDIRS):
19         @mkdir -p release
20         $(MAKE) -C $@ -f Makefile release
21
22 .PHONY: clean $(SUBCLEAN)
23 clean: $(SUBCLEAN)
24         @rm -Rf release
25
26 $(SUBCLEAN): %.clean:
27         $(MAKE) -C $* -f Makefile clean
28
29 .PHONY: release
30 release:clean $(SUBDIRS)
31         @cp -Rvp release/* ../release/isoroot