GSS_S_PROMPTING_NEEDED is a bit
[cyrus-sasl.git] / sasldb / Makefile.am
1 # Makefile.am for the SASLdb library
2 # Rob Siemborski
3 # $Id: Makefile.am,v 1.31.2.1 2009/04/27 17:58:26 murch Exp $
4 # Copyright (c) 2000 Carnegie Mellon University.  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 #
10 # 1. Redistributions of source code must retain the above copyright
11 #    notice, this list of conditions and the following disclaimer. 
12 #
13 # 2. Redistributions in binary form must reproduce the above copyright
14 #    notice, this list of conditions and the following disclaimer in
15 #    the documentation and/or other materials provided with the
16 #    distribution.
17 #
18 # 3. The name "Carnegie Mellon University" must not be used to
19 #    endorse or promote products derived from this software without
20 #    prior written permission. For permission or any other legal
21 #    details, please contact  
22 #      Office of Technology Transfer
23 #      Carnegie Mellon University
24 #      5000 Forbes Avenue
25 #      Pittsburgh, PA  15213-3890
26 #      (412) 268-4387, fax: (412) 268-7395
27 #      tech-transfer@andrew.cmu.edu
28 #
29 # 4. Redistributions of any form whatsoever must retain the following
30 #    acknowledgment:
31 #    "This product includes software developed by Computing Services
32 #     at Carnegie Mellon University (http://www.cmu.edu/computing/)."
33 #
34 # CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO
35 # THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
36 # AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE
37 # FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
38 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
39 # AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
40 # OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
41 #
42
43 # Library version info - here at the top, for sanity
44 # Note that this doesn't necessaraly follow the libsasl2 verison info
45 sasl_version = 1:23:0
46
47 INCLUDES=-I$(top_srcdir)/include -I$(top_builddir)/include @SASL_DB_INC@
48
49 extra_common_sources = db_none.c db_ndbm.c db_gdbm.c db_berkeley.c
50
51 EXTRA_DIST = NTMakefile
52
53 noinst_LTLIBRARIES = libsasldb.la
54 noinst_LIBRARIES = libsasldb.a
55
56 libsasldb_la_SOURCES = allockey.c sasldb.h
57 EXTRA_libsasldb_la_SOURCES = $(extra_common_sources)
58 libsasldb_la_DEPENDENCIES = $(SASL_DB_BACKEND)
59 libsasldb_la_LIBADD = $(SASL_DB_BACKEND) 
60
61 # Prevent make dist stupidity
62 libsasldb_a_SOURCES =
63 EXTRA_libsasldb_a_SOURCES =
64
65 libsasldb.a: libsasldb.la $(SASL_DB_BACKEND_STATIC)
66         $(AR) cru .libs/$@ $(SASL_DB_BACKEND_STATIC)
67
68