Blame src/components/perf_event_uncore/tests/Makefile

Packit Service a1973e
NAME=perf_event_uncore
Packit Service a1973e
include ../../Makefile_comp_tests.target
Packit Service a1973e
Packit Service a1973e
%.o:%.c
Packit Service a1973e
	$(CC) $(CFLAGS) $(OPTFLAGS) $(INCLUDE) -c -o $@ $<
Packit Service a1973e
Packit Service a1973e
TESTS = perf_event_uncore perf_event_uncore_attach perf_event_uncore_multiple \
Packit Service a1973e
	perf_event_amd_northbridge perf_event_uncore_cbox
Packit Service a1973e
Packit Service a1973e
DOLOOPS= $(testlibdir)/do_loops.o
Packit Service a1973e
Packit Service a1973e
perf_event_uncore_tests: $(TESTS)
Packit Service a1973e
Packit Service a1973e
Packit Service a1973e
perf_event_uncore_lib.o:	perf_event_uncore_lib.c perf_event_uncore_lib.h
Packit Service a1973e
	$(CC) $(CFLAGS) $(INCLUDE) -c perf_event_uncore_lib.c
Packit Service a1973e
Packit Service a1973e
Packit Service a1973e
perf_event_amd_northbridge:	perf_event_amd_northbridge.o $(DOLOOPS) $(UTILOBJS) $(PAPILIB) $(DOLOOPS)
Packit Service a1973e
	$(CC) $(LFLAGS) -o perf_event_amd_northbridge perf_event_amd_northbridge.o $(UTILOBJS) $(DOLOOPS) $(PAPILIB) $(LDFLAGS)
Packit Service a1973e
Packit Service a1973e
perf_event_uncore:	perf_event_uncore.o $(UTILOBJS) $(DOLOOPS) $(PAPILIB) perf_event_uncore_lib.o
Packit Service a1973e
	$(CC) $(LFLAGS) -o perf_event_uncore perf_event_uncore.o perf_event_uncore_lib.o $(UTILOBJS) $(DOLOOPS) $(PAPILIB) $(LDFLAGS)
Packit Service a1973e
Packit Service a1973e
perf_event_uncore_attach:	perf_event_uncore_attach.o $(UTILOBJS) $(DOLOOPS) $(PAPILIB) perf_event_uncore_lib.o
Packit Service a1973e
	$(CC) $(LFLAGS) -o perf_event_uncore_attach perf_event_uncore_attach.o perf_event_uncore_lib.o $(UTILOBJS) $(DOLOOPS) $(PAPILIB) $(LDFLAGS)
Packit Service a1973e
Packit Service a1973e
perf_event_uncore_multiple:	perf_event_uncore_multiple.o perf_event_uncore_lib.o $(UTILOBJS) $(DOLOOPS) $(PAPILIB)
Packit Service a1973e
	$(CC) $(LFLAGS) $(INCLUDE) -o perf_event_uncore_multiple perf_event_uncore_multiple.o perf_event_uncore_lib.o $(UTILOBJS) $(DOLOOPS) $(PAPILIB) $(LDFLAGS) 
Packit Service a1973e
Packit Service a1973e
perf_event_uncore_cbox:	perf_event_uncore_cbox.o perf_event_uncore_lib.o $(UTILOBJS) $(DOLOOPS) $(PAPILIB)
Packit Service a1973e
	$(CC) $(LFLAGS) $(INCLUDE) -o perf_event_uncore_cbox perf_event_uncore_cbox.o perf_event_uncore_lib.o $(UTILOBJS) $(DOLOOPS) $(PAPILIB) $(LDFLAGS)
Packit Service a1973e
Packit Service a1973e
Packit Service a1973e
Packit Service a1973e
clean:
Packit Service a1973e
	rm -f $(TESTS) *.o *~
Packit Service a1973e