1
0

include.am 1.1 KB

1234567891011121314151617181920212223242526272829
  1. # vim:ft=automake
  2. # All paths should be given relative to the root
  3. if BUILD_ASYNCCRYPT
  4. noinst_HEADERS += examples/async/async_tls.h
  5. if BUILD_EXAMPLE_CLIENTS
  6. noinst_PROGRAMS += examples/async/async_client
  7. examples_async_async_client_SOURCES = examples/async/async_client.c examples/async/async_tls.c
  8. examples_async_async_client_LDADD = src/libwolfssl@LIBSUFFIX@.la $(LIB_STATIC_ADD)
  9. examples_async_async_client_DEPENDENCIES = src/libwolfssl@LIBSUFFIX@.la
  10. examples_async_async_client_CFLAGS = $(AM_CFLAGS)
  11. endif
  12. if BUILD_EXAMPLE_SERVERS
  13. noinst_PROGRAMS += examples/async/async_server
  14. examples_async_async_server_SOURCES = examples/async/async_server.c examples/async/async_tls.c
  15. examples_async_async_server_LDADD = src/libwolfssl@LIBSUFFIX@.la $(LIB_STATIC_ADD)
  16. examples_async_async_server_DEPENDENCIES = src/libwolfssl@LIBSUFFIX@.la
  17. examples_async_async_server_CFLAGS = $(AM_CFLAGS)
  18. endif
  19. endif
  20. dist_example_DATA+= examples/async/async_server.c
  21. dist_example_DATA+= examples/async/async_client.c
  22. DISTCLEANFILES+= examples/async/.libs/async_server
  23. DISTCLEANFILES+= examples/async/.libs/async_client
  24. EXTRA_DIST += examples/async/README.md