annotate src/osdep/nt/mkautaux.bat @ 0:ada5e610ab86
imap-2007e
author |
yuuji@gentei.org |
date |
Mon, 14 Sep 2009 15:17:45 +0900 |
parents |
|
children |
|
rev |
line source |
yuuji@0
|
1 @ECHO OFF
|
yuuji@0
|
2 REM ========================================================================
|
yuuji@0
|
3 REM Copyright 1988-2006 University of Washington
|
yuuji@0
|
4 REM
|
yuuji@0
|
5 REM Licensed under the Apache License, Version 2.0 (the "License");
|
yuuji@0
|
6 REM you may not use this file except in compliance with the License.
|
yuuji@0
|
7 REM You may obtain a copy of the License at
|
yuuji@0
|
8 REM
|
yuuji@0
|
9 REM http://www.apache.org/licenses/LICENSE-2.0
|
yuuji@0
|
10 REM
|
yuuji@0
|
11 REM
|
yuuji@0
|
12 REM ========================================================================
|
yuuji@0
|
13
|
yuuji@0
|
14 REM Program: Authenticator Linkage Generator auxillary for NT/Win9x
|
yuuji@0
|
15 REM
|
yuuji@0
|
16 REM Author: Mark Crispin
|
yuuji@0
|
17 REM Networks and Distributed Computing
|
yuuji@0
|
18 REM Computing & Communications
|
yuuji@0
|
19 REM University of Washington
|
yuuji@0
|
20 REM Administration Building, AG-44
|
yuuji@0
|
21 REM Seattle, WA 98195
|
yuuji@0
|
22 REM Internet: MRC@CAC.Washington.EDU
|
yuuji@0
|
23 REM
|
yuuji@0
|
24 REM Date: 6 December 1995
|
yuuji@0
|
25 REM Last Edited:30 August 2006
|
yuuji@0
|
26
|
yuuji@0
|
27 ECHO extern AUTHENTICATOR auth_%1; >> LINKAGE.H
|
yuuji@0
|
28 REM Note the introduction of the caret to quote the ampersand in NT
|
yuuji@0
|
29 if "%OS%" == "Windows_NT" ECHO auth_link (^&auth_%1); /* link in the %1 authenticator */ >> LINKAGE.C
|
yuuji@0
|
30 if "%OS%" == "" ECHO auth_link (&auth_%1); /* link in the %1 authenticator */ >> LINKAGE.C
|
yuuji@0
|
31 ECHO #include "auth_%1.c" >> AUTHS.C
|