- Timestamp:
- Feb 26, 2000, 5:21:13 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/configure.cmd
r2726 r2903 1 /* $Id: configure.cmd,v 1. 5 2000-02-10 01:14:45bird Exp $1 /* $Id: configure.cmd,v 1.6 2000-02-26 16:21:13 bird Exp $ 2 2 * 3 3 * Configuration script. 4 4 * Generates makefile.inc and an empty .depend file. 5 5 * 6 * Copyright (c) 1999 knut st. osmundsen6 * Copyright (c) 1999-2000 knut st. osmundsen (knut.stange.osmundsen@pmsc.no) 7 7 * 8 8 * Project Odin Software License can be found in LICENSE.TXT … … 11 11 call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'; 12 12 call SysLoadFuncs; 13 14 /* check for silent argument */ 15 parse arg fNonInteractive 16 if (fNonInteractive <> '') then 17 fInteractive = 0; 18 else 19 fInteractive = 1; 13 20 14 21 /* strings */ … … 23 30 24 31 /* open target file */ 25 if (stream(sIncFile, 'c', 'open write' ) <> '') then do 32 if (stream(sIncFile, 'c', 'open write' ) <> '') then 33 do 26 34 call lineout sIncFile, '################################################################################' 27 35 call lineout sIncFile, '# Generated by configure.cmd' … … 29 37 call lineout sIncFile, '' 30 38 call lineout sIncFile, '################################################################################' 31 call lineout sIncFile, '# BASEDIRECTORIES - Win32 -OS/2 project and Win32K -'32 call lineout sIncFile, '# Note these should be absolute paths!'39 call lineout sIncFile, '# BASEDIRECTORIES - Win32K' 40 call lineout sIncFile, '# Note! These should be absolute paths!' 33 41 call lineout sIncFile, '################################################################################' 34 42 sWin32kBase = directory(); … … 45 53 46 54 call lineout sIncFile, '################################################################################' 47 call lineout sIncFile, '# DDKPATH 55 call lineout sIncFile, '# DDKPATH: base directory of ddk base. (ie. \DDK\BASE not \DDK for DDK v4.0+)' 48 56 call lineout sIncFile, '################################################################################' 49 57 sDDK = SearchPaths('INCLUDE', '..\h\dhcalls.h', 'PATH', '..\h\dhcalls.h', 'BOOKSHELF', '..\h\dhcalls.h', 'Path to DDK "\BASE" directory (ie. F:\DDK\BASE):'); … … 76 84 call stream sIncFile, 'c', 'close'; 77 85 78 say 'Configuration compleated!' 79 say '' 80 say 'You should now verify that the settings are correct by listing the file'; 81 say ''''sIncFile''''; 82 say '' 83 say 'Remember to do a ''nmake dep'' before making win32k.' 86 if (fInteractive = 0) then 87 do 88 say 'Configuration completed!' 89 say '' 90 say 'You should now verify that the settings are correct by listing the file'; 91 say ''''sIncFile''''; 92 say '' 93 say 'Remember to do a ''nmake dep'' before making win32k.' 94 end 84 95 end 85 else do 96 else 97 do 86 98 say 'oops, failed to open outputfile,' sIncFile; 87 99 exit 1; … … 104 116 * sPath-sFile ignoring '..\'s in sFile. 105 117 */ 106 SearchPaths: procedure 118 SearchPaths: procedure expose fInteractive; 107 119 i = 1; 108 120 sEnv = arg(i); … … 117 129 end 118 130 119 if (sPath == '' & sEnv <> '' & sFile == '') then do 131 if (sPath == '' & sEnv <> '' & sFile == '') then 132 do 120 133 say sEnv; 121 pull sPath; 134 if (fInteractive) then 135 pull sPath; 136 else 137 say '!ignored!'; 122 138 end 123 else do 139 else 140 do 124 141 if sPath <> '' then do 125 142 /* */
Note:
See TracChangeset
for help on using the changeset viewer.