include.am 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # vim:ft=automake
  2. # included from Top Level Makefile.am
  3. # All paths should be given relative to the root
  4. if BUILD_SCTP
  5. if BUILD_EXAMPLE_SERVERS
  6. noinst_PROGRAMS += \
  7. examples/sctp/sctp-server \
  8. examples/sctp/sctp-server-dtls
  9. examples_sctp_sctp_server_SOURCES = examples/sctp/sctp-server.c
  10. examples_sctp_sctp_server_LDADD = $(LIB_STATIC_ADD)
  11. examples_sctp_sctp_server_dtls_SOURCES = examples/sctp/sctp-server-dtls.c
  12. examples_sctp_sctp_server_dtls_LDADD = src/libwolfssl@LIBSUFFIX@.la $(LIB_STATIC_ADD)
  13. examples_sctp_sctp_server_dtls_DEPENDENCIES = src/libwolfssl@LIBSUFFIX@.la
  14. endif
  15. if BUILD_EXAMPLE_CLIENTS
  16. noinst_PROGRAMS += \
  17. examples/sctp/sctp-client \
  18. examples/sctp/sctp-client-dtls
  19. examples_sctp_sctp_client_SOURCES = examples/sctp/sctp-client.c
  20. examples_sctp_sctp_client_LDADD = $(LIB_STATIC_ADD)
  21. examples_sctp_sctp_client_dtls_SOURCES = examples/sctp/sctp-client-dtls.c
  22. examples_sctp_sctp_client_dtls_LDADD = src/libwolfssl@LIBSUFFIX@.la $(LIB_STATIC_ADD)
  23. examples_sctp_sctp_client_dtls_DEPENDENCIES = src/libwolfssl@LIBSUFFIX@.la
  24. endif
  25. endif
  26. dist_example_DATA += \
  27. examples/sctp/sctp-server.c \
  28. examples/sctp/sctp-server-dtls.c \
  29. examples/sctp/sctp-client.c \
  30. examples/sctp/sctp-client-dtls.c
  31. DISTCLEANFILES += \
  32. examples/sctp/.libs/sctp-server \
  33. examples/sctp/.libs/sctp-server-dtls \
  34. examples/sctp/.libs/sctp-client \
  35. examples/sctp/.libs/sctp-client-dtls