mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
721e65a1d5
This mechanism isn't perfect, and sometimes it will guess wrong, but it will help our automation.
26 lines
693 B
Plaintext
26 lines
693 B
Plaintext
|
|
noinst_LIBRARIES += src/lib/libtor-malloc.a
|
|
|
|
if UNITTESTS_ENABLED
|
|
noinst_LIBRARIES += src/lib/libtor-malloc-testing.a
|
|
endif
|
|
|
|
# ADD_C_FILE: INSERT SOURCES HERE.
|
|
src_lib_libtor_malloc_a_SOURCES = \
|
|
src/lib/malloc/malloc.c \
|
|
src/lib/malloc/map_anon.c
|
|
|
|
if USE_OPENBSD_MALLOC
|
|
src_lib_libtor_malloc_a_SOURCES += src/ext/OpenBSD_malloc_Linux.c
|
|
endif
|
|
|
|
src_lib_libtor_malloc_testing_a_SOURCES = \
|
|
$(src_lib_libtor_malloc_a_SOURCES)
|
|
src_lib_libtor_malloc_testing_a_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
|
|
src_lib_libtor_malloc_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
|
|
|
|
# ADD_C_FILE: INSERT HEADERS HERE.
|
|
noinst_HEADERS += \
|
|
src/lib/malloc/malloc.h \
|
|
src/lib/malloc/map_anon.h
|