[ansible][fedora] Update package name
[barometer.git] / src / Makefile
1 # Top Makefile to build upstream packages.
2 #
3
4 # Copyright 2016-2019 Intel Corporation and OPNFV. All rights reserved.
5 #
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 # http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 #
18
19 #
20 # Contributors:
21 #   Aihua Li, Huawei Technologies.
22 #   Maryam Tahhan, Intel Corporation.
23
24 all clean distclean: subbuilds
25
26 subbuilds: $(SUBBUILDS)
27 $(SUBBUILDS):
28         $(AT)mkdir -p ../$@/mk
29         $(AT)cp -rf mk/* ../$@/mk
30         $(AT)cp -rf package-list.mk ../$@/
31         $(AT)cp Makefile.$@ ../$@/Makefile
32         $(AT)$(MAKE) -C ../$@ $(MAKECMDGOALS)
33
34 with-dpdk:
35 export WITH_DPDK
36
37 include mk/master.mk
38 # TODO(elfoley) Later on, we can re-enable build from source as a user configured option
39 SUBDIRS =
40 #ifdef WITH_DPDK
41 #SUBDIRS += dpdk
42 #endif
43 #SUBDIRS += libpqos
44 #SUBDIRS += pmu-tools
45 #SUBDIRS += librdkafka
46 SUBDIRS += collectd
47
48 include mk/make-subsys.mk