imapext-2007

view src/osdep/unix/drivers @ 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: Driver 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: 11 October 1989
25 # Last Edited: 30 August 2006
28 # Erase old driver linkage
29 rm -f linkage.[ch]
31 # Now define the new list
32 for driver
33 do
34 echo "extern DRIVER "$driver"driver;" >> linkage.h
35 echo " mail_link (&"$driver"driver); /* link in the $driver driver */" | cat >> linkage.c
36 done

UW-IMAP'd extensions by yuuji