source: rtems-schedsim/schedsim/shell/schedsim_priority/Makefile.am @ e5e757b

Last change on this file since e5e757b was e5e757b, checked in by Joel Sherrill <joel.sherrill@…>, on May 26, 2014 at 6:26:41 PM

_Thread_Dispatch wrapper is now shared between uniprocessor and SMP configurations

  • Property mode set to 100644
File size: 1.8 KB
Line 
1bin_PROGRAMS = schedsim_priority
2schedsim_priority_SOURCES = config.c
3schedsim_priority_SOURCES += $(srcdir)/../shared/add_commands_stub.c
4
5cpukitdir=@rtems_srcdir@/cpukit
6schedsim_priority_CPPFLAGS  = -I$(top_builddir)/score/include
7schedsim_priority_CPPFLAGS += -I$(srcdir)/sched_cpu
8schedsim_priority_CPPFLAGS += -I$(srcdir)/../../rtems
9schedsim_priority_CPPFLAGS += -I$(cpukitdir)/include
10schedsim_priority_CPPFLAGS += -I$(cpukitdir)/score/include
11schedsim_priority_CPPFLAGS += -I$(cpukitdir)/score/inline
12schedsim_priority_CPPFLAGS += -I$(cpukitdir)/rtems/include
13schedsim_priority_CPPFLAGS += -I$(cpukitdir)/rtems/inline
14schedsim_priority_CPPFLAGS += -I$(cpukitdir)/sapi/include
15schedsim_priority_CPPFLAGS += -I$(cpukitdir)/sapi/inline
16schedsim_priority_CPPFLAGS += -I$(cpukitdir)/libcsupport/include
17schedsim_priority_CPPFLAGS += -I$(cpukitdir)/libmisc/stringto
18schedsim_priority_CPPFLAGS += -I$(srcdir)/../../rtems/sched_cpu
19schedsim_priority_CPPFLAGS += -I$(srcdir)/../shared/include
20schedsim_priority_CPPFLAGS += -I$(srcdir)/../shared
21if HAS_PTHREADS
22schedsim_priority_CPPFLAGS += -I$(cpukitdir)/posix/include
23schedsim_priority_CPPFLAGS += -I$(cpukitdir)/posix/inline
24endif
25
26## Ensure all linker provided symbols are available
27schedsim_priority_LDFLAGS =
28schedsim_priority_LDFLAGS += -Wl,--defsym=_TLS_Data_begin=0
29schedsim_priority_LDFLAGS += -Wl,--defsym=_TLS_BSS_end=0
30schedsim_priority_LDFLAGS += -Wl,--defsym=_TLS_Alignment=4
31
32## Wrap _Thread_Dispatch so we can see context switches
33schedsim_priority_LDFLAGS += -Wl,--wrap=_Thread_Dispatch
34
35## Link in all support libraries
36## schedsim_priorityLDADD +=-Wl,--start-group
37schedsim_priority_LDADD = ../shared/libschedsim.a
38schedsim_priority_LDADD += ../../rtems/librtems.a
39schedsim_priority_LDADD += ../shared/libschedsim.a
40## schedsim_priority_LDADD +=-Wl,--end-group
41
42include $(top_srcdir)/../automake/host.am
Note: See TracBrowser for help on using the repository browser.