source: trunk/third/cyrus-sasl/Makefile.am @ 17977

Revision 17977, 3.7 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r17976, which included commits to RCS files with non-trunk default branches.
Line 
1# Top-level Makefile.am for SASL
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
45if SASLAUTHD
46SAD = saslauthd
47else
48SAD =
49endif
50if PWCHECK
51PWC = pwcheck
52else
53PWC =
54endif
55if SAMPLE
56SAM = sample
57else
58SAM =
59endif
60if JAVA
61JAV = java
62else
63JAV =
64endif
65if MACOSX
66INSTALLOSX = install-exec-local-osx
67else
68INSTALLOSX =
69endif
70
71SUBDIRS=include sasldb plugins lib utils doc man $(PWC) $(SAM) $(JAV) $(SAD)
72EXTRA_DIST=config cmulocal win32 mac dlcompat-20010505
73
74dist-hook:
75        @find $(distdir) -name CVS -print | xargs -t rm -rf
76
77framedir = /Library/Frameworks/SASL2.framework
78install-exec-local: $(INSTALLOSX)
79        @if test "$(plugindir)" != "$(prefix)/lib/sasl2"; then \
80          echo "********************************************************"; \
81          echo "* WARNING:"; \
82          echo "* Plugins are being installed into $(prefix)/lib/sasl2,"; \
83          echo "* but the library will look for them in $(plugindir)."; \
84          echo "* You need to make sure that the plugins will eventually"; \
85          echo "* be in $(plugindir) -- the easiest way is to make a"; \
86          echo "* symbolic link from $(plugindir) to $(prefix)/lib/sasl2,"; \
87          echo "* but this may not be appropriate for your site, so this"; \
88          echo "* installation procedure won't do it for you."; \
89          echo "*"; \
90          echo "* If you don't want to do this for some reason, you can"; \
91          echo "* set the location where the library will look for plugins"; \
92          echo "* by setting the environment variable SASL_PATH to the path"; \
93          echo "* the library should use."; \
94          echo "********************************************************"; \
95        fi
96install-exec-local-osx:
97        $(mkinstalldirs) $(framedir)/Versions/A/Headers
98        $(mkinstalldirs) $(framedir)/Versions/A/Resources
99        cd $(framedir)/Versions ; ln -fs A Current
100        cd $(framedir) ; ln -fs Versions/A/Headers .
101        cd $(framedir) ; ln -fs Versions/A/Resources .
102        $(INSTALL_DATA) $(srcdir)/config/Info.plist $(framedir)/Versions/A/Resources
103
Note: See TracBrowser for help on using the repository browser.