-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
67 lines (42 loc) · 2.31 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Makefile copied from ft_tools and modified
# ##############################################################################
# User variables
# user variables can be specified in the environment or in a .config file
# -include .config
# Where is the LITMUS^RT userspace library source tree?
LIBLITMUS ?= ../liblitmus
# Include default configuration from liblitmus
# Liblitmus must have been built before rt_schedtest can be built.
include ${LIBLITMUS}/inc/config.makefile
# Set our configuration
CFLAGS = -Wall -Werror -pg -g
LDFLAGS += -fopenmp -pg
CPPFLAGS += -Iinclude/ -fopenmp -std=c++0x -Wall -pg -g
CC = /usr/bin/g++
LD += -lc_p
LDLIBS += -pg
# all sources
vpath %.c src/
vpath %.cpp src/
# ##############################################################################
# Targets
all = rt_schedtest rt_global-test rt_partitionned-test rt_clustered-test rt_trace-daemon
.PHONY: all clean TAGS
all: ${all}
clean:
rm -f ${all} *.o *.d
rm -f TAGS
obj-rt_schedtest = rt_schedtest.o configschedtest.o cmdlparser.o
obj-rt_global-test = rt_global-test.o schedtest.o globaltest.o cmdlparser.o taskset.o task.o overhead.o schedtest.o schedtestparam.o schedtrace.o cachetop.o
obj-rt_partitionned-test = rt_partitionned-test.o schedtest.o partitionnedtest.o cmdlparser.o taskset.o task.o overhead.o schedtest.o schedtestparam.o schedtrace.o cachetop.o
obj-rt_clustered-test = rt_clustered-test.o schedtest.o clusteredtest.o globaltest.o partitionnedtest.o cmdlparser.o taskset.o task.o overhead.o schedtest.o schedtestparam.o schedtrace.o cachetop.o
obj-rt_trace-daemon = rt_trace-daemon.o taskset.o task.o litmusdevice.o litmusoverhead.o timestampprocessor.o timestamp.o litmustimestamp.o singlelitmustimestamp.o pairlitmustimestamp.o ticklitmustimestamp.o sendreschedlitmustimestamp.o schedtrace.o litmusschedulingtrace.o schedulingtraceprocessor.o litmusschedulingtracerecord.o litmusexecutiontime.o litmusinterarrivaltime.o litmusselfsuspension.o schedtestparam.o litmusschedtest.o safetymargin.o cachetop.o cpuclock.o
rt_schedtest: ${obj-rt_schedtest}
rt_global-test: ${obj-rt_global-test}
rt_partitionned-test: ${obj-rt_partitionned-test}
rt_clustered-test: ${obj-rt_clustered-test}
rt_trace-daemon: ${obj-rt_trace-daemon}
# Emacs Tags
TAGS:
@echo TAGS
@find . -regex ".*\.[cChH]\(pp\)?" -print | etags -