GSS_S_PROMPTING_NEEDED is a bit
[cyrus-sasl.git] / sample / Makefile.am
1 # Makefile.am -- automake input for sample SASL programs
2 # Rob Earhart
3 #
4 ################################################################
5 # Copyright (c) 2000 Carnegie Mellon University.  All rights reserved.
6 #
7 # Redistribution and use in source and binary forms, with or without
8 # modification, are permitted provided that the following conditions
9 # are met:
10 #
11 # 1. Redistributions of source code must retain the above copyright
12 #    notice, this list of conditions and the following disclaimer. 
13 #
14 # 2. Redistributions in binary form must reproduce the above copyright
15 #    notice, this list of conditions and the following disclaimer in
16 #    the documentation and/or other materials provided with the
17 #    distribution.
18 #
19 # 3. The name "Carnegie Mellon University" must not be used to
20 #    endorse or promote products derived from this software without
21 #    prior written permission. For permission or any other legal
22 #    details, please contact  
23 #      Office of Technology Transfer
24 #      Carnegie Mellon University
25 #      5000 Forbes Avenue
26 #      Pittsburgh, PA  15213-3890
27 #      (412) 268-4387, fax: (412) 268-7395
28 #      tech-transfer@andrew.cmu.edu
29 #
30 # 4. Redistributions of any form whatsoever must retain the following
31 #    acknowledgment:
32 #    "This product includes software developed by Computing Services
33 #     at Carnegie Mellon University (http://www.cmu.edu/computing/)."
34 #
35 # CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO
36 # THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
37 # AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE
38 # FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
39 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
40 # AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
41 # OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
42 #
43 ################################################################
44
45 INCLUDES=-I$(top_srcdir)/include
46
47 noinst_PROGRAMS = client server
48 EXTRA_PROGRAMS = sample-client sample-server
49 CLEANFILES=sample-client sample-server ./.libs/*sample-client ./.libs/*sample-server
50
51 sample_client_SOURCES = sample-client.c
52 sample_server_SOURCES = sample-server.c
53
54 server_SOURCES = server.c common.c common.h
55 client_SOURCES = client.c common.c common.h
56
57 server_LDADD = ../lib/libsasl2.la $(GSSAPIBASE_LIBS) $(GSSAPI_LIBS) $(LIB_SOCKET)
58 client_LDADD = ../lib/libsasl2.la $(GSSAPIBASE_LIBS) $(GSSAPI_LIBS) $(LIB_SOCKET)
59
60 sample_client_LDADD = ../lib/libsasl2.la $(GSSAPIBASE_LIBS) $(GSSAPI_LIBS) $(LIB_SOCKET)
61 sample_server_LDADD = ../lib/libsasl2.la $(GSSAPIBASE_LIBS) $(GSSAPI_LIBS) $(LIB_SOCKET)
62
63 EXTRA_DIST = NTMakefile