Imported Upstream version 1.0.10
[platform/upstream/lksctp-tools.git] / src / apps / Makefile.am
1 # Include these two in all the Makefile.am's!!!
2 include $(top_srcdir)/Makefile.vars
3 include $(top_srcdir)/Makefile.rules
4
5 include $(top_srcdir)/Makefile.dirs
6
7 # General compilation flags
8 INCLUDES = -I. -I$(top_srcdir)/src/include -I$(top_srcdir)/src/testlib 
9 AM_CFLAGS = -g -Wall -Wstrict-prototypes -Wimplicit-function-declaration
10 AM_LDFLAGS = 
11 LDADD = $(top_builddir)/src/testlib/libsctputil.la \
12         $(top_builddir)/src/lib/libsctp.la
13
14 # programs to be installed with the distriubution
15 bin_PROGRAMS = sctp_darn sctp_test sctp_status
16
17 # Test programs and libraries to build
18 noinst_PROGRAMS = bindx_test nagle_snd nagle_rcv myftp sctp_xconnect \
19         peel_server peel_client sctp_test sctp_status
20
21 $(top_builddir)/src/lib/libsctp.la:
22         make -C $(top_builddir)/src/lib libsctp.la
23
24 $(top_builddir)/src/testlib/libsctputil.la:
25         make -C $(top_builddir)/src/testlib libsctputil.la
26
27 # Specifying the sources
28 bindx_test_SOURCES = bindx_test.c
29 sctp_darn_SOURCES = sctp_darn.c sctp_darn.h
30 sctp_test_SOURCES = sctp_test.c
31 sctp_status_SOURCES = sctp_status.c
32 nagle_rcv_SOURCES = nagle_rcv.c 
33 nagle_snd_SOURCES = nagle_snd.c 
34 myftp_SOURCES = myftp.c
35 sctp_xconnect_SOURCES = sctp_xconnect.c
36 peel_server_SOURCES = peel_server.c
37 peel_client_SOURCES = peel_client.c
38
39 # Tutorials
40 pkgdoc_DATA = sctp_darn.c sctp_darn.h sctp_test.c sctp_status.c