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

Last change on this file since 36f4cb9 was 36f4cb9, checked in by Joel Sherrill <joel.sherrill@…>, on May 23, 2014 at 9:46:22 PM

Use shared main() and file processor

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