hc
2024-11-01 2f529f9b558ca1c1bd74be7437a84e4711743404
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
 
lib_LTLIBRARIES = libcopperplate@CORE@.la
 
libcopperplate@CORE@_la_LDFLAGS = @XENO_LIB_LDFLAGS@ -lpthread -lrt -version-info 0:0:0
libcopperplate@CORE@_la_LIBADD = @XENO_CORE_LDADD@
 
noinst_LTLIBRARIES =
 
libcopperplate@CORE@_la_SOURCES =    \
   clockobj.c    \
   cluster.c    \
   eventobj.c     \
   init.c        \
   internal.c    \
   internal.h    \
   syncobj.c    \
   semobj.c    \
   threadobj.c    \
   timerobj.c    \
   traceobj.c
 
libcopperplate@CORE@_la_CPPFLAGS =        \
   @XENO_USER_CFLAGS@        \
   -I$(top_srcdir)            \
   -I$(top_srcdir)/include        \
   -I$(top_srcdir)/lib
 
if XENO_REGISTRY
libcopperplate@CORE@_la_LIBADD += libregistry.la
noinst_LTLIBRARIES += libregistry.la
 
libregistry_la_SOURCES = registry.c
 
libregistry_la_CPPFLAGS =        \
   $(libcopperplate@CORE@_la_CPPFLAGS)    \
   @XENO_FUSE_CFLAGS@
 
libregistry_la_LIBADD =            \
   @FUSE_LIBS@
endif
 
if XENO_PSHARED
# The process shareable heap has real-time properties, therefore it
# fits both the cobalt and mercury cores equally. Yummie.
libcopperplate@CORE@_la_SOURCES += heapobj-pshared.c reference.c
endif
if XENO_TLSF
libcopperplate@CORE@_la_SOURCES += heapobj-tlsf.c
else
if XENO_HEAPMEM
libcopperplate@CORE@_la_SOURCES += heapobj-heapmem.c
else
libcopperplate@CORE@_la_SOURCES += heapobj-malloc.c
endif
endif
 
SUBDIRS = .
 
if XENO_REGISTRY
SUBDIRS += regd
endif
 
DIST_SUBDIRS = regd
 
SPARSE = sparse
 
sparse:
   @for i in $(libcopperplate@CORE@_la_SOURCES) ; do \
       $(SPARSE) $(CHECKFLAGS) $(srcdir)/$$i; \
   done