comparison lisp/makefile.w32-in @ 46755:305617daabb4

Revert some changes from 2002-07-23 because they don't work on MSVC/nmake builds.
author Juanma Barranquero <lekktu@gmail.com>
date Wed, 31 Jul 2002 07:45:41 +0000
parents 73124278175b
children 01659e103b99
comparison
equal deleted inserted replaced
46754:ff5741579fc4 46755:305617daabb4
238 # We also set the load-path of the Emacs used for compilation to the 238 # We also set the load-path of the Emacs used for compilation to the
239 # current directory and its subdirectories, to make sure require's and 239 # current directory and its subdirectories, to make sure require's and
240 # load's in the files being compiled find the right files. 240 # load's in the files being compiled find the right files.
241 241
242 # Need separate version for sh and native cmd.exe 242 # Need separate version for sh and native cmd.exe
243 compile: subdirs.el compile-$(SHELLTYPE) doit 243 compile-files: subdirs.el compile-files-$(SHELLTYPE) doit
244 244
245 compile-CMD: 245 compile-files-CMD:
246 # -for %f in ($(lisp) $(WINS)) do for %g in (%f\*.elc) do @attrib -r %g 246 # -for %f in ($(lisp) $(WINS)) do for %g in (%f\*.elc) do @attrib -r %g
247 for %f in ($(COMPILE_FIRST)) do \ 247 for %f in ($(COMPILE_FIRST)) do $(emacs) -f batch-byte-compile %f
248 if not exist %f \ 248 for %f in (. $(WINS)) do for %g in (%f/*.el) do $(emacs) -f batch-byte-compile %f/%g
249 $(emacs) -f batch-byte-compile-if-not-done %f 249
250 for %f in (. $(WINS)) do for %g in (%f/*.el) do \ 250 compile-files-SH:
251 if not exist %f/%g \
252 $(emacs) -f batch-byte-compile-if-not-done %f/%g
253
254 compile-SH:
255 # for elc in $(lisp)/*.elc $(lisp)/*/*.elc; do attrib -r $$elc; done 251 # for elc in $(lisp)/*.elc $(lisp)/*/*.elc; do attrib -r $$elc; done
256 for el in $(COMPILE_FIRST); do \ 252 for el in $(COMPILE_FIRST); do \
257 echo Compiling $$el; \ 253 echo Compiling $$el; \
258 $(emacs) -f batch-byte-compile $$el; \ 254 $(emacs) -f batch-byte-compile $$el; \
259 done 255 done
336 # -rm -f $(lisp)/*.elc $(lisp)/*/*.elc 332 # -rm -f $(lisp)/*.elc $(lisp)/*/*.elc
337 -for dir in . $(WINS); do rm -f $$dir/*.elc; done 333 -for dir in . $(WINS); do rm -f $$dir/*.elc; done
338 334
339 # Generate/update files for the bootstrap process. 335 # Generate/update files for the bootstrap process.
340 336
341 bootstrap: update-subdirs autoloads compile finder-data custom-deps 337 bootstrap: autoloads compile-files finder-data custom-deps
342 338
343 # 339 #
344 # Assuming INSTALL_DIR is defined, copy the elisp files to it 340 # Assuming INSTALL_DIR is defined, copy the elisp files to it
345 # Windows 95 makes this harder than it should be. 341 # Windows 95 makes this harder than it should be.
346 # 342 #