Mercurial > emacs
view nt/makefile.w32-in @ 68529:7daec5f4a289
* mh-alias.el (mh-alias-gecos-name): Use mh-replace-regexp-in-string
instead of replace-regexp-in-string.
(crm, multi-prompt): Use mh-require instead of require.
(mh-goto-address-find-address-at-point): Use
mh-line-beginning-position and mh-line-end-position instead of
line-beginning-position and line-end-position. Use
mh-match-string-no-properties instead of match-string-no-properties.
* mh-comp.el (mh-modify-header-field): Use mh-line-beginning-position
and mh-line-end-position instead of line-beginning-position and
line-end-position.
* mh-compat.el (mailabbrev): Use mh-require instead of require.
(mh-assoc-string, mh-display-completion-list, mh-face-foreground)
(mh-face-background): Make docstring consistent.
(mh-require, mh-cancel-timer, mh-display-color-cells)
(mh-line-beginning-position, mh-line-end-position)
(mh-match-string-no-properties, mh-replace-regexp-in-string)
(mh-view-mode-enter): Move definition here from mh-xemacs.el and add
mh- prefix since compatibility functions should have our package
prefix (mh-) by Emacs convention and to avoid messing up checks for
the same functions in other packages.
* mh-e.el (mh-compiling-flag): Move mh-xemacs-compiling-flag here from
mh-xemacs.el and rename.
(mh-xargs): Use mh-line-beginning-position and mh-line-end-position
instead of line-beginning-position and line-end-position.
(mh-defface-compat): Use mh-display-color-cells instead of
display-color-cells.
* mh-folder.el (which-func): Use mh-require instead of require.
* mh-funcs.el (mh-list-folders): Use mh-view-mode-enter instead of
view-mode-enter.
* mh-gnus.el (gnus-util, mm-bodies, mm-decode, mm-view, mml): Use
mh-require instead of require.
* mh-letter.el (mh-letter-header-end, mh-letter-mode)
(mh-letter-next-header-field): Use mh-line-beginning-position and
mh-line-end-position instead of line-beginning-position and
line-end-position.
* mh-limit.el (mh-subject-to-sequence-unthreaded): Use
mh-match-string-no-properties instead of match-string-no-properties.
(mh-narrow-to-header-field): Use mh-line-beginning-position and
mh-line-end-position instead of line-beginning-position and
line-end-position.
* mh-mime.el (mh-mime-inline-part, mh-mm-display-part)
(mh-mh-quote-unescaped-sharp, mh-mh-directive-present-p): Use
mh-line-beginning-position and mh-line-end-position instead of
line-beginning-position and line-end-position.
* mh-search.el (which-func): Use mh-require instead of require.
(mh-make-pick-template, mh-index-visit-folder)
(mh-pick-parse-search-buffer, mh-swish-next-result)
(mh-mairix-next-result, mh-namazu-next-result)
(mh-pick-next-result, mh-grep-next-result)
(mh-index-create-imenu-index, mh-index-match-checksum)
(mh-md5sum-parser, mh-openssl-parser, mh-index-update-maps): Use
mh-line-beginning-position and mh-line-end-position instead of
line-beginning-position and line-end-position.
* mh-seq.el (mh-list-sequences): Use mh-view-mode-enter instead of
view-mode-enter.
(mh-folder-size-flist, mh-parse-flist-output-line)
(mh-add-sequence-notation): Use mh-line-beginning-position and
mh-line-end-position instead of line-beginning-position and
line-end-position.
* mh-show.el (mh-show-addr): Use mh-require instead of require.
* mh-speed.el (mh-folder-speedbar-menu-items, mh-speed-toggle)
(mh-speed-view, mh-folder-speedbar-buttons)
(mh-speed-highlight, mh-speed-goto-folder)
(mh-speed-add-buttons, mh-speed-parse-flists-output)
(mh-speed-invalidate-map, mh-speedbar-change-expand-button-char)
(mh-speed-add-folder): Use mh-line-beginning-position and
mh-line-end-position instead of line-beginning-position and
line-end-position.
(mh-speed-flists): Use mh-cancel-timer instead of cancel-timer.
* mh-thread.el (mh-thread-find-children)
(mh-thread-parse-scan-line, mh-thread-generate): Use
mh-line-beginning-position and mh-line-end-position instead of
line-beginning-position and line-end-position.
* mh-utils.el (mh-colors-available-p): Use mh-display-color-cells
instead of display-color-cells.
(mh-folder-list): Use mh-replace-regexp-in-string instead of
replace-regexp-in-string.
(mh-sub-folders-actual, mh-letter-toggle-header-field-display): Use
mh-line-beginning-position and mh-line-end-position instead of
line-beginning-position and line-end-position.
* mh-comp.el (mh-send-sub): Don't find components file in current
directory--this seems to have been a side-effect of commenting out the
use of an old mh-etc variable. Improve error message.
author | Bill Wohler <wohler@newt.com> |
---|---|
date | Wed, 01 Feb 2006 23:24:34 +0000 |
parents | 3723093a21fd |
children | 067115a6e738 2d92f5c9d6ae |
line wrap: on
line source
# -*- Makefile -*- for GNU Emacs on the Microsoft W32 API. # Copyright (C) 2000, 2001, 2002, 2003, 2004, # 2005 Free Software Foundation, Inc. # # Top level makefile for building GNU Emacs on Windows NT # # This file is part of GNU Emacs. # # GNU Emacs is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # GNU Emacs is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with GNU Emacs; see the file COPYING. If not, write to # the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, # Boston, MA 02110-1301, USA. ALL = addpm ddeclient runemacs cmdproxy addsection preprep .PHONY: $(ALL) TRES = $(BLD)/emacs.res addpm: $(BLD) $(BLD)/addpm.exe $(BLD)/addpm.exe: $(BLD)/addpm.$(O) $(LINK) $(LINK_OUT)$@ \ $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(ADVAPI32) $(USER32) ddeclient: $(BLD) $(BLD)/ddeclient.exe $(BLD)/ddeclient.exe: $(BLD)/ddeclient.$(O) $(LINK) $(LINK_OUT)$@ \ $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(ADVAPI32) $(USER32) cmdproxy: $(BLD) $(BLD)/cmdproxy.exe $(BLD)/cmdproxy.exe: $(BLD)/cmdproxy.$(O) $(LINK) $(LINK_OUT)$@ \ $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(USER32) addsection: $(BLD) $(BLD)/addsection.exe $(BLD)/addsection.exe: $(BLD)/addsection.$(O) $(LINK) $(LINK_OUT)$@ \ $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(USER32) preprep: $(BLD) $(BLD)/preprep.exe $(BLD)/preprep.exe: $(BLD)/preprep.$(O) $(LINK) $(LINK_OUT)$@ \ $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) # # The resource file. NT 3.10 requires the use of cvtres; even though # it is not necessary on later versions, it is still ok to use it. # $(TRES): emacs.rc $(RC) $(RC_OUT)$(BLD)/emacs.res $(ALL_DEPS) runemacs: $(BLD) $(BLD)/runemacs.exe $(BLD)/runemacs.exe: $(BLD)/runemacs.$(O) $(TRES) $(LINK) $(LINK_OUT)$@ $(SUBSYSTEM_WINDOWS) \ $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(ADVAPI32) $(USER32) which-sh: @echo Using $(THE_SHELL) as shell. # # Build emacs # all: which-sh $(BLD) $(ALL) maybe-bootstrap all-other-dirs-$(MAKETYPE) all-other-dirs-nmake: cd ..\lib-src $(MAKE) $(MFLAGS) all cd ..\src $(MAKE) $(MFLAGS) all cd ..\lisp $(MAKE) $(MFLAGS) all cd ..\leim $(MAKE) $(MFLAGS) all cd ..\nt all-other-dirs-gmake: $(MAKE) $(MFLAGS) -C ../lib-src all $(MAKE) $(MFLAGS) -C ../src all $(MAKE) $(MFLAGS) -C ../lisp all $(MAKE) $(MFLAGS) -C ../leim all recompile: recompile-$(MAKETYPE) recompile-nmake: cd ..\lisp $(MAKE) $(MFLAGS) recompile cd ..\nt recompile-gmake: $(MAKE) $(MFLAGS) -C ../lisp recompile #### Bootstrapping. ### This is meant for Emacs maintainers only. It first cleans the ### lisp subdirectory, removing all compiled Lisp files. Then a ### special emacs executable is built from Lisp sources, which is then ### used to compile Lisp files. The last step is a "normal" make. maybe-bootstrap: maybe-bootstrap-$(SHELLTYPE) # dummy target to force other targets to be evaluated. doit: maybe-bootstrap-CMD: doit @echo . @if not EXIST ..\lisp\abbrev.elc echo Essential Lisp files seem to be missing. You should either @if not EXIST ..\lisp\abbrev.elc echo do 'make bootstrap' or create 'lisp/abbrev.elc' somehow @echo . @if not EXIST ..\lisp\abbrev.elc exit -1 maybe-bootstrap-SH: doit @if [ ! -f ../lisp/abbrev.elc ] ; then \ echo; \ echo "Essential Lisp files seem to be missing. You should either"; \ echo "do \`make bootstrap' or create \`lisp/abbrev.elc' somehow."; \ echo; \ exit -1; \ fi bootstrap: addsection bootstrap-$(MAKETYPE) all bootstrap-nmake: cd ..\lisp $(MAKE) $(MFLAGS) bootstrap-clean cd ..\src $(MAKE) $(MFLAGS) clean cd ..\lib-src $(MAKE) $(MFLAGS) clean cd ..\src $(MAKE) $(MFLAGS) bootstrap $(MAKE) $(MFLAGS) bootstrap-clean cd ..\lisp $(MAKE) $(MFLAGS) SHELL=$(SHELLTYPE) bootstrap cd ..\lib-src $(MAKE) $(MFLAGS) DOC cd ..\nt bootstrap-gmake: $(MAKE) $(MFLAGS) -C ../lisp bootstrap-clean $(MAKE) $(MFLAGS) -C ../src clean $(MAKE) $(MFLAGS) -C ../lib-src clean $(MAKE) $(MFLAGS) -C ../src bootstrap $(MAKE) $(MFLAGS) -C ../src bootstrap-clean $(MAKE) $(MFLAGS) -C ../lisp bootstrap $(MAKE) $(MFLAGS) -C ../lib-src DOC bootstrap-clean: bootstrap-clean-$(MAKETYPE) bootstrap-clean-nmake: cd ..\src $(MAKE) $(MFLAGS) bootstrap-clean cd ..\lisp $(MAKE) $(MFLAGS) bootstrap-clean bootstrap-clean-gmake: $(MAKE) $(MFLAGS) -C ../src bootstrap-clean $(MAKE) $(MFLAGS) -C ../lisp bootstrap-clean $(INSTALL_DIR): - mkdir "$(INSTALL_DIR)" $(INSTALL_DIR)/bin: $(INSTALL_DIR) - mkdir "$(INSTALL_DIR)/bin" # # Build and install emacs in INSTALL_DIR # install: all $(INSTALL_DIR)/bin install-other-dirs-$(MAKETYPE) - $(CP) $(BLD)/addpm.exe $(INSTALL_DIR)/bin - $(CP) $(BLD)/ddeclient.exe $(INSTALL_DIR)/bin - $(CP) $(BLD)/cmdproxy.exe $(INSTALL_DIR)/bin - $(CP) $(BLD)/runemacs.exe $(INSTALL_DIR)/bin - "$(INSTALL_DIR)/bin/addpm" /q - $(DEL) ../same-dir.tst - $(DEL) $(INSTALL_DIR)/same-dir.tst echo SameDirTest > "$(INSTALL_DIR)/same-dir.tst" - mkdir "$(INSTALL_DIR)/etc" - mkdir "$(INSTALL_DIR)/info" - mkdir "$(INSTALL_DIR)/lock" - mkdir "$(INSTALL_DIR)/data" - mkdir "$(INSTALL_DIR)/site-lisp" - mkdir "$(INSTALL_DIR)/etc/icons" $(IFNOTSAMEDIR) $(CP) ../site-lisp/subdirs.el $(INSTALL_DIR)/site-lisp $(ENDIF) $(IFNOTSAMEDIR) $(CP_DIR) ../etc $(INSTALL_DIR) $(ENDIF) - $(CP_DIR) icons $(INSTALL_DIR)/etc $(IFNOTSAMEDIR) $(CP_DIR) ../info $(INSTALL_DIR) $(ENDIF) - $(DEL) ../same-dir.tst - $(DEL) $(INSTALL_DIR)/same-dir.tst install-other-dirs-nmake: cd ..\lib-src $(MAKE) $(MFLAGS) install cd ..\src $(MAKE) $(MFLAGS) install cd ..\lisp $(MAKE) $(MFLAGS) install cd ..\leim $(MAKE) $(MFLAGS) install cd ..\nt install-other-dirs-gmake: $(MAKE) $(MFLAGS) -C ../lib-src install $(MAKE) $(MFLAGS) -C ../src install $(MAKE) $(MFLAGS) -C ../lisp install $(MAKE) $(MFLAGS) -C ../leim install force-info: # Note that man/makefile knows how to # put the info files in $(infodir), # so we can do ok running make in the build dir. info: force-info info-$(MAKETYPE) info-nmake: cd ..\man $(MAKE) $(MFLAGS) info cd ..\lispref $(MAKE) $(MFLAGS) info cd ..\lispintro $(MAKE) $(MFLAGS) info info-gmake: $(MAKE) $(MFLAGS) -C ../man info $(MAKE) $(MFLAGS) -C ../lispref info $(MAKE) $(MFLAGS) -C ../lispintro info # # Maintenance # clean: clean-other-dirs-$(MAKETYPE) - $(DEL) *~ $(COMPILER_TEMP_FILES) - $(DEL_TREE) $(OBJDIR) - $(DEL) ../etc/DOC ../etc/DOC-X clean-other-dirs-nmake: cd ..\lib-src $(MAKE) $(MFLAGS) clean cd ..\src $(MAKE) $(MFLAGS) clean cd ..\lisp $(MAKE) $(MFLAGS) clean cd ..\lispintro $(MAKE) $(MFLAGS) clean cd ..\lispref $(MAKE) $(MFLAGS) clean cd ..\leim $(MAKE) $(MFLAGS) clean cd ..\man $(MAKE) $(MFLAGS) clean cd ..\nt clean-other-dirs-gmake: $(MAKE) $(MFLAGS) -C ../lib-src clean $(MAKE) $(MFLAGS) -C ../src clean $(MAKE) $(MFLAGS) -C ../lisp clean $(MAKE) $(MFLAGS) -C ../leim clean cleanall-other-dirs-nmake: cd ..\lib-src $(MAKE) $(MFLAGS) cleanall cd ..\src $(MAKE) $(MFLAGS) cleanall cd ..\nt cleanall-other-dirs-gmake: $(MAKE) $(MFLAGS) -C ../lib-src cleanall $(MAKE) $(MFLAGS) -C ../src cleanall cleanall: clean cleanall-other-dirs-$(MAKETYPE) - $(DEL_TREE) obj - $(DEL_TREE) obj-spd - $(DEL_TREE) oo - $(DEL_TREE) oo-spd realclean: cleanall - $(DEL_TREE) ../bin