if not "(%userldflags%)" == "()" echo #define USER_LDFLAGS " %userldflags%">>..\src\config.h\r
copy paths.h ..\src\epaths.h\r
\r
-rem gmake doesn't support "cd foo" in commands (except as part of a\r
-rem compound statement which command.com doesn't support), but nmake\r
-rem doesn't support the -C dir command line switch, so generate the\r
-rem necessary makefile fragment for targets that involve changing dir.\r
-rem \r
-if %MAKECMD% == nmake goto gen1\r
-\r
-echo. > make-frag\r
-echo all-other-dirs: >> make-frag\r
-echo. $(MAKE) -C ../lib-src all >> make-frag\r
-echo. $(MAKE) -C ../src all >> make-frag\r
-echo. $(MAKE) -C ../lisp all >> make-frag\r
-echo. $(MAKE) -C ../leim all >> make-frag\r
-echo. >> make-frag\r
-echo clean-other-dirs: >> make-frag\r
-echo. $(MAKE) -C ../lib-src clean >> make-frag\r
-echo. $(MAKE) -C ../src clean >> make-frag\r
-echo. $(MAKE) -C ../lisp clean >> make-frag\r
-echo. $(MAKE) -C ../leim clean >> make-frag\r
-echo. >> make-frag\r
-echo install-other-dirs: >> make-frag\r
-echo. $(MAKE) -C ../lib-src install >> make-frag\r
-echo. $(MAKE) -C ../src install >> make-frag\r
-echo. $(MAKE) -C ../lisp install >> make-frag\r
-echo. $(MAKE) -C ../leim install >> make-frag\r
-echo. >> make-frag\r
-goto gen2\r
-\r
-:gen1\r
-echo. > make-frag\r
-echo all-other-dirs: >> make-frag\r
-echo. cd ..\lib-src >> make-frag\r
-echo. $(MAKE) all >> make-frag\r
-echo. cd ..\src >> make-frag\r
-echo. $(MAKE) all >> make-frag\r
-echo. cd ..\lisp >> make-frag\r
-echo. $(MAKE) all >> make-frag\r
-echo. cd ..\leim >> make-frag\r
-echo. $(MAKE) all >> make-frag\r
-echo. cd ..\nt >> make-frag\r
-echo. >> make-frag\r
-echo clean-other-dirs: >> make-frag\r
-echo. cd ..\lib-src >> make-frag\r
-echo. $(MAKE) clean >> make-frag\r
-echo. cd ..\src >> make-frag\r
-echo. $(MAKE) clean >> make-frag\r
-echo. cd ..\lisp >> make-frag\r
-echo. $(MAKE) clean >> make-frag\r
-echo. cd ..\leim >> make-frag\r
-echo. $(MAKE) clean >> make-frag\r
-echo. cd ..\nt >> make-frag\r
-echo. >> make-frag\r
-echo install-other-dirs: >> make-frag\r
-echo. cd ..\lib-src >> make-frag\r
-echo. $(MAKE) install >> make-frag\r
-echo. cd ..\src >> make-frag\r
-echo. $(MAKE) install >> make-frag\r
-echo. cd ..\lisp >> make-frag\r
-echo. $(MAKE) install >> make-frag\r
-echo. cd ..\leim >> make-frag\r
-echo. $(MAKE) install >> make-frag\r
-echo. cd ..\nt >> make-frag\r
-echo. >> make-frag\r
-\r
-:gen2\r
-copy /b config.settings+%MAKECMD%.defs+make-frag+..\nt\makefile.w32-in ..\nt\makefile\r
-del make-frag\r
+copy /b config.settings+%MAKECMD%.defs+..\nt\makefile.w32-in ..\nt\makefile\r
copy /b config.settings+%MAKECMD%.defs+..\lib-src\makefile.w32-in ..\lib-src\makefile\r
copy /b config.settings+%MAKECMD%.defs+..\src\makefile.w32-in ..\src\makefile\r
if not exist ..\lisp\Makefile.unix rename ..\lisp\Makefile Makefile.unix\r