source: rtems-schedsim/schedsim/shell/schedsim_smppriority/Makefile.am @ 968d2b2

Last change on this file since 968d2b2 was 968d2b2, checked in by Joel Sherrill <joel.sherrill@…>, on May 26, 2014 at 6:15:13 PM

Unify printing of heir and executing

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