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