1@ECHO OFF
2REM ========================================================================
3REM Copyright 1988-2006 University of Washington
4REM
5REM Licensed under the Apache License, Version 2.0 (the "License");
6REM you may not use this file except in compliance with the License.
7REM You may obtain a copy of the License at
8REM
9REM     http://www.apache.org/licenses/LICENSE-2.0
10REM
11REM
12REM ========================================================================
13
14REM Program:	Driver Linkage Generator auxillary for NT/Win9x
15REM
16REM Author:	Mark Crispin
17REM		Networks and Distributed Computing
18REM		Computing & Communications
19REM		University of Washington
20REM		Administration Building, AG-44
21REM		Seattle, WA  98195
22REM		Internet: MRC@CAC.Washington.EDU
23REM
24REM Date:	11 October 1989
25REM Last Edited:30 August 2006
26
27ECHO extern DRIVER %1driver; >> LINKAGE.H
28REM Note the introduction of the caret to quote the ampersand in NT
29if "%OS%" == "Windows_NT" ECHO   mail_link (^&%1driver);	/* link in the %1 driver */ >> LINKAGE.C
30if "%OS%" == "" ECHO   mail_link (&%1driver);	/* link in the %1 driver */ >> LINKAGE.C
31