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