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

Last change on this file since e340e96 was e340e96, checked in by Joel Sherrill <joel.sherrill@…>, on May 26, 2014 at 5:46:20 PM

current_cpu is now a shared SMP command

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