source: rtems-schedsim/schedsim/shell/schedsim_cluster01/Makefile.am @ 6f48a61

Last change on this file since 6f48a61 was 6f48a61, checked in by Jennifer Averett <jennifer.averett@…>, on 06/17/14 at 17:03:25

Add remainder of schedulers and cluster scheduler support.

  • Property mode set to 100644
File size: 2.5 KB
Line 
1bin_PROGRAMS = schedsim_cluster01
2
3SOURCES  = config.c
4SOURCES += $(srcdir)/../schedsim_smpsimple/add_commands.c
5SOURCES += $(srcdir)/../schedsim_smpsimple/main_dump_ready_tasks.c
6schedsim_cluster01_SOURCES = $(SOURCES)
7
8cpukitdir=@rtems_srcdir@/cpukit
9schedsim_cluster01_CPPFLAGS  = -I$(top_builddir)/score/include
10schedsim_cluster01_CPPFLAGS += -I$(srcdir)/sched_cpu
11schedsim_cluster01_CPPFLAGS += -I$(srcdir)/../../rtems
12schedsim_cluster01_CPPFLAGS += -I$(cpukitdir)/include
13schedsim_cluster01_CPPFLAGS += -I$(cpukitdir)/score/include
14schedsim_cluster01_CPPFLAGS += -I$(cpukitdir)/score/inline
15schedsim_cluster01_CPPFLAGS += -I$(cpukitdir)/rtems/include
16schedsim_cluster01_CPPFLAGS += -I$(cpukitdir)/rtems/inline
17schedsim_cluster01_CPPFLAGS += -I$(cpukitdir)/sapi/include
18schedsim_cluster01_CPPFLAGS += -I$(cpukitdir)/sapi/inline
19schedsim_cluster01_CPPFLAGS += -I$(cpukitdir)/libcsupport/include
20schedsim_cluster01_CPPFLAGS += -I$(cpukitdir)/libmisc/stringto
21schedsim_cluster01_CPPFLAGS += -I$(srcdir)/../../rtems/sched_cpu
22schedsim_cluster01_CPPFLAGS += -I$(srcdir)/../shared/include
23schedsim_cluster01_CPPFLAGS += -I$(srcdir)/../shared
24if HAS_PTHREADS
25schedsim_cluster01_CPPFLAGS += -I$(cpukitdir)/posix/include
26schedsim_cluster01_CPPFLAGS += -I$(cpukitdir)/posix/inline
27endif
28## Ensure all linker provided symbols are available
29schedsim_cluster01_LDFLAGS =
30schedsim_cluster01_LDFLAGS += -Wl,--defsym=_TLS_Data_begin=0
31schedsim_cluster01_LDFLAGS += -Wl,--defsym=_TLS_BSS_end=0
32schedsim_cluster01_LDFLAGS += -Wl,--defsym=_TLS_Alignment=4
33
34## Wrap _Thread_Dispatch so we can see context switches
35schedsim_cluster01_LDFLAGS +=-Wl,--wrap=_Thread_Dispatch
36
37## schedsim_cluster01_LDADD +=-Wl,--start-group
38schedsim_cluster01_LDADD = ../shared/libschedsim.a
39schedsim_cluster01_LDADD += ../../rtems/librtems.a
40schedsim_cluster01_LDADD += ../shared/libschedsim.a
41## schedsim_cluster01_LDADD +=-Wl,--end-group
42
43check-local:
44        @echo Running tests from SMP Priority Affinity
45        $(srcdir)/../run_scenarios \
46            -s $(builddir)/schedsim_cluster01 \
47            -S $(srcdir) \
48            -A
49        @echo Running tests from SMP Simple Priority
50        $(srcdir)/../run_scenarios \
51            -s $(builddir)/schedsim_cluster01 \
52            -S $(srcdir)/../schedsim_smpsimple \
53            -A
54        @echo Running tests from Uniprocessor Deterministic Priority
55        $(srcdir)/../run_scenarios \
56            -s $(builddir)/schedsim_cluster01 \
57            -S $(srcdir)/../schedsim_priority \
58            script02.scen script04.scen script05.scen script06.scen
59
60
61include $(top_srcdir)/../automake/host.am
Note: See TracBrowser for help on using the repository browser.