imapext-2007

diff src/osdep/amiga/mkauths @ 0:ada5e610ab86

imap-2007e
author yuuji@gentei.org
date Mon, 14 Sep 2009 15:17:45 +0900
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/osdep/amiga/mkauths	Mon Sep 14 15:17:45 2009 +0900
     1.3 @@ -0,0 +1,40 @@
     1.4 +#!/bin/sh
     1.5 +# ========================================================================
     1.6 +# Copyright 1988-2006 University of Washington
     1.7 +#
     1.8 +# Licensed under the Apache License, Version 2.0 (the "License");
     1.9 +# you may not use this file except in compliance with the License.
    1.10 +# You may obtain a copy of the License at
    1.11 +#
    1.12 +#     http://www.apache.org/licenses/LICENSE-2.0
    1.13 +#
    1.14 +# 
    1.15 +# ========================================================================
    1.16 +
    1.17 +# Program:	Authenticator Linkage Generator
    1.18 +#
    1.19 +# Author:	Mark Crispin
    1.20 +#		Networks and Distributed Computing
    1.21 +#		Computing & Communications
    1.22 +#		University of Washington
    1.23 +#		Administration Building, AG-44
    1.24 +#		Seattle, WA  98195
    1.25 +#		Internet: MRC@CAC.Washington.EDU
    1.26 +#
    1.27 +# Date:		5 December 1995
    1.28 +# Last Edited:	30 August 2006
    1.29 +
    1.30 +# Erase old authenticators list
    1.31 +rm -f auths.c
    1.32 +touch auths.c
    1.33 +
    1.34 +# Now define the new list
    1.35 +for authenticator
    1.36 + do
    1.37 +  if [ -f Makefile."$authenticator" ]; then
    1.38 +    make -f Makefile."$authenticator" `cat SPECIALS`
    1.39 +  fi
    1.40 +  echo "extern AUTHENTICATOR auth_"$authenticator";" >> linkage.h
    1.41 +  echo "  auth_link (&auth_"$authenticator");		/* link in the $authenticator authenticator */" | cat >> linkage.c
    1.42 +  echo "#include \"auth_"$authenticator".c\"" >> auths.c
    1.43 +done

UW-IMAP'd extensions by yuuji