Newer
Older
ccan_EMBED := \
contrib/ccan/ilog/ilog.c \
contrib/ccan/isaac/isaac.c \
contrib/ucw/mempool.c \
contrib/murmurhash3/murmurhash3.c
libkres_SOURCES := \
$(ccan_EMBED) \
lib/layer/pktcache.c \
lib/dnssec/nsec.c \
lib/dnssec/nsec3.c \
lib/dnssec/packet/pkt.c \
lib/dnssec/signature.c \
lib/nsrep.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/dnssec/nsec.h \
lib/dnssec/nsec3.h \
lib/dnssec/packet/pkt.h \
lib/dnssec/rrtype/ds.h \
lib/dnssec/signature.h \
lib/nsrep.h \
lib/resolve.h \
lib/zonecut.h \
lib/rplan.h \
lib/cache.h
# Dependencies
libkres_DEPEND :=
libkres_CFLAGS := -fvisibility=hidden
libkres_LIBS := $(libknot_LIBS) $(libdnssec_LIBS)
libkres_TARGET := -L$(abspath lib) -lkres
$(eval $(call make_static,libkres,lib))
lib: $(libkres)
lib-install: libkres-install
lib-clean: libkres-clean
.PHONY: lib lib-install lib-clean