~ubuntu-branches/debian/stretch/alpine/stretch

« back to all changes in this revision

Viewing changes to imap/src/osdep/amiga/mkauths

  • Committer: Bazaar Package Importer
  • Author(s): Asheesh Laroia
  • Date: 2007-02-17 13:17:42 UTC
  • Revision ID: james.westby@ubuntu.com-20070217131742-99x5c6cpg1pbkdhw
Tags: upstream-0.82+dfsg
ImportĀ upstreamĀ versionĀ 0.82+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
# ========================================================================
 
13
 
 
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
 
26
 
 
27
# Erase old authenticators list
 
28
rm -f auths.c
 
29
touch auths.c
 
30
 
 
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