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

Last change on this file since 726b27c was 726b27c, checked in by Joel Sherrill <joel.sherrill@…>, on Dec 13, 2013 at 5:01:48 PM

schedsim: Update to latest RTEMS. Works Uniprocessor

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