1#
2# Copyright (C) 2011-2012 Michael Tuexen
3#
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions
8# are met:
9# 1. Redistributions of source code must retain the above copyright
10#    notice, this list of conditions and the following disclaimer.
11# 2. Redistributions in binary form must reproduce the above copyright
12#    notice, this list of conditions and the following disclaimer in the
13#    documentation and/or other materials provided with the distribution.
14# 3. Neither the name of the project nor the names of its contributors
15#    may be used to endorse or promote products derived from this software
16#    without specific prior written permission.
17#
18# THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
19# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21# ARE DISCLAIMED.	IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
22# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28# SUCH DAMAGE.
29#
30
31AM_CPPFLAGS = -I$(srcdir)/../usrsctplib
32EXTRA_DIST = \
33    Makefile.nmake \
34    test_libmgmt.c \
35    test_timer.c \
36    tsctp.c \
37    chargen_server_upcall.c \
38    daytime_server.c \
39    daytime_server_upcall.c \
40    discard_server.c \
41    discard_server_upcall.c \
42    echo_server.c \
43    echo_server_upcall.c \
44    client.c \
45    client_upcall.c \
46    rtcweb.c \
47    ekr_client.c \
48    ekr_server.c \
49    ekr_loop.c \
50    ekr_loop_offload.c \
51    ekr_loop_upcall.c \
52    ekr_peer.c \
53    test_libmgmt.c \
54    http_client.c \
55    http_client_upcall.c \
56    st_client.c
57
58noinst_PROGRAMS = \
59    test_libmgmt \
60    test_timer \
61    tsctp \
62    chargen_server_upcall \
63    daytime_server \
64    daytime_server_upcall \
65    discard_server \
66    discard_server_upcall \
67    echo_server \
68    echo_server_upcall \
69    client \
70    client_upcall \
71    rtcweb \
72    ekr_client \
73    ekr_server \
74    ekr_loop \
75    ekr_loop_offload \
76    ekr_loop_upcall \
77    ekr_peer \
78    test_libmgmt \
79    http_client \
80    http_client_upcall \
81    st_client
82
83test_libmgmt_SOURCES = programs_helper.c test_libmgmt.c
84test_libmgmt_LDADD = ../usrsctplib/libusrsctp.la
85test_timer_SOURCES = programs_helper.c test_timer.c
86test_timer_LDADD = ../usrsctplib/libusrsctp.la
87tsctp_SOURCES = programs_helper.c tsctp.c
88tsctp_LDADD = ../usrsctplib/libusrsctp.la
89chargen_server_upcall_SOURCES = programs_helper.c chargen_server_upcall.c
90chargen_server_upcall_LDADD = ../usrsctplib/libusrsctp.la
91daytime_server_SOURCES = programs_helper.c daytime_server.c
92daytime_server_LDADD = ../usrsctplib/libusrsctp.la
93daytime_server_upcall_SOURCES = programs_helper.c daytime_server_upcall.c
94daytime_server_upcall_LDADD = ../usrsctplib/libusrsctp.la
95discard_server_SOURCES = programs_helper.c discard_server.c
96discard_server_LDADD = ../usrsctplib/libusrsctp.la
97discard_server_upcall_SOURCES = programs_helper.c discard_server_upcall.c
98discard_server_upcall_LDADD = ../usrsctplib/libusrsctp.la
99echo_server_SOURCES = programs_helper.c echo_server.c
100echo_server_LDADD = ../usrsctplib/libusrsctp.la
101echo_server_upcall_SOURCES = programs_helper.c echo_server_upcall.c
102echo_server_upcall_LDADD = ../usrsctplib/libusrsctp.la
103client_SOURCES = programs_helper.c client.c
104client_LDADD = ../usrsctplib/libusrsctp.la
105client_upcall_SOURCES = programs_helper.c client_upcall.c
106client_upcall_LDADD = ../usrsctplib/libusrsctp.la
107rtcweb_SOURCES = programs_helper.c rtcweb.c
108rtcweb_LDADD = ../usrsctplib/libusrsctp.la
109ekr_server_SOURCES = programs_helper.c ekr_server.c
110ekr_server_LDADD = ../usrsctplib/libusrsctp.la
111ekr_client_SOURCES = programs_helper.c ekr_client.c
112ekr_client_LDADD = ../usrsctplib/libusrsctp.la
113ekr_peer_SOURCES = programs_helper.c ekr_peer.c
114ekr_peer_LDADD = ../usrsctplib/libusrsctp.la
115ekr_loop_SOURCES = programs_helper.c ekr_loop.c
116ekr_loop_LDADD = ../usrsctplib/libusrsctp.la
117ekr_loop_offload_SOURCES = programs_helper.c ekr_loop_offload.c
118ekr_loop_offload_LDADD = ../usrsctplib/libusrsctp.la
119ekr_loop_upcall_SOURCES = programs_helper.c ekr_loop_upcall.c
120ekr_loop_upcall_LDADD = ../usrsctplib/libusrsctp.la
121http_client_SOURCES = programs_helper.c http_client.c
122http_client_LDADD = ../usrsctplib/libusrsctp.la
123http_client_upcall_SOURCES = programs_helper.c http_client_upcall.c
124http_client_upcall_LDADD = ../usrsctplib/libusrsctp.la
125st_client_SOURCES = programs_helper.c st_client.c
126st_client_LDADD = ../usrsctplib/libusrsctp.la
127