/usr/src/blcr-0.8.5/libcr/Makefile.am is in blcr-dkms 0.8.5-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 71 72 73 74 75 76 77 78 79 80 81 82 | lib_LTLIBRARIES = libcr.la libcr_run.la libcr_omit.la
CR_LIB_VERSION = -version-info @LIBTOOL_INTERFACE@:@LIBTOOL_REVISION@:@LIBTOOL_AGE@
noinst_HEADERS = \
cr_syscall.h\
cr_private.h\
cr_rb_lock.h\
cr_trace.h\
cr_yield.h
if CR_HAVE_FTB
libcr_ftb_sources = cr_ftb.c
endif
libcr_la_SOURCES = \
$(libcr_ftb_sources) \
cr_async.c\
cr_core.c\
cr_cs.c\
cr_pthread.c\
cr_sig_sync.c\
cr_syscall.c\
cr_trace.c\
cr_strerror.c\
cr_request.c\
cr_omit.c\
cr_run.c
libcr_la_LIBADD = -ldl -lpthread @CR_FTB_LDADD@
libcr_la_LDFLAGS = $(CR_LIB_VERSION) @CR_FTB_LDFLAGS@
libcr_la_CFLAGS = @CR_LIBCR_CFLAGS@ @CR_FTB_INCLUDES@ $(AM_CFLAGS)
if LIBCR_TRACING
libcr_tracing = cr_trace.c cr_sig_sync.c
endif
# "target" libs
libcr_run_la_SOURCES = cr_run.c $(libcr_tracing)
libcr_run_la_LIBADD = -ldl
libcr_run_la_LDFLAGS = $(CR_LIB_VERSION)
libcr_run_la_CFLAGS = @CR_LIBCR_CFLAGS@ $(AM_CFLAGS) -DLIBCR_SIGNAL_ONLY
libcr_omit_la_SOURCES = cr_omit.c $(libcr_tracing)
libcr_omit_la_LIBADD = -ldl
libcr_omit_la_LDFLAGS = $(CR_LIB_VERSION)
libcr_omit_la_CFLAGS = @CR_LIBCR_CFLAGS@ $(AM_CFLAGS) -DLIBCR_SIGNAL_ONLY
if CR_ENABLE_SHARED
# XXX: should split off arch-specific portions of the symbol filter
cr_lib_check:
@if (nm -D .libs/libcr_run.so | egrep -v \
-e ' [^TDB] ' \
-e ' [TDB] \.?crsig_' \
-e ' [TDB] \.?cri?_run_' \
-e ' [TD] \.?_init' \
-e ' [TD] \.?_fini' \
-e ' D __data_start' \
-e ' D _edata' \
-e ' B __bss_start' \
-e ' B _end' \
-e ' T _(save|rest)[gf]pr_[123][0-9](_x)?'); \
then \
echo "ERROR: libcr_run.so leaks symbol(s), above."; \
exit 1; \
fi
if CRI_DEBUG
# Curently only do this for a debug build, due to fragile nm and grep arguments
cr_lib_check = cr_lib_check
endif
endif
INCLUDES =\
-D_GNU_SOURCE\
-D_REENTRANT\
-I$(top_builddir)/include\
-I$(top_srcdir)/include\
-I$(srcdir)/arch/@CR_LIBARCH@/
EXTRA_DIST=arch license.txt cr_libinit.c
dist-hook:
find $(distdir)/arch -name CVS | xargs rm -rf
all-local: $(cr_lib_check)
if test -d $(top_builddir)/libcr32/libcr; then $(MAKE) $(AM_MAKEFLAGS) -C $(top_builddir)/libcr32/libcr all; fi
|