ccan_EMBED := \ contrib/ccan/ilog/ilog.c \ contrib/ccan/isaac/isaac.c \ contrib/ccan/json/json.c \ contrib/ucw/mempool.c \ contrib/murmurhash3/murmurhash3.c libkres_SOURCES := \ $(ccan_EMBED) \ lib/generic/map.c \ lib/layer/iterate.c \ lib/layer/validate.c \ lib/layer/rrcache.c \ lib/layer/pktcache.c \ lib/dnssec/nsec.c \ lib/dnssec/nsec3.c \ lib/dnssec/packet/pkt.c \ lib/dnssec/signature.c \ lib/dnssec/ta.c \ lib/dnssec.c \ lib/utils.c \ lib/nsrep.c \ lib/module.c \ lib/resolve.c \ lib/zonecut.c \ lib/rplan.c \ lib/cache.c libkres_HEADERS := \ lib/generic/array.h \ lib/generic/map.h \ lib/generic/set.h \ lib/layer.h \ lib/dnssec/nsec.h \ lib/dnssec/nsec3.h \ lib/dnssec/packet/pkt.h \ lib/dnssec/rrtype/ds.h \ lib/dnssec/signature.h \ lib/dnssec/ta.h \ lib/dnssec.h \ lib/utils.h \ lib/nsrep.h \ lib/module.h \ lib/resolve.h \ lib/zonecut.h \ lib/rplan.h \ lib/cache.h # Dependencies libkres_DEPEND := libkres_CFLAGS := -fvisibility=hidden -fPIC libkres_LIBS := $(libknot_LIBS) $(libdnssec_LIBS) libkres_TARGET := -L$(abspath lib) -lkres # Make library $(eval $(call make_static,libkres,lib,yes)) # Targets lib: $(libkres) lib-install: libkres-install lib-clean: libkres-clean .PHONY: lib lib-install lib-clean