1# SPDX-License-Identifier: GPL-2.0-or-later 2# Copyright (C) 2009, Cisco Systems Inc. 3# Ngie Cooper, July 2009 4 5top_srcdir ?= ../../../.. 6 7include $(top_srcdir)/include/mk/testcases.mk 8 9INSTALL_TARGETS := sched_stress.sh 10 11LDLIBS += -lpthread 12 13MAKE_TARGETS := $(filter-out sched,$(patsubst $(abs_srcdir)/%.c,%,$(sort $(wildcard $(abs_srcdir)/*.c)))) 14 15RM += -r 16 17$(filter-out sched_datafile,$(MAKE_TARGETS)): %: sched.o 18 19MAKE_TARGETS += sched_datafile 20 21sched_datafile: 22 "$(top_srcdir)/tools/make-file.sh" "$@" 1200010 23 24include $(top_srcdir)/include/mk/generic_leaf_target.mk 25