source: rtems-schedsim/schedsim/shell/schedsim_smpsimple/Makefile.am @ 2d51251

Last change on this file since 2d51251 was 2d51251, checked in by Jennifer Averett <jennifer.averett@…>, on May 9, 2014 at 1:35:58 PM

schedsim: Add smp support.

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