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