Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

342 lines
16 KiB

  1. @SETLOCAL
  2. @echo off
  3. if %CRTDIR%.==. set CRTDIR=\crt\crtw32
  4. echo.
  5. echo Release Includes (WIN32/386)
  6. echo ----------------------------
  7. if %1.==. goto HELP
  8. rem Set up variables
  9. rem ----------------
  10. set IFSCRPT=%CRTDIR%\tools\win32\relinc64.if
  11. set SEDSCRPT=%CRTDIR%\tools\win32\relinc64.sed
  12. set SED=%CRTDIR%\tools\sed
  13. set IFSTRIP=%CRTDIR%\tools\ifstrip
  14. set STRIPHDR=%CRTDIR%\tools\striphdr
  15. :DOIT
  16. rem Make sure the new directories exist
  17. rem -----------------------------------
  18. echo Creating directories %1 and %1\sys...
  19. mkdir %1
  20. mkdir %1\sys
  21. rem Copy the files to the new directory
  22. rem -----------------------------------
  23. echo Copying include files to %1...
  24. copy %CRTDIR%\H\ASSERT.H %1 > NUL
  25. copy %CRTDIR%\H\CONIO.H %1 > NUL
  26. copy %CRTDIR%\H\CRTDBG.H %1 > NUL
  27. copy %CRTDIR%\H\CTYPE.H %1 > NUL
  28. copy %CRTDIR%\H\DIRECT.H %1 > NUL
  29. copy %CRTDIR%\H\DOS.H %1 > NUL
  30. copy %CRTDIR%\H\EH.H %1 > NUL
  31. copy %CRTDIR%\H\ERRNO.H %1 > NUL
  32. copy %CRTDIR%\H\EXCPT.H %1 > NUL
  33. copy %CRTDIR%\H\FCNTL.H %1 > NUL
  34. copy %CRTDIR%\H\FLOAT.H %1 > NUL
  35. copy %CRTDIR%\H\FPIEEE.H %1 > NUL
  36. copy %CRTDIR%\H\FSTREAM.H %1 > NUL
  37. copy %CRTDIR%\H\IO.H %1 > NUL
  38. copy %CRTDIR%\H\IOMANIP.H %1 > NUL
  39. copy %CRTDIR%\H\IOS.H %1 > NUL
  40. copy %CRTDIR%\H\IOSTREAM.H %1 > NUL
  41. copy %CRTDIR%\H\ISTREAM.H %1 > NUL
  42. copy %CRTDIR%\H\LIMITS.H %1 > NUL
  43. copy %CRTDIR%\H\LOCALE.H %1 > NUL
  44. copy %CRTDIR%\H\MALLOC.H %1 > NUL
  45. copy %CRTDIR%\H\MATH.H %1 > NUL
  46. copy %CRTDIR%\H\MBCTYPE.H %1 > NUL
  47. copy %CRTDIR%\H\MBSTRING.H %1 > NUL
  48. copy %CRTDIR%\H\MEMORY.H %1 > NUL
  49. copy %CRTDIR%\H\MINMAX.H %1 > NUL
  50. copy %CRTDIR%\H\NEW.H %1 > NUL
  51. copy %CRTDIR%\H\OSTREAM.H %1 > NUL
  52. copy %CRTDIR%\H\PROCESS.H %1 > NUL
  53. copy %CRTDIR%\H\RTCAPI.H %1 > NUL
  54. copy %CRTDIR%\H\SEARCH.H %1 > NUL
  55. copy %CRTDIR%\H\SETJMP.H %1 > NUL
  56. copy %CRTDIR%\H\SETJMPEX.H %1 > NUL
  57. copy %CRTDIR%\H\SHARE.H %1 > NUL
  58. copy %CRTDIR%\H\SIGNAL.H %1 > NUL
  59. copy %CRTDIR%\H\STDARG.H %1 > NUL
  60. copy %CRTDIR%\H\STDDEF.H %1 > NUL
  61. copy %CRTDIR%\H\STDIO.H %1 > NUL
  62. copy %CRTDIR%\H\STDIOSTR.H %1 > NUL
  63. copy %CRTDIR%\H\STDLIB.H %1 > NUL
  64. copy %CRTDIR%\H\STDEXCPT.H %1 > NUL
  65. copy %CRTDIR%\H\STREAMB.H %1 > NUL
  66. copy %CRTDIR%\H\STRING.H %1 > NUL
  67. copy %CRTDIR%\H\STRSTREA.H %1 > NUL
  68. copy %CRTDIR%\H\TCHAR.H %1 > NUL
  69. copy %CRTDIR%\H\TIME.H %1 > NUL
  70. copy %CRTDIR%\H\TYPEINFO.H %1 > NUL
  71. copy %CRTDIR%\H\USEOLDIO.H %1 > NUL
  72. copy %CRTDIR%\H\WCHAR.H %1 > NUL
  73. copy %CRTDIR%\H\VARARGS.H %1 > NUL
  74. copy %CRTDIR%\H\SYS\LOCKING.H %1\sys > NUL
  75. copy %CRTDIR%\H\SYS\STAT.H %1\sys > NUL
  76. copy %CRTDIR%\H\SYS\TIMEB.H %1\sys > NUL
  77. copy %CRTDIR%\H\SYS\TYPES.H %1\sys > NUL
  78. copy %CRTDIR%\H\SYS\UTIME.H %1\sys > NUL
  79. rem Strip off the headers
  80. rem ---------------------
  81. echo Stripping out the headers...
  82. %STRIPHDR% -r %1\*.h
  83. %STRIPHDR% -r %1\sys\*.h
  84. Echo tchar.h is not ifstripped
  85. copy %1\tchar.new %1\tchar.tmp >NUL
  86. del %1\*.h
  87. del %1\sys\*.h
  88. rename %1\*.new *.h
  89. rename %1\sys\*.new *.h
  90. echo Copying STL header files
  91. copy %CRTDIR%\STDHPP64\algorithm %1\cpp_algorithm.h > NUL
  92. copy %CRTDIR%\STDHPP64\bitset %1\cpp_bitset.h > NUL
  93. copy %CRTDIR%\STDHPP64\cassert %1\cpp_cassert.h > NUL
  94. copy %CRTDIR%\STDHPP64\cctype %1\cpp_cctype.h > NUL
  95. copy %CRTDIR%\STDHPP64\cerrno %1\cpp_cerrno.h > NUL
  96. copy %CRTDIR%\STDHPP64\cfloat %1\cpp_cfloat.h > NUL
  97. copy %CRTDIR%\STDHPP64\ciso646 %1\cpp_ciso646.h > NUL
  98. copy %CRTDIR%\STDHPP64\climits %1\cpp_climits.h > NUL
  99. copy %CRTDIR%\STDHPP64\clocale %1\cpp_clocale.h > NUL
  100. copy %CRTDIR%\STDHPP64\cmath %1\cpp_cmath.h > NUL
  101. copy %CRTDIR%\STDHPP64\complex %1\cpp_complex.h > NUL
  102. copy %CRTDIR%\STDHPP64\csetjmp %1\cpp_csetjmp.h > NUL
  103. copy %CRTDIR%\STDHPP64\csignal %1\cpp_csignal.h > NUL
  104. copy %CRTDIR%\STDHPP64\cstdarg %1\cpp_cstdarg.h > NUL
  105. copy %CRTDIR%\STDHPP64\cstddef %1\cpp_cstddef.h > NUL
  106. copy %CRTDIR%\STDHPP64\cstdio %1\cpp_cstdio.h > NUL
  107. copy %CRTDIR%\STDHPP64\cstdlib %1\cpp_cstdlib.h > NUL
  108. copy %CRTDIR%\STDHPP64\cstring %1\cpp_cstring.h > NUL
  109. copy %CRTDIR%\STDHPP64\ctime %1\cpp_ctime.h > NUL
  110. copy %CRTDIR%\STDHPP64\cwchar %1\cpp_cwchar.h > NUL
  111. copy %CRTDIR%\STDHPP64\cwctype %1\cpp_cwctype.h > NUL
  112. copy %CRTDIR%\STDHPP64\deque %1\cpp_deque.h > NUL
  113. copy %CRTDIR%\STDHPP64\exception %1\cpp_exception.h > NUL
  114. copy %CRTDIR%\STDHPP64\fstream %1\cpp_fstream.h > NUL
  115. copy %CRTDIR%\STDHPP64\functional %1\cpp_functional.h > NUL
  116. copy %CRTDIR%\STDHPP64\iomanip %1\cpp_iomanip.h > NUL
  117. copy %CRTDIR%\STDHPP64\ios %1\cpp_ios.h > NUL
  118. copy %CRTDIR%\STDHPP64\iosfwd %1\cpp_iosfwd.h > NUL
  119. copy %CRTDIR%\STDHPP64\iostream %1\cpp_iostream.h > NUL
  120. copy %CRTDIR%\STDHPP64\iso646.h %1\cpp_iso646.h > NUL
  121. copy %CRTDIR%\STDHPP64\istream %1\cpp_istream.h > NUL
  122. copy %CRTDIR%\STDHPP64\iterator %1\cpp_iterator.h > NUL
  123. copy %CRTDIR%\STDHPP64\limits %1\cpp_limits.h > NUL
  124. copy %CRTDIR%\STDHPP64\list %1\cpp_list.h > NUL
  125. copy %CRTDIR%\STDHPP64\locale %1\cpp_locale.h > NUL
  126. copy %CRTDIR%\STDHPP64\map %1\cpp_map.h > NUL
  127. copy %CRTDIR%\STDHPP64\memory %1\cpp_memory.h > NUL
  128. copy %CRTDIR%\STDHPP64\new %1\cpp_new.h > NUL
  129. copy %CRTDIR%\STDHPP64\numeric %1\cpp_numeric.h > NUL
  130. copy %CRTDIR%\STDHPP64\ostream %1\cpp_ostream.h > NUL
  131. copy %CRTDIR%\STDHPP64\queue %1\cpp_queue.h > NUL
  132. copy %CRTDIR%\STDHPP64\set %1\cpp_set.h > NUL
  133. copy %CRTDIR%\STDHPP64\sstream %1\cpp_sstream.h > NUL
  134. copy %CRTDIR%\STDHPP64\stack %1\cpp_stack.h > NUL
  135. copy %CRTDIR%\STDHPP64\stdexcept %1\cpp_stdexcept.h > NUL
  136. copy %CRTDIR%\STDHPP64\STL.H %1\cpp_STL.h > NUL
  137. copy %CRTDIR%\STDHPP64\streambuf %1\cpp_streambuf.h > NUL
  138. copy %CRTDIR%\STDHPP64\string %1\cpp_string.h > NUL
  139. copy %CRTDIR%\STDHPP64\strstream %1\cpp_strstream.h > NUL
  140. copy %CRTDIR%\STDHPP64\typeinfo %1\cpp_typeinfo.h > NUL
  141. copy %CRTDIR%\STDHPP64\use_ansi.h %1\cpp_use_ansi.h > NUL
  142. copy %CRTDIR%\STDHPP64\utility %1\cpp_utility.h > NUL
  143. copy %CRTDIR%\STDHPP64\valarray %1\cpp_valarray.h > NUL
  144. copy %CRTDIR%\STDHPP64\vector %1\cpp_vector.h > NUL
  145. copy %CRTDIR%\STDHPP64\wctype.h %1\cpp_wctype.h > NUL
  146. copy %CRTDIR%\STDHPP64\xcomplex %1\cpp_xcomplex.h > NUL
  147. copy %CRTDIR%\STDHPP64\xiosbase %1\cpp_xiosbase.h > NUL
  148. copy %CRTDIR%\STDHPP64\xlocale %1\cpp_xlocale.h > NUL
  149. copy %CRTDIR%\STDHPP64\xlocinfo %1\cpp_xlocinfo.h > NUL
  150. copy %CRTDIR%\STDHPP64\xlocinfo.h %1\cph_xlocinfo.h > NUL
  151. copy %CRTDIR%\STDHPP64\xlocmon %1\cpp_xlocmon.h > NUL
  152. copy %CRTDIR%\STDHPP64\xlocnum %1\cpp_xlocnum.h > NUL
  153. copy %CRTDIR%\STDHPP64\xloctime %1\cpp_xloctime.h > NUL
  154. copy %CRTDIR%\STDHPP64\xmemory %1\cpp_xmemory.h > NUL
  155. copy %CRTDIR%\STDHPP64\xstddef %1\cpp_xstddef.h > NUL
  156. copy %CRTDIR%\STDHPP64\xstring %1\cpp_xstring.h > NUL
  157. copy %CRTDIR%\STDHPP64\xtree %1\cpp_xtree.h > NUL
  158. copy %CRTDIR%\STDHPP64\xutility %1\cpp_xutility.h > NUL
  159. copy %CRTDIR%\STDHPP64\ymath.h %1\cpp_ymath.h > NUL
  160. copy %CRTDIR%\STDHPP64\yvals.h %1\cpp_yvals.h > NUL
  161. copy %CRTDIR%\STDCPP64\xmath.h %1\cpp_xmath.h > NUL
  162. rem Strip out the mthread functionality
  163. rem -----------------------------------
  164. echo Stripping conditionals...
  165. %IFSTRIP% -a -w -f %IFSCRPT% %1\*.h
  166. %IFSTRIP% -a -w -f %IFSCRPT% %1\sys\*.h
  167. del %1\*.h
  168. del %1\sys\*.h
  169. rem Sed the files
  170. rem -------------
  171. echo Sed'ing include files...
  172. %SED% -f %SEDSCRPT% <%1\ASSERT.NEW >%1\ASSERT.H
  173. %SED% -f %SEDSCRPT% <%1\CONIO.NEW >%1\CONIO.H
  174. %SED% -f %SEDSCRPT% <%1\CRTDBG.NEW >%1\CRTDBG.H
  175. %SED% -f %SEDSCRPT% <%1\CTYPE.NEW >%1\CTYPE.H
  176. %SED% -f %SEDSCRPT% <%1\DIRECT.NEW >%1\DIRECT.H
  177. %SED% -f %SEDSCRPT% <%1\DOS.NEW >%1\DOS.H
  178. %SED% -f %SEDSCRPT% <%1\EH.NEW >%1\EH.H
  179. %SED% -f %SEDSCRPT% <%1\ERRNO.NEW >%1\ERRNO.H
  180. %SED% -f %SEDSCRPT% <%1\EXCPT.NEW >%1\EXCPT.H
  181. %SED% -f %SEDSCRPT% <%1\FCNTL.NEW >%1\FCNTL.H
  182. %SED% -f %SEDSCRPT% <%1\FLOAT.NEW >%1\FLOAT.H
  183. %SED% -f %SEDSCRPT% <%1\FPIEEE.NEW >%1\FPIEEE.H
  184. %SED% -f %SEDSCRPT% <%1\FSTREAM.NEW >%1\FSTREAM.H
  185. %SED% -f %SEDSCRPT% <%1\IO.NEW >%1\IO.H
  186. %SED% -f %SEDSCRPT% <%1\IOMANIP.NEW >%1\IOMANIP.H
  187. %SED% -f %SEDSCRPT% <%1\IOS.NEW >%1\IOS.H
  188. %SED% -f %SEDSCRPT% <%1\IOSTREAM.NEW >%1\IOSTREAM.H
  189. %SED% -f %SEDSCRPT% <%1\ISTREAM.NEW >%1\ISTREAM.H
  190. %SED% -f %SEDSCRPT% <%1\LIMITS.NEW >%1\LIMITS.H
  191. %SED% -f %SEDSCRPT% <%1\LOCALE.NEW >%1\LOCALE.H
  192. %SED% -f %SEDSCRPT% <%1\MALLOC.NEW >%1\MALLOC.H
  193. %SED% -f %SEDSCRPT% <%1\MATH.NEW >%1\MATH.H
  194. %SED% -f %SEDSCRPT% <%1\MBCTYPE.NEW >%1\MBCTYPE.H
  195. %SED% -f %SEDSCRPT% <%1\MBSTRING.NEW >%1\MBSTRING.H
  196. %SED% -f %SEDSCRPT% <%1\MEMORY.NEW >%1\MEMORY.H
  197. %SED% -f %SEDSCRPT% <%1\MINMAX.NEW >%1\MINMAX.H
  198. %SED% -f %SEDSCRPT% <%1\NEW.NEW >%1\NEW.H
  199. %SED% -f %SEDSCRPT% <%1\OSTREAM.NEW >%1\OSTREAM.H
  200. %SED% -f %SEDSCRPT% <%1\PROCESS.NEW >%1\PROCESS.H
  201. %SED% -f %SEDSCRPT% <%1\RTCAPI.NEW >%1\RTCAPI.H
  202. %SED% -f %SEDSCRPT% <%1\SEARCH.NEW >%1\SEARCH.H
  203. %SED% -f %SEDSCRPT% <%1\SETJMP.NEW >%1\SETJMP.H
  204. %SED% -f %SEDSCRPT% <%1\SETJMPEX.NEW >%1\SETJMPEX.H
  205. %SED% -f %SEDSCRPT% <%1\SHARE.NEW >%1\SHARE.H
  206. %SED% -f %SEDSCRPT% <%1\SIGNAL.NEW >%1\SIGNAL.H
  207. %SED% -f %SEDSCRPT% <%1\STDARG.NEW >%1\STDARG.H
  208. %SED% -f %SEDSCRPT% <%1\STDDEF.NEW >%1\STDDEF.H
  209. %SED% -f %SEDSCRPT% <%1\STDIO.NEW >%1\STDIO.H
  210. %SED% -f %SEDSCRPT% <%1\STDIOSTR.NEW >%1\STDIOSTR.H
  211. %SED% -f %SEDSCRPT% <%1\STDLIB.NEW >%1\STDLIB.H
  212. %SED% -f %SEDSCRPT% <%1\STDEXCPT.NEW >%1\STDEXCPT.H
  213. %SED% -f %SEDSCRPT% <%1\STREAMB.NEW >%1\STREAMB.H
  214. %SED% -f %SEDSCRPT% <%1\STRING.NEW >%1\STRING.H
  215. %SED% -f %SEDSCRPT% <%1\STRSTREA.NEW >%1\STRSTREA.H
  216. %SED% -f %SEDSCRPT% <%1\TIME.NEW >%1\TIME.H
  217. %SED% -f %SEDSCRPT% <%1\TYPEINFO.NEW >%1\TYPEINFO.H
  218. %SED% -f %SEDSCRPT% <%1\USEOLDIO.NEW >%1\USEOLDIO.H
  219. %SED% -f %SEDSCRPT% <%1\WCHAR.NEW >%1\WCHAR.H
  220. %SED% -f %SEDSCRPT% <%1\VARARGS.NEW >%1\VARARGS.H
  221. %SED% -f %SEDSCRPT% <%1\SYS\LOCKING.NEW >%1\SYS\LOCKING.H
  222. %SED% -f %SEDSCRPT% <%1\SYS\STAT.NEW >%1\SYS\STAT.H
  223. %SED% -f %SEDSCRPT% <%1\SYS\TIMEB.NEW >%1\SYS\TIMEB.H
  224. %SED% -f %SEDSCRPT% <%1\SYS\TYPES.NEW >%1\SYS\TYPES.H
  225. %SED% -f %SEDSCRPT% <%1\SYS\UTIME.NEW >%1\SYS\UTIME.H
  226. echo Sed'ing STL include files...
  227. %SED% -f %SEDSCRPT% <%1\cpp_algorithm.new >%1\algorithm
  228. %SED% -f %SEDSCRPT% <%1\cpp_bitset.new >%1\bitset
  229. %SED% -f %SEDSCRPT% <%1\cpp_cassert.new >%1\cassert
  230. %SED% -f %SEDSCRPT% <%1\cpp_cctype.new >%1\cctype
  231. %SED% -f %SEDSCRPT% <%1\cpp_cerrno.new >%1\cerrno
  232. %SED% -f %SEDSCRPT% <%1\cpp_cfloat.new >%1\cfloat
  233. %SED% -f %SEDSCRPT% <%1\cpp_ciso646.new >%1\ciso646
  234. %SED% -f %SEDSCRPT% <%1\cpp_climits.new >%1\climits
  235. %SED% -f %SEDSCRPT% <%1\cpp_clocale.new >%1\clocale
  236. %SED% -f %SEDSCRPT% <%1\cpp_cmath.new >%1\cmath
  237. %SED% -f %SEDSCRPT% <%1\cpp_complex.new >%1\complex
  238. %SED% -f %SEDSCRPT% <%1\cpp_csetjmp.new >%1\csetjmp
  239. %SED% -f %SEDSCRPT% <%1\cpp_csignal.new >%1\csignal
  240. %SED% -f %SEDSCRPT% <%1\cpp_cstdarg.new >%1\cstdarg
  241. %SED% -f %SEDSCRPT% <%1\cpp_cstddef.new >%1\cstddef
  242. %SED% -f %SEDSCRPT% <%1\cpp_cstdio.new >%1\cstdio
  243. %SED% -f %SEDSCRPT% <%1\cpp_cstdlib.new >%1\cstdlib
  244. %SED% -f %SEDSCRPT% <%1\cpp_cstring.new >%1\cstring
  245. %SED% -f %SEDSCRPT% <%1\cpp_ctime.new >%1\ctime
  246. %SED% -f %SEDSCRPT% <%1\cpp_cwchar.new >%1\cwchar
  247. %SED% -f %SEDSCRPT% <%1\cpp_cwctype.new >%1\cwctype
  248. %SED% -f %SEDSCRPT% <%1\cpp_deque.new >%1\deque
  249. %SED% -f %SEDSCRPT% <%1\cpp_exception.new >%1\exception
  250. %SED% -f %SEDSCRPT% <%1\cpp_fstream.new >%1\fstream
  251. %SED% -f %SEDSCRPT% <%1\cpp_functional.new >%1\functional
  252. %SED% -f %SEDSCRPT% <%1\cpp_iomanip.new >%1\iomanip
  253. %SED% -f %SEDSCRPT% <%1\cpp_ios.new >%1\ios
  254. %SED% -f %SEDSCRPT% <%1\cpp_iosfwd.new >%1\iosfwd
  255. %SED% -f %SEDSCRPT% <%1\cpp_iostream.new >%1\iostream
  256. %SED% -f %SEDSCRPT% <%1\cpp_iso646.new >%1\iso646.h
  257. %SED% -f %SEDSCRPT% <%1\cpp_istream.new >%1\istream
  258. %SED% -f %SEDSCRPT% <%1\cpp_iterator.new >%1\iterator
  259. %SED% -f %SEDSCRPT% <%1\cpp_limits.new >%1\limits
  260. %SED% -f %SEDSCRPT% <%1\cpp_list.new >%1\list
  261. %SED% -f %SEDSCRPT% <%1\cpp_locale.new >%1\locale
  262. %SED% -f %SEDSCRPT% <%1\cpp_map.new >%1\map
  263. %SED% -f %SEDSCRPT% <%1\cpp_memory.new >%1\memory
  264. %SED% -f %SEDSCRPT% <%1\cpp_new.new >%1\new
  265. %SED% -f %SEDSCRPT% <%1\cpp_numeric.new >%1\numeric
  266. %SED% -f %SEDSCRPT% <%1\cpp_ostream.new >%1\ostream
  267. %SED% -f %SEDSCRPT% <%1\cpp_queue.new >%1\queue
  268. %SED% -f %SEDSCRPT% <%1\cpp_set.new >%1\set
  269. %SED% -f %SEDSCRPT% <%1\cpp_sstream.new >%1\sstream
  270. %SED% -f %SEDSCRPT% <%1\cpp_stack.new >%1\stack
  271. %SED% -f %SEDSCRPT% <%1\cpp_stdexcept.new >%1\stdexcept
  272. %SED% -f %SEDSCRPT% <%1\cpp_STL.new >%1\STL.H
  273. %SED% -f %SEDSCRPT% <%1\cpp_streambuf.new >%1\streambuf
  274. %SED% -f %SEDSCRPT% <%1\cpp_string.new >%1\string
  275. %SED% -f %SEDSCRPT% <%1\cpp_strstream.new >%1\strstream
  276. %SED% -f %SEDSCRPT% <%1\cpp_typeinfo.new >%1\typeinfo
  277. %SED% -f %SEDSCRPT% <%1\cpp_use_ansi.new >%1\use_ansi.h
  278. %SED% -f %SEDSCRPT% <%1\cpp_utility.new >%1\utility
  279. %SED% -f %SEDSCRPT% <%1\cpp_valarray.new >%1\valarray
  280. %SED% -f %SEDSCRPT% <%1\cpp_vector.new >%1\vector
  281. %SED% -f %SEDSCRPT% <%1\cpp_wctype.new >%1\wctype.h
  282. %SED% -f %SEDSCRPT% <%1\cpp_xcomplex.new >%1\xcomplex
  283. %SED% -f %SEDSCRPT% <%1\cpp_xiosbase.new >%1\xiosbase
  284. %SED% -f %SEDSCRPT% <%1\cpp_xlocale.new >%1\xlocale
  285. %SED% -f %SEDSCRPT% <%1\cpp_xlocinfo.new >%1\xlocinfo
  286. %SED% -f %SEDSCRPT% <%1\cph_xlocinfo.new >%1\xlocinfo.h
  287. %SED% -f %SEDSCRPT% <%1\cpp_xlocmon.new >%1\xlocmon
  288. %SED% -f %SEDSCRPT% <%1\cpp_xlocnum.new >%1\xlocnum
  289. %SED% -f %SEDSCRPT% <%1\cpp_xloctime.new >%1\xloctime
  290. %SED% -f %SEDSCRPT% <%1\cpp_xmemory.new >%1\xmemory
  291. %SED% -f %SEDSCRPT% <%1\cpp_xstddef.new >%1\xstddef
  292. %SED% -f %SEDSCRPT% <%1\cpp_xstring.new >%1\xstring
  293. %SED% -f %SEDSCRPT% <%1\cpp_xtree.new >%1\xtree
  294. %SED% -f %SEDSCRPT% <%1\cpp_xutility.new >%1\xutility
  295. %SED% -f %SEDSCRPT% <%1\cpp_ymath.new >%1\ymath.h
  296. %SED% -f %SEDSCRPT% <%1\cpp_yvals.new >%1\yvals.h
  297. %SED% -f %SEDSCRPT% <%1\cpp_xmath.new >%1\xmath.h
  298. del %1\*.new
  299. del %1\sys\*.new
  300. copy %1\tchar.tmp %1\tchar.h >NUL
  301. del %1\tchar.tmp >NUL
  302. rem clean up
  303. rem --------
  304. set IFSCRPT=
  305. set SEDSCRPT=
  306. echo Done!
  307. goto EXIT
  308. :HELP
  309. echo Relinc.bat cleanses include files for release.
  310. echo You must be on the CRTW32 drive to execute this batch file.
  311. echo.
  312. echo relinc "pathname"
  313. echo.
  314. echo where:
  315. echo "pathname" = complete pathname of destination directory
  316. echo.
  317. echo Environment variables:
  318. echo CRTDIR = path of CRTW32 dir in CRT project (default is \CRT\CRTW32)
  319. echo.
  320. :EXIT
  321. @ENDLOCAL