cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

Makefile (650B)


      1# SPDX-License-Identifier: GPL-2.0
      2TEST_GEN_PROGS := fpu_syscall fpu_preempt fpu_signal fpu_denormal vmx_syscall vmx_preempt vmx_signal vsx_preempt mma
      3
      4top_srcdir = ../../../../..
      5include ../../lib.mk
      6
      7$(TEST_GEN_PROGS): ../harness.c
      8$(TEST_GEN_PROGS): CFLAGS += -O2 -g -pthread -m64 -maltivec
      9
     10$(OUTPUT)/fpu_syscall: fpu_asm.S
     11$(OUTPUT)/fpu_preempt: fpu_asm.S
     12$(OUTPUT)/fpu_signal:  fpu_asm.S
     13
     14$(OUTPUT)/vmx_syscall: vmx_asm.S ../utils.c
     15$(OUTPUT)/vmx_preempt: vmx_asm.S ../utils.c
     16$(OUTPUT)/vmx_signal: vmx_asm.S ../utils.c
     17
     18$(OUTPUT)/vsx_preempt: CFLAGS += -mvsx
     19$(OUTPUT)/vsx_preempt: vsx_asm.S ../utils.c
     20
     21$(OUTPUT)/mma: mma.c mma.S ../utils.c