xref: /third_party/ltp/testcases/kernel/controllers/Makefile
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/ltp/testcases/kernel/controllers/
1f08c3bdfSopenharmony_ci# SPDX-License-Identifier: GPL-2.0-or-later
2f08c3bdfSopenharmony_ci# Copyright (C) 2009, Cisco Systems Inc.
3f08c3bdfSopenharmony_ci# Ngie Cooper, July 2009
4f08c3bdfSopenharmony_ci
5f08c3bdfSopenharmony_citop_srcdir		?= ../../..
6f08c3bdfSopenharmony_ci
7f08c3bdfSopenharmony_ciinclude $(top_srcdir)/include/mk/env_pre.mk
8f08c3bdfSopenharmony_ci
9f08c3bdfSopenharmony_ciINSTALL_TARGETS		:= *.sh
10f08c3bdfSopenharmony_ciLIBDIR			:= libcontrollers
11f08c3bdfSopenharmony_ciLIB			:= $(LIBDIR)/libcontrollers.a
12f08c3bdfSopenharmony_ciFILTER_OUT_DIRS		:= $(LIBDIR)
13f08c3bdfSopenharmony_ci
14f08c3bdfSopenharmony_ciifneq ($(HAVE_FTS_H),1)
15f08c3bdfSopenharmony_ci	FILTER_OUT_DIRS += cpuset
16f08c3bdfSopenharmony_ciendif
17f08c3bdfSopenharmony_ci
18f08c3bdfSopenharmony_ci$(LIBDIR):
19f08c3bdfSopenharmony_ci	mkdir -p "$@"
20f08c3bdfSopenharmony_ci
21f08c3bdfSopenharmony_ci$(LIB): $(LIBDIR)
22f08c3bdfSopenharmony_ci	$(MAKE) -C $^ -f "$(abs_srcdir)/$^/Makefile" all
23f08c3bdfSopenharmony_ci
24f08c3bdfSopenharmony_ciMAKE_DEPS		:= $(LIB)
25f08c3bdfSopenharmony_ci
26f08c3bdfSopenharmony_citrunk-clean:: | lib-clean
27f08c3bdfSopenharmony_ci
28f08c3bdfSopenharmony_cilib-clean:: $(LIBDIR)
29f08c3bdfSopenharmony_ci	$(MAKE) -C $^ -f "$(abs_srcdir)/$^/Makefile" clean
30f08c3bdfSopenharmony_ci
31f08c3bdfSopenharmony_ciinclude $(top_srcdir)/include/mk/generic_trunk_target.mk
32

Indexes created Thu Nov 07 10:32:03 CST 2024