18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ciCFLAGS := $(CFLAGS) -Wall -D_GNU_SOURCE 38c2ecf20Sopenharmony_ciLDLIBS += -lm 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ciARCH ?= $(shell uname -m 2>/dev/null || echo not) 68c2ecf20Sopenharmony_ciARCH_PROCESSED := $(shell echo $(ARCH) | sed -e s/i.86/x86/ -e s/x86_64/x86/) 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ciifeq (x86,$(ARCH_PROCESSED)) 98c2ecf20Sopenharmony_ciTEST_GEN_FILES := msr aperf 108c2ecf20Sopenharmony_ciendif 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ciTEST_PROGS := run.sh 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ciinclude ../lib.mk 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci$(TEST_GEN_FILES): $(HEADERS) 17