source: rtems-schedsim/schedsim/shell/schedsim_simple/Makefile.am @ c19f6a3

Last change on this file since c19f6a3 was c19f6a3, checked in by Joel Sherrill <joel.sherrill@…>, on May 27, 2014 at 3:42:54 PM

Add Simulator for Uniprocessor Simple Priority

  • Property mode set to 100644
File size: 2.0 KB
Line 
1bin_PROGRAMS = schedsim_simple
2schedsim_simple_SOURCES = config.c
3schedsim_simple_SOURCES += $(srcdir)/../shared/add_commands_stub.c
4
5cpukitdir=@rtems_srcdir@/cpukit
6schedsim_simple_CPPFLAGS  = -I$(top_builddir)/score/include
7schedsim_simple_CPPFLAGS += -I$(srcdir)/sched_cpu
8schedsim_simple_CPPFLAGS += -I$(srcdir)/../../rtems
9schedsim_simple_CPPFLAGS += -I$(cpukitdir)/include
10schedsim_simple_CPPFLAGS += -I$(cpukitdir)/score/include
11schedsim_simple_CPPFLAGS += -I$(cpukitdir)/score/inline
12schedsim_simple_CPPFLAGS += -I$(cpukitdir)/rtems/include
13schedsim_simple_CPPFLAGS += -I$(cpukitdir)/rtems/inline
14schedsim_simple_CPPFLAGS += -I$(cpukitdir)/sapi/include
15schedsim_simple_CPPFLAGS += -I$(cpukitdir)/sapi/inline
16schedsim_simple_CPPFLAGS += -I$(cpukitdir)/libcsupport/include
17schedsim_simple_CPPFLAGS += -I$(cpukitdir)/libmisc/stringto
18schedsim_simple_CPPFLAGS += -I$(srcdir)/../../rtems/sched_cpu
19schedsim_simple_CPPFLAGS += -I$(srcdir)/../shared/include
20schedsim_simple_CPPFLAGS += -I$(srcdir)/../shared
21if HAS_PTHREADS
22schedsim_simple_CPPFLAGS += -I$(cpukitdir)/posix/include
23schedsim_simple_CPPFLAGS += -I$(cpukitdir)/posix/inline
24endif
25
26## Ensure all linker provided symbols are available
27schedsim_simple_LDFLAGS =
28schedsim_simple_LDFLAGS += -Wl,--defsym=_TLS_Data_begin=0
29schedsim_simple_LDFLAGS += -Wl,--defsym=_TLS_BSS_end=0
30schedsim_simple_LDFLAGS += -Wl,--defsym=_TLS_Alignment=4
31
32## Wrap _Thread_Dispatch so we can see context switches
33schedsim_simple_LDFLAGS += -Wl,--wrap=_Thread_Dispatch
34
35## Link in all support libraries
36## schedsim_simpleLDADD +=-Wl,--start-group
37schedsim_simple_LDADD = ../shared/libschedsim.a
38schedsim_simple_LDADD += ../../rtems/librtems.a
39schedsim_simple_LDADD += ../shared/libschedsim.a
40## schedsim_simple_LDADD +=-Wl,--end-group
41
42check-local:
43        @echo Running tests from Uniprocessor Deterministic Priority
44        $(srcdir)/../run_scenarios \
45            -s $(builddir)/schedsim_simple \
46            -S $(srcdir)/../schedsim_priority \
47            -A
48
49include $(top_srcdir)/../automake/host.am
Note: See TracBrowser for help on using the repository browser.