Mercurial > emacs
view nt/makefile.def @ 22735:ca02f300fc41
More commentary.
(speedbar-xemacsp) Moved definition.
(speedbar-initial-expansion-mode-list) was
`speedbar-initial-expansion-list' and now has multiple modes.
(speedbar-stealthy-function-list) now has mode labels.
(speedbar-initial-expansion-list-name,
speedbar-previously-used-expansion-list-name,
speedbar-special-mode-key-map, speedbar-track-mouse-flag,
speedbar-tag-hierarchy-method, speedbar-tag-split-minimum-length,
speedbar-tag-regroup-maximum-length,
speedbar-hide-button-brackets-flag) New variables
(speedbar-special-mode-expansion-list) updated documentation.
(speedbar-navigating-speed, speedbar-update-speed) phasing out.
(speedbar-vc-indicator) removed space from this var.
(speedbar-indicator-separator, speedbar-obj-do-check,
speedbar-obj-to-do-point, speedbar-obj-indicator, speedbar-obj-alist,
speedbar-indicator-regex) new variables.
(speedbar-directory-unshown-regexp) New variable.
(speedbar-supported-extension-expressions) Added more extensions.
(speedbar-add-supported-extension,
speedbar-add-ignored-path-regexp) Made interactive.
(speedbar-update-flag) nil w/ no window system.
(speedbar-file-key-map) Moved some key bindings from
`speedbar-key-map' to this map.
(speedbar-make-specialized-keymap) New function.
(speedbar-file-key-map) New key map.
(speedbar-easymenu-definition-special) Updated to new functions.
(speedbar-easymenu-definition-trailer) Changed conditional part.
(speedbar-frame-mode) Removed commented code, fixed W32 cursor
bug, Updated to better handle terminal frames.
(speedbar-switch-buffer-attached-frame) New function.
(speedbar-mode) Updated documentation, no local keymap,
correct `temp-buffer-show-function' use, enable mouse-tracking.
(speedbar-show-info-under-mouse) New function.
(speedbar-reconfigure-keymaps) Was `speedbar-reconfigure-menubar'.
Enable major display mode specific menus & key maps.
(speedbar-temp-buffer-show-function) Fix use of `temp-buffer-show-hook'
(speedbar-track-mouse, speedbar-track-mouse-xemacs) New functions.
(speedbar-restricted-move, speedbar-restricted-next,
speedbar-restricted-prev, speedbar-navigate-list,
speedbar-forward-list, speedbar-backward-list) New commands.
(speedbar-refresh) Updated message printing & verbosity.
(speedbar-item-load) Updated message.
(speedbar-item-byte-compile) Updated doc & reset scanners.
(speedbar-item-info) Overhauled with more details.
(speedbar-item-copy) Update messages.
(speedbar-generic-item-info) New function
(speedbar-item-delete) Update messages.
(speedbar-item-object-delete) New function.
(speedbar-select-window) Update doc. Use `show-buffer'.
(speedbar-make-button) Update doc.
(speedbar-initial-expansion-list, speedbar-initial-menu,
speedbar-initial-keymap, speedbar-initial-stealthy-functions,
speedbar-add-expansion-list,
speedbar-change-initial-expansion-list) New functions.
(speedbar-maybe-add-localized-support,
speedbar-add-localized-speedbar-support,
speedbar-remove-localized-speedbar-support) Imported from speedbspec
(speedbar-file-lists) Filter out some directories.
(speedbar-make-tag-line) Can hide brackets.
(speedbar-change-expand-button-char) Protect invisible text prop.
(speedbar-insert-files-at-point) Ignore case during comares.
(speedbar-apply-one-tag-hierarchy-method,
speedbar-create-tag-hierarchy) New functions.
(speedbar-insert-generic-list) Now calls hierarchy functions on tags.
(speedbar-update-contents) Handles localized support.
(speedbar-update-directory-contents) Uses fn for expansion list,
Fixed directory cacheing bug.
(speedbar-timer-fn) Calls localized support function.
(speedbar-stealthy-update-recurse) New variable
(speedbar-stealthy-updates) Handle new stealth function format.
(speedbar-clear-current-file) Handle indicator regex.
(speedbar-update-current-file) Ignores case, update handle
indicator regex, Fix line positioning.
(speedbar-add-indicator) Handles obj indicators now.
(speedbar-check-objects, speedbar-check-obj-this-line) New functions.
(speedbar-double-click) Fix tripple click error.
(speedbar-line-file, speedbar-goto-this-file) Handle indicator regex.
(speedbar-line-path) Only try to get a file when in "files" display.
(speedbar-line-depth) Handle indicator regex.
(speedbar-dir-follow) Turn of smart-adjust to disable cache use.
(speedbar-directory-buttons-follow) Hack for W32 emacs directories.
(speedbar-buffers-key-map) New key map.
(speedbar-buffer-easymenu-definition) New meny items.
(speedbar-buffer-buttons, speedbar-buffer-buttons-temp,
speedbar-buffer-buttons-engine, speedbar-buffer-click,
speedbar-buffer-kill-buffer, speedbar-buffer-revert-buffer)
New functions.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Fri, 10 Jul 1998 16:48:06 +0000 |
parents | 95153bed0a83 |
children | c329decb4818 |
line wrap: on
line source
# # Makefile definition file for building GNU Emacs on Windows NT # # 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., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. # # Geoff Voelker (voelker@cs.washington.edu) 9-6-94 # # BEGIN CONFIGURATION # # Define the following to build the GUI version # NTGUI=1 # Set INSTALL_DIR to be the directory into which you want emacs installed. # !ifndef INSTALL_DIR INSTALL_DIR = C:\emacs !endif # Define MSVCNT11 to be nonzero if you are using the MSVCNT 1.1 environment. # MSVCNT11 = 1 !ifndef MSVCNT11 MSVCNT11 = 0 !endif # # END CONFIGURATION # # Check that the INCLUDE and LIB environment variables are set. # !ifndef INCLUDE !error The INCLUDE environment variable needs to be set. !endif !ifndef LIB !error The LIB environment variable needs to be set. !endif # Determine the architecture we're running on. # Define ARCH for our purposes; # Define CPU for use by ntwin32.mak; # Define CONFIG_H to the appropriate config.h for the system; # !ifdef PROCESSOR_ARCHITECTURE # We're on Windows NT CPU = $(PROCESSOR_ARCHITECTURE) CONFIG_H = config.nt OS_TYPE = windowsnt ! if "$(PROCESSOR_ARCHITECTURE)" == "x86" ARCH = i386 CPU = i386 ! else ! if "$(PROCESSOR_ARCHITECTURE)" == "MIPS" ARCH = mips ! else ! if "$(PROCESSOR_ARCHITECTURE)" == "ALPHA" ARCH = alpha ! else ! if "$(PROCESSOR_ARCHITECTURE)" == "PPC" ARCH = ppc ! else !error Unknown architecture type "$(PROCESSOR_ARCHITECTURE)" ! endif ! endif ! endif ! endif !else # We're on Windows 95 ARCH = i386 CPU = i386 CONFIG_H = config.nt OS_TYPE = windows95 !endif # Include ntwin32.mak. So far, this file seems to be supported by every # Microsoft compiler on NT and Windows 95 and properly defines the executable # names and libraries necessary to build Emacs. I do not have access # to any other vendor compilers, so I do not know if they supply this # file, too. For now I'll assume that they do. # !include <ntwin32.mak> # Using cvtres is necessary on NT 3.10 and doesn't hurt on later platforms. CVTRES = cvtres.exe AR = $(implib) # The assignment $(CC) = $(cc) fails even though variables are case sensitive. LINK_TMP = $(link) LINK = $(LINK_TMP) CC_TMP = $(cc) CC = $(CC_TMP) # advapi32.lib is left off of $(baselibs) on NT 3.10 !if "$(baselibs)" == "kernel32.lib " ADVAPI32 = advapi32.lib !else ADVAPI32 = !endif # Older ntwin32.mak files do not define libc; do it for them. !ifndef libc libc = libc.lib !endif # The base libraries for compiling Emacs on NT. With MSVC, this should # include oldnames.lib. !if $(MSVCNT11) BASE_LIBS = $(libc) $(baselibs) oldnames.lib !else BASE_LIBS = $(libc) $(baselibs) -nodefaultlib:oldnames.lib !endif # We want any debugging info in the executable. !if "$(LINK)" == "link32" SYS_LDFLAGS = !else SYS_LDFLAGS = -release -incremental:no -version:3.10 !endif INC = -I. !if "$(BUILD_TYPE)" == "spd" CFLAGS_COMMON = -nologo $(INC) $(ARCH_CFLAGS) $(LOCAL_FLAGS) -DWIN32_LEAN_AND_MEAN -D$(ARCH) -Fd$(BLD)\vc.pdb !else CFLAGS_COMMON = -nologo $(INC) $(ARCH_CFLAGS) $(LOCAL_FLAGS) -DWIN32_LEAN_AND_MEAN -D$(ARCH) -Fd$(BLD)\vc.pdb -DEMACSDEBUG !endif !if $(MSVCNT11) CFLAGS = $(CFLAGS_COMMON) -D_CRTAPI1=_cdecl !else CFLAGS = $(CFLAGS_COMMON) -D_CRTAPI1=_cdecl !endif !ifdef BUILD_TYPE OBJDIR = obj-$(BUILD_TYPE) !else OBJDIR = obj !endif $(OBJDIR):; -mkdir $(OBJDIR) BLD = $(OBJDIR)\$(ARCH) $(BLD): $(OBJDIR) -mkdir $(BLD) CP = copy CP_DIR = xcopy /f/r/i/e/d/k !if "$(OS_TYPE)" == "windows95" DEL = deltree /y DEL_TREE = deltree /y !else DEL = del # This is completely braindamaged, but it's the only routine known to be there DEL_TREE = echo y | rmdir /s !endif # The location of the icon file EMACS_ICON_PATH = ..\nt\emacs.ico # Lets us add icons to the GNU Emacs folder ADDPM = ..\nt\$(BLD)\addpm.exe !if "$(ARCH)" == "i386" !if "$(BUILD_TYPE)" == "spd" ARCH_CFLAGS = -nologo -D_X86_=1 -c -Zel -W2 -H63 -Oxsb2 -G5dF -Zi !else ARCH_CFLAGS = -nologo -D_X86_=1 -c -Zel -W2 -H63 -G3d -Zi -Od !endif ARCH_LDFLAGS = -align:0x1000 $(SYS_LDFLAGS) !else !if "$(ARCH)" == "mips" ARCH_CFLAGS = -D_MIPS_=1 -c -W2 -Zi -Od -Gt0 ARCH_LDFLAGS = -align:0x1000 $(SYS_LDFLAGS) !else !if "$(ARCH)" == "alpha" !if "$(BUILD_TYPE)" == "spd" ARCH_CFLAGS = -D_ALPHA_=1 -c -Ze -Zi -W2 -Od -D__stdcall= -D__cdecl= !else ARCH_CFLAGS = -D_ALPHA_=1 -c -Ze -Zi -W2 -O1 -D__stdcall= -D__cdecl= !endif ARCH_LDFLAGS = -align:0x2000 $(SYS_LDFLAGS) !else !if "$(ARCH)" == "ppc" # These flags are a guess...if they don't work, please send me mail. ARCH_CFLAGS = -D_PPC_=1 -c -Ze -Zi -W2 -Od ARCH_LDFLAGS = -align:0x1000 $(SYS_LDFLAGS) !else !ERROR Unknown architecture type "$(ARCH)". !endif !endif !endif !endif