- audio_compressor.h/c moved to lib/ (alongside opus_codec, mem, debug_config) - lib/Makefile.am: added to libuasync_a_SOURCES - utun_sources.cmake: removed from _cfg_src (GLOB from lib/ picks it up) - tests/Makefile.am: test_audio_compressor added to check_PROGRAMS - test includes simplified (debug_config.h, mem.h — lib/ in include path)
51 lines
824 B
Makefile
51 lines
824 B
Makefile
noinst_LIBRARIES = libuasync.a
|
|
|
|
libuasync_a_SOURCES = \
|
|
u_async.c \
|
|
u_async.h \
|
|
ll_queue.h \
|
|
ll_queue.c \
|
|
debug_config.c \
|
|
debug_config.h \
|
|
timeout_heap.c \
|
|
timeout_heap.h \
|
|
memory_pool.c \
|
|
memory_pool.h \
|
|
socket_compat.c \
|
|
socket_compat.h \
|
|
platform_compat.c \
|
|
platform_compat.h \
|
|
getmyip.c \
|
|
getmyip.h \
|
|
swm_min.c \
|
|
swm_min.h \
|
|
mem.c \
|
|
mem.h \
|
|
radix.c \
|
|
radix.h \
|
|
serialize.c \
|
|
serialize.h \
|
|
json_flat.c \
|
|
json_flat.h \
|
|
tcp_io.c \
|
|
tcp_io.h \
|
|
sqlite3.c \
|
|
sqlite3.h \
|
|
opus_codec.c \
|
|
opus_codec.h \
|
|
audio_compressor.c \
|
|
audio_compressor.h
|
|
|
|
libuasync_a_CFLAGS = \
|
|
-D_ISOC99_SOURCE \
|
|
-DDEBUG_OUTPUT_STDERR \
|
|
-DSQLITE_THREADSAFE=1 \
|
|
-g \
|
|
-I$(top_srcdir)/src \
|
|
-I$(top_srcdir)/lib \
|
|
-I$(top_srcdir)/lib/libopus/include
|
|
|
|
# Clean build directory
|
|
clean-local:
|
|
-rm -rf $(top_builddir)/build
|