imapext-2007

view src/osdep/unix/mkauths @ 0:ada5e610ab86

imap-2007e
author yuuji@gentei.org
date Mon, 14 Sep 2009 15:17:45 +0900
parents
children
line source
1 #!/bin/sh
2 # ========================================================================
3 # Copyright 1988-2006 University of Washington
4 #
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 # http://www.apache.org/licenses/LICENSE-2.0
10 #
11 #
12 # ========================================================================
14 # Program: Authenticator Linkage Generator
15 #
16 # Author: Mark Crispin
17 # Networks and Distributed Computing
18 # Computing & Communications
19 # University of Washington
20 # Administration Building, AG-44
21 # Seattle, WA 98195
22 # Internet: MRC@CAC.Washington.EDU
23 #
24 # Date: 5 December 1995
25 # Last Edited: 30 August 2006
27 # Erase old authenticators list
28 rm -f auths.c
29 touch auths.c
31 # Now define the new list
32 for authenticator
33 do
34 if [ -f Makefile."$authenticator" ]; then
35 make -f Makefile."$authenticator" `cat SPECIALS`
36 fi
37 echo "extern AUTHENTICATOR auth_"$authenticator";" >> linkage.h
38 echo " auth_link (&auth_"$authenticator"); /* link in the $authenticator authenticator */" | cat >> linkage.c
39 echo "#include \"auth_"$authenticator".c\"" >> auths.c
40 done

UW-IMAP'd extensions by yuuji