1 # SPDX-License-Identifier: GPL-2.0
2 all: srcu.c store_buffering
4 LINUX_SOURCE
= ..
/..
/..
/..
/..
/..
6 modified_srcu_input
= $(LINUX_SOURCE
)/include/linux
/srcu.h \
7 $(LINUX_SOURCE
)/kernel
/rcu
/srcu.c
9 modified_srcu_output
= include/linux
/srcu.h srcu.c
11 include/linux
/srcu.h
: srcu.c
13 srcu.c
: modify_srcu.awk Makefile
$(modified_srcu_input
)
14 awk
-f modify_srcu.awk
$(modified_srcu_input
) $(modified_srcu_output
)
17 @cd tests
/store_buffering
; make