2008-04-29 12:55:25 +00:00
|
|
|
BINS_libtests = \
|
2019-08-30 01:45:01 +00:00
|
|
|
cxx11 \
|
2009-10-17 03:14:47 +00:00
|
|
|
aes \
|
2008-04-29 12:55:25 +00:00
|
|
|
ascii85 \
|
|
|
|
bits \
|
|
|
|
buffer \
|
2018-06-22 16:15:22 +00:00
|
|
|
closed_file_input_source \
|
2012-06-27 14:02:23 +00:00
|
|
|
concatenate \
|
2017-08-18 23:52:53 +00:00
|
|
|
dct_compress \
|
|
|
|
dct_uncompress \
|
2008-04-29 12:55:25 +00:00
|
|
|
flate \
|
|
|
|
hex \
|
2017-08-06 12:42:01 +00:00
|
|
|
input_source \
|
2018-12-17 16:55:11 +00:00
|
|
|
json \
|
2008-04-29 12:55:25 +00:00
|
|
|
lzw \
|
2020-04-04 01:34:45 +00:00
|
|
|
main_from_wmain \
|
2018-12-24 21:28:08 +00:00
|
|
|
matrix \
|
2008-04-29 12:55:25 +00:00
|
|
|
md5 \
|
2018-12-20 16:25:19 +00:00
|
|
|
numrange \
|
2008-04-29 12:55:25 +00:00
|
|
|
pointer_holder \
|
2018-01-13 19:32:39 +00:00
|
|
|
predictors \
|
2019-06-19 22:53:22 +00:00
|
|
|
qintc \
|
2008-04-29 12:55:25 +00:00
|
|
|
qutil \
|
2013-11-30 17:02:56 +00:00
|
|
|
random \
|
2012-12-29 13:07:46 +00:00
|
|
|
rc4 \
|
2017-08-16 10:26:31 +00:00
|
|
|
runlength \
|
2019-08-17 22:54:24 +00:00
|
|
|
sha2 \
|
|
|
|
sparse_array
|
2008-04-29 12:55:25 +00:00
|
|
|
|
2009-10-10 14:15:09 +00:00
|
|
|
TARGETS_libtests = $(foreach B,$(BINS_libtests),libtests/$(OUTPUT_DIR)/$(call binname,$(B)))
|
2008-04-29 12:55:25 +00:00
|
|
|
|
2020-10-24 21:19:25 +00:00
|
|
|
$(TARGETS_libtests): $(TARGETS_libqpdf) $(TARGETS_qpdf)
|
2008-04-29 12:55:25 +00:00
|
|
|
|
2009-10-23 03:20:03 +00:00
|
|
|
INCLUDES_libtests = include libqpdf
|
2008-04-29 12:55:25 +00:00
|
|
|
|
|
|
|
TC_SRCS_libtests = $(wildcard libqpdf/*.cc) $(wildcard libtests/*.cc) \
|
|
|
|
libqpdf/bits.icc
|
|
|
|
|
|
|
|
# -----
|
|
|
|
|
|
|
|
$(foreach B,$(BINS_libtests),$(eval \
|
|
|
|
OBJS_$(B) = $(call src_to_obj,libtests/$(B).cc)))
|
|
|
|
|
|
|
|
ifeq ($(GENDEPS),1)
|
|
|
|
-include $(foreach B,$(BINS_libtests),$(call obj_to_dep,$(OBJS_$(B))))
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(foreach B,$(BINS_libtests),$(eval \
|
2009-10-10 14:15:09 +00:00
|
|
|
$(OBJS_$(B)): libtests/$(OUTPUT_DIR)/%.$(OBJ): libtests/$(B).cc ; \
|
2008-04-29 12:55:25 +00:00
|
|
|
$(call compile,libtests/$(B).cc,$(INCLUDES_libtests))))
|
|
|
|
|
|
|
|
$(foreach B,$(BINS_libtests),$(eval \
|
2009-10-10 14:15:09 +00:00
|
|
|
libtests/$(OUTPUT_DIR)/$(call binname,$(B)): $(OBJS_$(B)) ; \
|
2018-02-04 19:01:57 +00:00
|
|
|
$(call makebin,$(OBJS_$(B)),$$@,$(LDFLAGS_libqpdf) $(LDFLAGS),$(LIBS_libqpdf) $(LIBS))))
|