bind9/lib/isccc/Makefile.am
Ondřej Surý 2e3a2eecfe Make isc_result a static enum
Remove the dynamic registration of result codes.  Convert isc_result_t
from unsigned + #defines into 32-bit enum type in grand unified
<isc/result.h> header.  Keep the existing values of the result codes
even at the expense of the description and identifier tables being
unnecessary large.

Additionally, add couple of:

    switch (result) {
    [...]
    default:
        break;
    }

statements where compiler now complains about missing enum values in the
switch statement.
2021-10-06 11:22:20 +02:00

37 lines
713 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/events.h \
include/isccc/sexpr.h \
include/isccc/symtab.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 \
symtab.c
libisccc_la_CPPFLAGS = \
$(AM_CPPFLAGS) \
$(LIBISC_CFLAGS) \
$(LIBISCCC_CFLAGS)
libisccc_la_LIBADD = \
$(LIBISC_LIBS)
libisccc_la_LDFLAGS = \
$(AM_LDFLAGS) \
-release "$(PACKAGE_VERSION)"