]> git.meshlink.io Git - meshlink/blob - examples/Makefile.am
Have try_bind() reuse the setup_*_listen_socket() functions.
[meshlink] / examples / Makefile.am
1 noinst_PROGRAMS = meshlinkapp chat chatpp manynodes channels groupchat
2
3 AM_CPPFLAGS = $(PTHREAD_CFLAGS) -I${top_srcdir}/src -iquote. -Wall
4 AM_LDFLAGS = $(PTHREAD_LIBS)
5
6 meshlinkapp_SOURCES = meshlinkapp.c
7 meshlinkapp_LDADD = ${top_builddir}/src/libmeshlink.la ${top_builddir}/catta/src/libcatta.la
8
9 chat_SOURCES = chat.c
10 chat_LDADD = ${top_builddir}/src/libmeshlink.la ${top_builddir}/catta/src/libcatta.la
11
12 noinst_PROGRAMS += chatpp
13 chatpp_SOURCES = chatpp.cc
14 chatpp_LDADD = ${top_builddir}/src/libmeshlink.la ${top_builddir}/catta/src/libcatta.la
15
16 manynodes_SOURCES = manynodes.c
17 manynodes_LDADD = ${top_builddir}/src/libmeshlink.la ${top_builddir}/catta/src/libcatta.la
18
19 channels_SOURCES = channels.c
20 channels_LDADD = ${top_builddir}/src/libmeshlink.la ${top_builddir}/catta/src/libcatta.la
21
22 if MONITOR
23 noinst_PROGRAMS += monitor
24 monitor_SOURCES = monitor.c
25 monitor_LDADD = ${top_builddir}/src/libmeshlink.la ${top_builddir}/catta/src/libcatta.la $(NCURSES_LIBS) -lm
26 endif
27
28 groupchat_SOURCES = groupchat.c
29 groupchat_LDADD = ${top_builddir}/src/libmeshlink.la ${top_builddir}/catta/src/libcatta.la