Skip to content

Commit 3d8f087

Browse files
committed
Update to 1.5.1
1 parent e425e50 commit 3d8f087

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+2065
-611
lines changed

.gitignore

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,6 @@
1-
.*swp
2-
*.la
31
*.lo
42
*.o
5-
*.tar.gz
3+
.*swp
64
.deps/
75
.dirstamp
86
.libs/
9-
/Makefile
10-
/Makefile.in
11-
/aclocal.m4
12-
/autom4te.cache
13-
/build-aux
14-
/config.*
15-
/configure
16-
/libtool
17-
/stamp-h1
18-
TAGS
19-
axa/libaxa.pc
20-
axa/version.h
21-
doc/doxygen/Doxyfile
22-
doc/doxygen/doxygen-warnings.txt
23-
doc/doxygen/html
24-
doc/doxygen/latex

Makefile.am

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ EXTRA_DIST =
55
CLEANFILES =
66
DISTCLEANFILES =
77
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
8+
AM_TESTS_ENVIRONMENT = top_builddir='$(top_builddir)'; \
9+
top_srcdir='$(top_srcdir)'; \
10+
export top_builddir top_srcdir;
11+
TESTS_ENVIRONMENT = $(AM_TESTS_ENVIRONMENT)
812

913
AM_CPPFLAGS = \
1014
-include $(top_builddir)/config.h \
@@ -79,6 +83,7 @@ nobase_include_HEADERS = \
7983
axa/axa.h \
8084
axa/bits.h \
8185
axa/client.h \
86+
axa/client_config.h \
8287
axa/dns_walk.h \
8388
axa/axa_endian.h \
8489
axa/fields.h \
@@ -96,6 +101,7 @@ axa_libaxa_la_SOURCES = \
96101
axa/axa.h \
97102
axa/bits.h \
98103
axa/client.h \
104+
axa/client_config.h \
99105
axa/dns_walk.h \
100106
axa/axa_endian.h \
101107
axa/fields.h \
@@ -106,8 +112,10 @@ axa_libaxa_la_SOURCES = \
106112
axa/strbuf.h \
107113
axa/trie.h \
108114
axa/wire.h \
115+
axalib/apikey.c \
109116
axalib/bit_funcs.c \
110117
axalib/client.c \
118+
axalib/client_config.c \
111119
axalib/dns_walk.c \
112120
axalib/domain_to_str.c \
113121
axalib/emsg.c \
@@ -288,10 +296,28 @@ spotless: distclean
288296
##
289297
#
290298

291-
EXTRA_DIST += tests/test-json.c
292299

293300
TESTS += tests/test-json
294301
check_PROGRAMS += tests/test-json
295302
tests_test_json_SOURCES = tests/test-json.c
296303
tests_test_json_LDADD = axa/libaxa.la ${libnmsg_LIBS} ${check_LIBS}
297304
tests_test_json_CFLAGS = ${AM_CFLAGS} ${libnmsg_CFLAGS} ${check_CFLAGS} ${libssl_CFLAGS}
305+
306+
TESTS += tests/test-apikey
307+
check_PROGRAMS += tests/test-apikey
308+
tests_test_apikey_SOURCES = tests/test-apikey.c
309+
tests_test_apikey_LDADD = axa/libaxa.la ${libnmsg_LIBS} ${check_LIBS}
310+
tests_test_apikey_CFLAGS = ${AM_CFLAGS} ${libnmsg_CFLAGS} ${check_CFLAGS} ${libssl_CFLAGS}
311+
312+
TESTS += tests/test-client_config
313+
EXTRA_DIST += $(top_builddir)/tests/test-config
314+
check_PROGRAMS += tests/test-client_config
315+
tests_test_client_config_SOURCES = tests/test-client_config.c $(top_builddir)/tests/test-config
316+
tests_test_client_config_LDADD = axa/libaxa.la ${libnmsg_LIBS} ${check_LIBS} ${strlcpy_LIBS}
317+
tests_test_client_config_CFLAGS = ${AM_CFLAGS} ${libnmsg_CFLAGS} ${check_CFLAGS} ${libssl_CFLAGS} ${strlcpy_CFLAGS}
318+
319+
TESTS += tests/test-mgmt
320+
check_PROGRAMS += tests/test-mgmt
321+
tests_test_mgmt_SOURCES = tests/test-mgmt.c
322+
tests_test_mgmt_LDADD = axa/libaxa.la ${libnmsg_LIBS} ${check_LIBS} ${strlcpy_LIBS}
323+
tests_test_mgmt_CFLAGS = ${AM_CFLAGS} ${libnmsg_CFLAGS} ${check_CFLAGS} ${libssl_CFLAGS} ${strlcpy_CFLAGS}

0 commit comments

Comments
 (0)