You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
787 B
39 lines
787 B
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 \ |
|
sha256.c \ |
|
sha256.h |
|
|
|
libuasync_a_CFLAGS = \ |
|
-D_ISOC99_SOURCE \ |
|
-DDEBUG_OUTPUT_STDERR \ |
|
-I$(top_srcdir)/src \ |
|
-I$(top_srcdir)/lib |
|
|
|
# Object directory for shadow build artifacts |
|
OBJDIR = $(top_builddir)/.objs/lib |
|
|
|
# After building, move object files to shadow directory |
|
all-local: shadow-objects |
|
|
|
shadow-objects: libuasync.a |
|
@$(MKDIR_P) $(OBJDIR) |
|
@for obj in $(libuasync_a_OBJECTS); do \ |
|
if test -f "$$obj"; then \ |
|
mv -f "$$obj" $(OBJDIR)/ 2>/dev/null || true; \ |
|
fi; \ |
|
done |
|
|
|
# Clean shadow directory along with regular clean |
|
clean-local: |
|
-rm -rf $(OBJDIR)
|
|
|