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

Last change on this file since 87c69f3 was 87c69f3, checked in by Joel Sherrill <joel.sherrill@…>, on May 26, 2014 at 5:15:11 PM

shared/smp_stub.c: Only one shared version now

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