1# Makefile fragment - requires GNU make 2# 3# Copyright (c) 2022, Arm Limited. 4# SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 5 6# These targets are defined if we prescribe pl in SUBS. 7# It requires PLSUBS to be set. 8 9$(foreach sub,$(PLSUBS),$(eval include $(srcdir)/pl/$(sub)/Dir.mk)) 10 11pl-files := $($(PLSUBS:%=pl/%-files)) 12 13all-pl: $(PLSUBS:%=all-pl/%) 14 15check-pl: $(PLSUBS:%=check-pl/%) 16 17install-pl: $(PLSUBS:%=install-pl/%) 18 19clean-pl: $(PLSUBS:%=clean-pl/%) 20 21.PHONY: all-pl check-pl install-pl clean-pl 22