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/testcases.mk 8f08c3bdfSopenharmony_ci 9f08c3bdfSopenharmony_ciINSTALL_TARGETS := sched_stress.sh 10f08c3bdfSopenharmony_ci 11f08c3bdfSopenharmony_ciLDLIBS += -lpthread 12f08c3bdfSopenharmony_ci 13f08c3bdfSopenharmony_ciMAKE_TARGETS := $(filter-out sched,$(patsubst $(abs_srcdir)/%.c,%,$(sort $(wildcard $(abs_srcdir)/*.c)))) 14f08c3bdfSopenharmony_ci 15f08c3bdfSopenharmony_ciRM += -r 16f08c3bdfSopenharmony_ci 17f08c3bdfSopenharmony_ci$(filter-out sched_datafile,$(MAKE_TARGETS)): %: sched.o 18f08c3bdfSopenharmony_ci 19f08c3bdfSopenharmony_ciMAKE_TARGETS += sched_datafile 20f08c3bdfSopenharmony_ci 21f08c3bdfSopenharmony_cisched_datafile: 22f08c3bdfSopenharmony_ci "$(top_srcdir)/tools/make-file.sh" "$@" 1200010 23f08c3bdfSopenharmony_ci 24f08c3bdfSopenharmony_ciinclude $(top_srcdir)/include/mk/generic_leaf_target.mk 25