bind9/lib/isccc/Makefile.am
alessio 53991ecc14 Refactor and simplify isc_symtab
This commit does several changes to isc_symtab:

1. Rewrite the isc_symtab to internally use isc_hashmap instead of
   hand-stiched hashtable.

2. Create a new isc_symtab_define_and_return() api, which returns
   the already defined symvalue on ISC_R_EXISTS; this allows users
   of the API to skip the isc_symtab_lookup()+isc_symtab_define()
   calls and directly call isc_symtab_define_and_return().

3. Merge isccc_symtab into isc_symtab - the only missing function
   was isccc_symtab_foreach() that was merged into isc_symtab API.

4. Add full set of unit tests for the isc_symtab API.
2025-02-17 11:43:19 +01:00

36 lines
686 B
Makefile

include $(top_srcdir)/Makefile.top
lib_LTLIBRARIES = libisccc.la
libisccc_ladir = $(includedir)/isccc
libisccc_la_HEADERS = \
include/isccc/alist.h \
include/isccc/base64.h \
include/isccc/cc.h \
include/isccc/ccmsg.h \
include/isccc/sexpr.h \
include/isccc/symtype.h \
include/isccc/types.h \
include/isccc/util.h
libisccc_la_SOURCES = \
$(libisccc_la_HEADERS) \
alist.c \
base64.c \
cc.c \
ccmsg.c \
sexpr.c
libisccc_la_CPPFLAGS = \
$(AM_CPPFLAGS) \
$(LIBISC_CFLAGS) \
$(LIBDNS_CFLAGS) \
$(LIBISCCC_CFLAGS) \
$(OPENSSL_CFLAGS)
libisccc_la_LIBADD = \
$(LIBISC_LIBS)
libisccc_la_LDFLAGS = \
$(AM_LDFLAGS) \
-release "$(PACKAGE_VERSION)"