wolfssh/apps/wolfsshd/include.am

25 lines
1.3 KiB
Plaintext

if BUILD_SSHD
bin_PROGRAMS += apps/wolfsshd/wolfsshd
apps_wolfsshd_wolfsshd_SOURCES = apps/wolfsshd/wolfsshd.c \
apps/wolfsshd/configuration.c \
apps/wolfsshd/configuration.h \
apps/wolfsshd/auth.c \
apps/wolfsshd/auth.h
apps_wolfsshd_wolfsshd_LDADD = src/libwolfssh.la
apps_wolfsshd_wolfsshd_DEPENDENCIES = src/libwolfssh.la
check_PROGRAMS += apps/wolfsshd/test/test_configuration
apps_wolfsshd_test_test_configuration_SOURCES = apps/wolfsshd/test/test_configuration.c \
apps/wolfsshd/configuration.c \
apps/wolfsshd/configuration.h \
apps/wolfsshd/auth.c \
apps/wolfsshd/auth.h
apps_wolfsshd_test_test_configuration_LDADD = src/libwolfssh.la
apps_wolfsshd_test_test_configuration_DEPENDENCIES = src/libwolfssh.la
# Force the smallest initial group buffer so test_GetUserGroupNames exercises
# the getgrouplist buffer-growth/realloc loop under the sanitizers.
apps_wolfsshd_test_test_configuration_CPPFLAGS = $(AM_CPPFLAGS) -DWOLFSSH_SSHD -DWOLFSSHD_UNIT_TEST -DWOLFSSHD_GROUP_LIST_INIT=1 -I$(srcdir)/apps/wolfsshd/
endif BUILD_SSHD