2008-04-29 12:55:25 +00:00
|
|
|
BINS_libtests = \
|
2009-10-17 03:14:47 +00:00
|
|
|
aes \
|
2008-04-29 12:55:25 +00:00
|
|
|
ascii85 \
|
|
|
|
bits \
|
|
|
|
buffer \
|
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 \
|
2008-04-29 12:55:25 +00:00
|
|
|
lzw \
|
|
|
|
md5 \
|
|
|
|
pointer_holder \
|
2018-01-13 19:32:39 +00:00
|
|
|
predictors \
|
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 \
|
2012-12-29 13:07:46 +00:00
|
|
|
sha2
|
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
|
|
|
|
|
|
|
$(TARGETS_libtests): $(TARGETS_libqpdf)
|
|
|
|
|
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))))
|