forked from snetdev/lpel
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.am
86 lines (76 loc) · 2.4 KB
/
Makefile.am
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
SUBDIRS = include . tests
if USE_SCC
include Makefile_scc.am
else
lib_LTLIBRARIES = liblpel.la liblpel_mon.la liblpel_hrc.la
liblpel_la_SOURCES = \
src/mailbox.c \
src/streamset.c \
src/timing.c \
src/lpelcfg.c \
src/lpel_main.c \
src/lpel_hwloc.c \
src/sched/decentralised/sema.c \
src/sched/decentralised/decen_scheduler.c \
src/sched/decentralised/decen_scheduler.h \
src/sched/decentralised/spmdext.c \
src/sched/decentralised/spmdext.h \
src/sched/decentralised/decen_task.c \
src/sched/decentralised/decen_task.h \
src/sched/decentralised/task_migration.h \
src/sched/decentralised/task_migration.c \
src/sched/decentralised/decen_worker.c \
src/sched/decentralised/decen_worker.h \
src/sched/decentralised/decen_taskqueue.c \
src/sched/decentralised/decen_taskqueue.h \
src/sched/decentralised/decen_stream.c \
src/sched/decentralised/decen_stream.h \
src/sched/decentralised/decen_buffer.c \
src/sched/decentralised/decen_buffer.h
liblpel_la_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src/include
liblpel_hrc_la_SOURCES = \
src/mailbox.c \
src/streamset.c \
src/timing.c \
src/lpelcfg.c \
src/lpel_main.c \
src/lpel_hwloc.c \
src/sched/hierarchy/hrc_task.c \
src/sched/hierarchy/hrc_task.h \
src/sched/hierarchy/hrc_worker_init.c \
src/sched/hierarchy/hrc_worker_op.c \
src/sched/hierarchy/hrc_worker.h \
src/sched/hierarchy/static_taskqueue.c \
src/sched/hierarchy/hrc_taskqueue.c \
src/sched/hierarchy/hrc_taskqueue.h \
src/sched/hierarchy/taskpriority.h \
src/sched/hierarchy/taskpriority.c \
src/sched/hierarchy/hrc_stream.c \
src/sched/hierarchy/hrc_stream.h \
src/sched/hierarchy/hrc_buffer.c \
src/sched/hierarchy/hrc_buffer.h
liblpel_hrc_la_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src/include
liblpel_mon_la_SOURCES = \
modimpl/monitoring.c \
modimpl/monitoring.h
liblpel_mon_la_CPPFLAGS = -I$(top_srcdir)/include
if USE_MCTX_PCL
liblpel_la_LIBADD = $(LIBPCL_LA)
liblpel_la_CPPFLAGS += -DUSE_MTX_PCL
liblpel_hrc_la_LIBADD = $(LIBPCL_LA)
liblpel_hrc_la_CPPFLAGS += -DUSE_MTX_PCL
endif
if USE_MCTX_X86
liblpel_la_SOURCES += src/ctx/ctx_i386.S
liblpel_hrc_la_SOURCES += src/ctx/ctx_i386.S
endif
if USE_MCTX_X86_64
liblpel_la_SOURCES += src/ctx/ctx_amd64.S
liblpel_hrc_la_SOURCES += src/ctx/ctx_amd64.S
endif
if USE_MCTX_X86_64_MEM
liblpel_la_SOURCES += src/ctx/ctx_amd64-mem.S
liblpel_hrc_la_SOURCES += src/ctx/ctx_amd64-mem.S
endif
ACLOCAL_AMFLAGS = -I m4
endif #USE_SCC