Remove files related to old msvc only windows build.

This commit is contained in:
Jason Rumney 2004-05-03 14:19:40 +00:00
parent 5eb3d2a514
commit 238add5e58
15 changed files with 23 additions and 2611 deletions

View file

@ -1,3 +1,7 @@
2004-05-03 Jason Rumney <jasonr@gnu.org>
* makefile.nt: Remove.
2004-04-23 Juanma Barranquero <lektu@terra.es>
* makefile.w32-in: Add "-*- makefile -*-" mode tag.
@ -1393,7 +1397,7 @@
;; Local Variables:
;; coding: iso-2022-7bit-unix
;; coding: iso-2022-7bit
;; End:
Copyright (C) 1997, 1998, 1999, 2001 Free Software Foundation, Inc.

View file

@ -1,208 +0,0 @@
# Makefile for leim subdirectory in GNU Emacs on the Microsoft W32 API.
# Copyright (C) 1997 Electrotechnical Laboratory, JAPAN.
# Licensed to the Free Software Foundation.
# 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., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
#
# Sets up the system dependent macros.
#
!include ..\nt\makefile.def
srcdir=.
# Where to install LEIM files.
INSTALLDIR=$(INSTALL_DIR)\leim
# On Xenix and the IBM RS6000, double-dot gets screwed up.
dot = .
# Which Emacs to use to convert TIT files to Emacs Lisp files,
# byte-compile Emacs Lisp files, and generate the file leim-list.el.
BUILT_EMACS = $(dot)$(dot)\src\$(BLD)\emacs.exe
buildlisppath=$(MAKEDIR:\=/)/$(dot)$(dot)/lisp
# How to run Emacs.
RUN_EMACS = $(BUILT_EMACS) -batch --no-init-file --no-site-file --multibyte
# Subdirectories to be made if $(srcdir) is different from the current
# directory.
SUBDIRS=quail
# Files generated from TIT dictionaries for Chinese GB character set.
TIT_GB=\
quail/CCDOSPY.elc \
quail/Punct.elc \
quail/QJ.elc \
quail/SW.elc \
quail/TONEPY.elc
# Files generated from TIT dictionaries for Chinese BIG5 character set.
TIT_BIG5=\
quail/4Corner.elc \
quail/ARRAY30.elc \
quail/ECDICT.elc \
quail/ETZY.elc \
quail/Punct-b5.elc \
quail/PY-b5.elc \
quail/QJ-b5.elc \
quail/ZOZY.elc
CHINESE_TIT=$(TIT_GB) $(TIT_BIG5)
NON_TIT_GB=$(srcdir)/quail/py-punct.elc
NON_TIT_BIG5=$(srcdir)/quail/quick-b5.elc
CHINESE_NON_TIT=$(NON_TIT_GB) $(NON_TIT_BIG5)
CHINESE_GB=$(TIT_GB) $(NON_TIT_GB)
CHINESE_BIG5=$(TIT_BIG5) $(NON_TIT_BIG5)
JAPANESE=$(srcdir)/quail/japanese.elc $(srcdir)/ja-dic/ja-dic.elc
KOREAN= $(srcdir)/quail/hangul.elc \
$(srcdir)/quail/hangul3.elc \
$(srcdir)/quail/hanja.elc \
$(srcdir)/quail/hanja3.elc \
$(srcdir)/quail/hanja-jis.elc \
$(srcdir)/quail/symbol-ksc.elc
THAI=$(srcdir)/quail/thai.elc
VIETNAMESE=$(srcdir)/quail/viqr.elc $(srcdir)/quail/vntelex.elc
LAO=$(srcdir)/quail/lao.elc $(srcdir)/quail/lrt.elc
INDIAN=$(srcdir)/quail/indian.elc
TIBETAN=$(srcdir)/quail/tibetan.elc
LATIN= $(srcdir)/quail/latin-pre.elc \
$(srcdir)/quail/latin-post.elc \
$(srcdir)/quail/latin-alt.elc \
$(srcdir)/quail/latin-ltx.elc
SLAVIC= \
$(srcdir)/quail/czech.elc \
$(srcdir)/quail/slovak.elc
GREEK=$(srcdir)/quail/greek.elc
RUSSIAN=$(srcdir)/quail/cyrillic.elc $(srcdir)/quail/cyril-jis.elc
MISC= \
$(srcdir)/quail/ethiopic.elc \
$(srcdir)/quail/ipa.elc \
$(srcdir)/quail/hebrew.elc
MISC_DIC=\
quail/tsang-b5.elc \
quail/quick-b5.elc \
quail/tsang-cns.elc \
quail/quick-cns.elc \
quail/PY.elc \
quail/ZIRANMA.elc \
quail/CTLau.elc \
quail/CTLau-b5.elc
CHINESE=$(CHINESE_GB) $(CHINESE_BIG5)
EASTASIA=$(CHINESE) $(JAPANESE) $(KOREAN)
ASIA=$(EASTASIA) $(THAI) $(VIETNAMESE) $(LAO) $(INDIAN) $(TIBETAN)
EUROPEAN=$(LATIN) $(SLAVIC) $(GREEK) $(RUSSIAN)
WORLD=$(ASIA) $(EUROPEAN) $(MISC)
TIT=$(CHINESE_TIT)
NON_TIT=$(CHINESE_NON_TIT) $(JAPANESE) $(KOREAN) $(EUROPEAN) $(MISC)
all: $(BUILT_EMACS) $(SUBDIRS) $(WORLD) leim-list.el
# To ensure that we can run Emacs. This target is ignored (never
# being hit) if a user changes default value of EMACS.
$(dot)$(dot)/src/emacs:
cd ../src; $(MAKE) $(MFLAGS) emacs
$(SUBDIRS):
mkdir $@
echo stamp>stamp-subdir
# The rules which generate $(TIT) and ${MISC_DIC) files create them all
# in one go. So we need to prevent parallel execution for that target,
# otherwise Emacs complains about files being locked. .NOTPARALLEL is
# for GNU Make, .NO_PARALLEL is for other Make's.
.NOTPARALLEL: $(TIT) $(MISC_DIC)
.NO_PARALLEL: $(TIT) $(MISC_DIC)
# Rule to generate quail/*.el from CXTERM-DIC/*.tit.
$(TIT): $(SUBDIRS)
set EMACSLOADPATH=$(buildlisppath)
$(RUN_EMACS) -l $(buildlisppath)/international/titdic-cnv \
--eval "(batch-titdic-convert t)" -dir quail $(srcdir)/CXTERM-DIC
$(RUN_EMACS) -l $(buildlisppath)/international/quail \
-f batch-byte-compile $(TIT:.elc=.el)
# Rule to generate quail/*.el from CXTERM-DIC/*.tit.
$(MISC_DIC): $(SUBDIRS)
set EMACSLOADPATH=$(buildlisppath)
$(RUN_EMACS) -l $(buildlisppath)/international/titdic-cnv \
-f batch-miscdic-convert -dir quail $(srcdir)/MISC-DIC
$(RUN_EMACS) -l $(buildlisppath)/international/quail \
-f batch-byte-compile $(MISC_DIC:.elc=.el)
.SUFFIXES: .elc .el
.el.elc:
set EMACSLOADPATH=$(buildlisppath)
$(RUN_EMACS) -f batch-byte-compile $<
leim-list.el: $(SUBDIRS) $(WORLD)
set EMACSLOADPATH=$(buildlisppath)
$(RUN_EMACS) -l $(buildlisppath)/international/quail \
--eval "(update-leim-list-file \".\")"
install: all
- mkdir $(INSTALLDIR)
- $(DEL) same-dir.tst
- $(DEL) $(INSTALLDIR)\same-dir.tst
echo SameDirTest > $(INSTALLDIR)\same-dir.tst
if not exist same-dir.tst $(CP) leim-list.el $(INSTALLDIR)
if not exist same-dir.tst $(CP_DIR) quail $(INSTALLDIR)\quail
if not exist same-dir.tst $(CP_DIR) ja-dic $(INSTALLDIR)\ja-dic
- $(DEL) $(INSTALLDIR)\same-dir.tst
TIT_EL=$(TIT:.elc=.el)
MISC_DIC_EL=$(MISC_DIC:.elc=.el)
clean mostlyclean:
for %%f in ($(TIT:/=\)) do $(DEL) %%f
for %%f in ($(TIT_EL:/=\)) do $(DEL) %%f
for %%f in ($(MISC_DIC:/=\)) do $(DEL) %%f
for %%f in ($(MISC_DIC_EL:/=\)) do $(DEL) %%f
$(DEL) leim-list.el
distclean: clean
if exist stamp-subdir $(DELTREE) $(SUBDIRS)
$(DEL) stamp-subdir
maintainer-clean: distclean
for %%f in ($(WORLD:/=\)) do $(DEL) %%f
# arch-tag: cded53b4-4803-496b-8c05-7daff80e5b3b

View file

@ -1,3 +1,7 @@
2004-05-03 Jason Rumney <jasonr@gnu.org>
* makefile.nt: Remove.
2004-04-26 Eli Zaretskii <eliz@gnu.org>
* make-docfile.c (IS_DIRECTORY_SEP): New macro.

View file

@ -1,417 +0,0 @@
# Makefile for GNU Emacs lib-src directory.
# Geoff Voelker (voelker@cs.washington.edu)
# Copyright (C) 1994 Free Software Foundation, Inc.
#
# 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., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
#
#
# Sets up the system dependent macros.
#
!include ..\nt\makefile.def
LOCAL_FLAGS = -DWINDOWSNT -DDOS_NT -DSTDC_HEADERS=1 -DNO_LDAV=1 \
-DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I..\nt\inc -I..\src
LINK_FLAGS = $(ARCH_LDFLAGS) -debug:PARTIAL -machine:$(ARCH) -subsystem:console -entry:mainCRTStartup setargv.obj
ALL = $(BLD)\make-docfile.exe \
$(BLD)\hexl.exe \
$(BLD)\ctags.exe \
$(BLD)\etags.exe \
$(BLD)\ebrowse.exe \
$(BLD)\movemail.exe
# don't know what (if) to do with these yet...
#
# $(BLD)\sorted-doc.exe \
# $(BLD)\env.exe \
# $(BLD)\server.exe \
# $(BLD)\emacstool.exe \
# $(BLD)\leditcfns.exe \
# $(BLD)\emacsclient.exe \
# $(BLD)\cvtmail.exe \
# $(BLD)\digest-doc.exe \
# $(BLD)\test-distrib.exe \
LIBS = $(BASE_LIBS)
$(BLD)\make-docfile.exe: $(BLD)\make-docfile.obj $(BLD)\ntlib.obj
$(LINK) -out:$@ $(LINK_FLAGS) $(BLD)\make-docfile.obj $(BLD)\ntlib.obj $(LIBS)
$(BLD)\hexl.exe: $(BLD)\hexl.obj
$(BLD)\fakemail.exe: $(BLD)\fakemail.obj $(BLD)\ntlib.obj
$(LINK) -out:$@ $(LINK_FLAGS) -debug:full $(BLD)\fakemail.obj $(BLD)\ntlib.obj $(LIBS)
make-docfile: $(BLD) $(BLD)\make-docfile.exe
etags: $(BLD) $(BLD)\etags.exe
ebrowse: $(BLD) $(BLD)\ebrowse.exe
hexl: $(BLD) $(BLD)\hexl.exe
movemail: $(BLD) $(BLD)\movemail.exe
fakemail: $(BLD) $(BLD)\fakemail.exe
GETOPTOBJS = $(BLD)\getopt.obj $(BLD)\getopt1.obj
GETOPTDEPS = $(GETOPTOBJS) getopt.h
MOVEMAILOBJS = $(BLD)\movemail.obj \
$(BLD)\pop.obj \
$(BLD)\ntlib.obj \
$(GETOPTOBJS)
$(BLD)\movemail.exe: $(MOVEMAILOBJS) getopt.h
# put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib
$(LINK) -out:$@ $(LINK_FLAGS) -debug:FULL $(MOVEMAILOBJS) wsock32.lib $(LIBS)
ETAGSOBJ = $(BLD)\etags.obj \
$(BLD)\getopt.obj \
$(BLD)\getopt1.obj \
$(BLD)\ntlib.obj \
$(BLD)\regex.obj
$(BLD)\etags.exe: $(ETAGSOBJ)
$(LINK) -out:$@ $(LINK_FLAGS) $(ETAGSOBJ) $(LIBS)
$(BLD)\regex.obj: ../src/regex.c ../src/regex.h ../src/config.h
$(CC) $(CFLAGS) -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER \
../src/regex.c -Fo$@
ETAGS_CFLAGS = -DETAGS_REGEXPS -DHAVE_GETCWD
$(BLD)\etags.obj: etags.c
$(CC) $(CFLAGS) $(ETAGS_CFLAGS) -Fo$@ etags.c
CTAGSOBJ = $(BLD)\ctags.obj \
$(BLD)\getopt.obj \
$(BLD)\getopt1.obj \
$(BLD)\ntlib.obj \
$(BLD)\regex.obj
$(BLD)\ctags.exe: ctags.c $(CTAGSOBJ)
$(LINK) -out:$@ $(LINK_FLAGS) $(CTAGSOBJ) $(LIBS)
ctags.c: etags.c
- $(DEL) ctags.c
copy etags.c ctags.c
CTAGS_CFLAGS = -DCTAGS $(ETAGS_CFLAGS)
$(BLD)\ctags.obj: ctags.c
$(CC) $(CFLAGS) $(CTAGS_CFLAGS) -Fo$@ ctags.c
EBROWSE_OBJ = $(BLD)\ebrowse.obj \
$(BLD)\getopt.obj \
$(BLD)\getopt1.obj \
$(BLD)\ntlib.obj
$(BLD)\ebrowse.exe: $(EBROWSE_OBJ)
$(LINK) -out:$@ $(LINK_FLAGS) $(EBROWSE_OBJ) $(LIBS)
$(BLD)\ebrowse.obj: ebrowse.c ..\src\config.h
$(CC) $(CFLAGS) -DVERSION=\"$(VERSION)\" -Fo$@ ebrowse.c
#
# don't know what to do with these yet...
#
# $(BLD)\sorted-doc.exe: $(BLD)\sorted-doc.obj
# $(BLD)\yow.exe: $(BLD)\yow.obj
# $(BLD)\emacstool.exe: $(BLD)\emacstool.obj
# $(BLD)\leditcfns.exe: $(BLD)\leditcfns.obj
# $(BLD)\server.exe: $(BLD)\server.obj
# $(BLD)\cvtmail.exe: $(BLD)\cvtmail.obj
# $(BLD)\digest-doc.exe: $(BLD)\digest-doc.obj
# $(BLD)\emacsclient.exe: $(BLD)\emacsclient.obj
# $(BLD)\test-distrib.exe: $(BLD)\test-distrib.obj
#
# From ..\src\makefile.nt.
#
obj = abbrev.c alloc.c alloca.c buffer.c bytecode.c callint.c callproc.c casefiddle.c cm.c cmds.c charset.c coding.c category.c ccl.c data.c dired.c dispnew.c doc.c doprnt.c editfns.c emacs.c eval.c fileio.c filelock.c filemode.c fns.c fontset.c indent.c insdel.c keyboard.c keymap.c lastfile.c lread.c macros.c marker.c minibuf.c xfaces.c print.c process.c regex.c scroll.c search.c syntax.c sysdep.c term.c termcap.c tparam.c undo.c unexw32.c window.c xdisp.c casetab.c floatfns.c frame.c gmalloc.c intervals.c ralloc.c textprop.c vm-limit.c region-cache.c strftime.c w32.c w32console.c w32faces.c w32fns.c w32heap.c w32inevt.c w32proc.c w32reg.c w32menu.c w32select.c w32term.c w32xfns.c
#
# These are the lisp files that are loaded up in loadup.el
#
lispsource = ../lisp/
FACE_SUPPORT = $(lispsource)facemenu.elc
MOUSE_SUPPORT = $(lispsource)select.elc $(lispsource)scroll-bar.elc $(lispsource)mouse.elc
FLOAT_SUPPORT = $(lispsource)float-sup.elc
WINNT_SUPPORT = $(lispsource)ls-lisp.elc $(lispsource)w32-fns.elc $(lispsource)dos-w32.elc
lisp= \
$(lispsource)abbrev.elc \
$(lispsource)buff-menu.elc \
$(lispsource)byte-run.elc \
$(lispsource)cus-start.el \
$(lispsource)custom.elc \
$(lispsource)disp-table.elc \
$(lispsource)faces.elc \
$(lispsource)files.elc \
$(lispsource)textmodes/fill.elc \
$(lispsource)format.elc \
$(FACE_SUPPORT) \
$(MOUSE_SUPPORT) \
$(FLOAT_SUPPORT) \
$(lispsource)frame.elc\
$(X_WINDOWS_SUPPORT) \
$(lispsource)help.elc \
$(lispsource)indent.elc \
$(lispsource)isearch.elc \
$(lispsource)emacs-lisp/lisp-mode.elc \
$(lispsource)emacs-lisp/lisp.elc \
$(lispsource)loadup.el \
$(lispsource)loaddefs.el \
$(lispsource)bindings.el \
$(lispsource)map-ynp.elc \
$(lispsource)menu-bar.elc \
$(lispsource)international/mule.elc \
$(lispsource)international/mule-conf.el \
$(lispsource)international/mule-cmds.elc \
$(lispsource)international/characters.elc \
$(lispsource)international/ccl.elc \
$(lispsource)international/codepage.elc \
$(lispsource)international/utf-8.elc \
$(lispsource)case-table.elc \
$(lispsource)language/chinese.elc \
$(lispsource)language/cyrillic.elc \
$(lispsource)language/devanagari.elc \
$(lispsource)language/english.elc \
$(lispsource)language/ethiopic.elc \
$(lispsource)language/european.elc \
$(lispsource)language/czech.elc \
$(lispsource)language/slovak.elc \
$(lispsource)language/romanian.elc \
$(lispsource)language/greek.elc \
$(lispsource)language/hebrew.elc \
$(lispsource)language/indian.elc \
$(lispsource)language/japanese.elc \
$(lispsource)language/korean.elc \
$(lispsource)language/lao.elc \
$(lispsource)language/thai.elc \
$(lispsource)language/tibetan.elc \
$(lispsource)language/vietnamese.elc \
$(lispsource)language/misc-lang.elc \
$(lispsource)textmodes/page.elc \
$(lispsource)textmodes/paragraphs.elc \
$(lispsource)paths.el \
$(lispsource)register.elc \
$(lispsource)replace.elc \
$(lispsource)simple.elc \
$(lispsource)startup.elc \
$(lispsource)subr.elc \
$(lispsource)term/tty-colors.elc \
$(lispsource)textmodes/text-mode.elc \
$(lispsource)vc-hooks.elc \
$(lispsource)ediff-hook.elc \
$(VMS_SUPPORT) \
$(MSDOS_SUPPORT) \
$(WINNT_SUPPORT) \
$(lispsource)widget.elc \
$(lispsource)window.elc \
$(lispsource)version.el
DOC = DOC
$(DOC): $(BLD)\make-docfile.exe
- $(DEL) $(DOC)
$(BLD)\make-docfile -d ..\src $(obj) > $(DOC)
$(BLD)\make-docfile -d ..\src $(lisp) >> $(DOC)
$(CP) $(DOC) ..\etc\DOC-X
- mkdir ..\src\$(OBJDIR)
- mkdir ..\src\$(OBJDIR)\etc
$(CP) $(DOC) ..\src\$(OBJDIR)\etc\DOC-X
{$(BLD)}.obj{$(BLD)}.exe:
$(LINK) -out:$@ $(LINK_FLAGS) $*.obj $(LIBS)
#
# Build the executables
#
all: $(BLD) $(ALL) $(DOC)
#
# Assuming INSTALL_DIR is defined, build and install emacs in it.
#
INSTALL_FILES = $(ALL)
install: $(INSTALL_FILES)
- mkdir $(INSTALL_DIR)\bin
$(CP) $(BLD)\etags.exe $(INSTALL_DIR)\bin
$(CP) $(BLD)\ctags.exe $(INSTALL_DIR)\bin
$(CP) $(BLD)\hexl.exe $(INSTALL_DIR)\bin
$(CP) $(BLD)\movemail.exe $(INSTALL_DIR)\bin
- mkdir $(INSTALL_DIR)\etc
$(CP) $(DOC) $(INSTALL_DIR)\etc
# Don't install fakemail by default, as it sends mail into a
# blackhole if /bin/mail is not installed.
# $(CP) $(BLD)\fakemail.exe $(INSTALL_DIR)\bin
#
# Maintenance
#
clean:; - $(DEL) *~ *.pdb DOC*
- $(DEL) *.orig *.rej *.crlf ctags.c
- $(DEL_TREE) deleted
- $(DEL_TREE) obj
- $(DEL_TREE) obj-spd
#
# Headers we would preprocess if we could.
#
..\src\config.h: ..\nt\$(CONFIG_H)
$(CP) $** $@
..\src\paths.h: ..\nt\paths.h
$(CP) $** $@
### DEPENDENCIES ###
EMACS_ROOT = ..
SRC = .
$(BLD)\b2m.obj : \
$(SRC)\b2m.c \
$(EMACS_ROOT)\src\s\ms-w32.h \
$(EMACS_ROOT)\src\m\intel386.h \
$(EMACS_ROOT)\lib-src\..\src\config.h
$(BLD)\ctags.obj : \
$(SRC)\ctags.c \
$(EMACS_ROOT)\nt\inc\sys\param.h \
$(EMACS_ROOT)\src\s\ms-w32.h \
$(EMACS_ROOT)\src\m\intel386.h \
$(EMACS_ROOT)\lib-src\..\src\config.h \
$(SRC)\ntlib.h \
$(SRC)\getopt.h
$(BLD)\cvtmail.obj : \
$(SRC)\cvtmail.c
$(BLD)\digest-doc.obj : \
$(SRC)\digest-doc.c
$(BLD)\emacsclient.obj : \
$(SRC)\emacsclient.c \
$(EMACS_ROOT)\src\s\ms-w32.h \
$(EMACS_ROOT)\src\m\intel386.h \
$(EMACS_ROOT)\lib-src\..\src\config.h
$(BLD)\emacstool.obj : \
$(SRC)\emacstool.c \
$(EMACS_ROOT)\nt\inc\sys\file.h
$(BLD)\etags.obj : \
$(SRC)\etags.c \
$(EMACS_ROOT)\nt\inc\sys\param.h \
$(EMACS_ROOT)\src\s\ms-w32.h \
$(EMACS_ROOT)\src\m\intel386.h \
$(EMACS_ROOT)\lib-src\..\src\config.h \
$(SRC)\ntlib.h \
$(SRC)\getopt.h
$(BLD)\fakemail.obj : \
$(SRC)\fakemail.c \
$(SRC)\ntlib.h \
$(EMACS_ROOT)\src\s\ms-w32.h \
$(EMACS_ROOT)\src\m\intel386.h \
$(EMACS_ROOT)\lib-src\..\src\config.h \
$(EMACS_ROOT)\nt\inc\pwd.h
$(BLD)\getdate.obj : \
$(SRC)\getdate.c \
$(EMACS_ROOT)\src\s\ms-w32.h \
$(EMACS_ROOT)\src\m\intel386.h \
$(EMACS_ROOT)\src\config.h \
$(MSTOOLS_SYS)\types.h
$(BLD)\getopt.obj : \
$(SRC)\getopt.c \
$(EMACS_ROOT)\src\s\ms-w32.h \
$(EMACS_ROOT)\src\m\intel386.h \
$(EMACS_ROOT)\src\config.h \
$(SRC)\ntlib.h \
$(SRC)\getopt.h
$(BLD)\getopt1.obj : \
$(SRC)\getopt1.c \
$(EMACS_ROOT)\src\s\ms-w32.h \
$(EMACS_ROOT)\src\m\intel386.h \
$(EMACS_ROOT)\src\config.h \
$(SRC)\getopt.h
$(BLD)\hexl.obj : \
$(SRC)\hexl.c
$(BLD)\leditcfns.obj : \
$(SRC)\leditcfns.c
$(BLD)\make-docfile.obj : \
$(SRC)\make-docfile.c \
$(EMACS_ROOT)\src\config.h
$(BLD)\make-path.obj : \
$(SRC)\make-path.c
$(BLD)\movemail.obj : \
$(SRC)\movemail.c \
$(EMACS_ROOT)\src\s\ms-w32.h \
$(EMACS_ROOT)\src\m\intel386.h \
$(EMACS_ROOT)\lib-src\..\src\config.h \
$(EMACS_ROOT)\nt\inc\sys\file.h \
$(EMACS_ROOT)\lib-src\..\src\syswait.h \
$(EMACS_ROOT)\nt\inc\pwd.h \
$(SRC)\ntlib.h
$(CC) $(CFLAGS) -DUSG -Fo$@ movemail.c
$(BLD)\ntlib.obj : \
$(SRC)\ntlib.c \
$(SRC)\ntlib.h \
$(EMACS_ROOT)\nt\inc\pwd.h
$(BLD)\pop.obj : \
$(SRC)\pop.c \
$(SRC)\pop.h \
$(SRC)\ntlib.h
$(BLD)\profile.obj : \
$(SRC)\profile.c \
$(EMACS_ROOT)\src\s\ms-w32.h \
$(EMACS_ROOT)\src\m\intel386.h \
$(EMACS_ROOT)\lib-src\..\src\config.h \
$(EMACS_ROOT)\lib-src\..\src\systime.h
$(BLD)\qsort.obj : \
$(SRC)\qsort.c
$(BLD)\sorted-doc.obj : \
$(SRC)\sorted-doc.c
$(BLD)\tcp.obj : \
$(SRC)\tcp.c
$(BLD)\test-distrib.obj : \
$(SRC)\test-distrib.c
$(BLD)\timer.obj : \
$(SRC)\timer.c \
$(EMACS_ROOT)\src\s\ms-w32.h \
$(EMACS_ROOT)\src\m\intel386.h \
$(EMACS_ROOT)\lib-src\..\src\config.h
$(BLD)\yow.obj : \
$(SRC)\yow.c \
$(EMACS_ROOT)\lib-src\..\src\paths.h
# arch-tag: 59e1b54b-4cc2-4086-bb0b-ecfad4b683e9

View file

@ -1,3 +1,7 @@
2004-05-03 Jason Rumney <jasonr@gnu.org>
* makefile.nt: Remove.
2004-05-03 Kim F. Storm <storm@cua.dk>
* emulation/cua-base.el (cua--update-indications): Fix last

View file

@ -1,284 +0,0 @@
# Hacked up Nmake makefile for GNU Emacs
# Geoff Voelker (voelker@cs.washington.edu)
# Copyright (c) 1994 Free Software Foundation, Inc.
#
# 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., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
#
!include ..\nt\makefile.def
all:
#lisp=$(MAKEDIR:\=/)
lisp=.
# You can specify a different executable on the make command line,
# e.g. "make EMACS=../src/emacs ...".
EMACS = ..\bin\emacs.exe
# Command line flags for Emacs. This must include --multibyte,
# otherwise some files will not compile.
EMACSOPT = -batch --no-init-file --no-site-file --multibyte
lisptagsfiles1 = $(lisp)/*.el
lisptagsfiles2 = $(lisp)/*/*.el
ETAGS = ..\lib-src\$(BLD)\etags
# Files which should not be compiled.
# - emacs-lisp/cl-specs.el: only contains `def-edebug-spec's so there's
# no point compiling it, although it doesn't hurt.
DONTCOMPILE = \
$(lisp)/cus-load.el \
$(lisp)/cus-start.el \
$(lisp)/emacs-lisp/cl-specs.el \
$(lisp)/eshell/esh-maint.el \
$(lisp)/eshell/esh-groups.el \
$(lisp)/finder-inf.el \
$(lisp)/forms-d2.el \
$(lisp)/forms-pass.el \
$(lisp)/generic-x.el \
$(lisp)/international/latin-1.el \
$(lisp)/international/latin-2.el \
$(lisp)/international/latin-3.el \
$(lisp)/international/latin-4.el \
$(lisp)/international/latin-5.el \
$(lisp)/international/latin-8.el \
$(lisp)/international/latin-9.el \
$(lisp)/international/mule-conf.el \
$(lisp)/loaddefs.el \
$(lisp)/loadup.el \
$(lisp)/mail/blessmail.el \
$(lisp)/patcomp.el \
$(lisp)/paths.el \
$(lisp)/play/bruce.el \
$(lisp)/subdirs.el \
$(lisp)/term/internal.el \
$(lisp)/term/AT386.el \
$(lisp)/term/apollo.el \
$(lisp)/term/bobcat.el \
$(lisp)/term/iris-ansi.el \
$(lisp)/term/keyswap.el \
$(lisp)/term/linux.el \
$(lisp)/term/lk201.el \
$(lisp)/term/news.el \
$(lisp)/term/vt102.el \
$(lisp)/term/vt125.el \
$(lisp)/term/vt200.el \
$(lisp)/term/vt201.el \
$(lisp)/term/vt220.el \
$(lisp)/term/vt240.el \
$(lisp)/term/vt300.el \
$(lisp)/term/vt320.el \
$(lisp)/term/vt400.el \
$(lisp)/term/vt420.el \
$(lisp)/term/wyse50.el \
$(lisp)/term/xterm.el \
$(lisp)/version.el
# Files to compile before others during a bootstrap. This is done
# to speed up the bootstrap process.
COMPILE_FIRST = \
$(lisp)/emacs-lisp/byte-opt.el \
$(lisp)/emacs-lisp/bytecomp.el \
$(lisp)/subr.el
# The actual Emacs command run in the targets below.
emacs = $(EMACS) $(EMACSOPT)
# Common command to find subdirectories
# setwins=subdirs=`find $$wd -type d -print`; \
# for file in $$subdirs; do \
# case $$file in */Old | */RCS | */CVS | */CVS/* | */=* ) ;; \
# *) wins="$$wins $$file" ;; \
# esac; \
# done
# Have to define the list of subdirs manually
WINS=\
calendar \
emacs-lisp \
emulation \
eshell \
gnus \
international \
language \
mail \
mh-e \
net \
play \
progmodes \
term \
textmodes
doit:
cus-load.el:
touch $@
custom-deps: cus-load.el doit
@echo Directories: $(WINS)
$(emacs) -l cus-dep --eval "(setq find-file-hooks nil)" -f custom-make-dependencies $(lisp) $(WINS)
finder-inf.el:
echo (provide 'finder-inf)>> $@
finder-data: finder-inf.el doit
@echo Directories: $(WINS)
$(emacs) -l finder -f finder-compile-keywords-make-dist $(lisp) $(WINS)
loaddefs.el:
echo ;;; loaddefs.el --- automatically extracted autoloads> $@
echo ;;; Code:>> $@
echo >> $@
echo ;;; Local Variables:>> $@
echo ;;; version-control: never>> $@
echo ;;; no-byte-compile: t>> $@
echo ;;; no-update-autoloads: t>> $@
echo ;;; End:>> $@
echo ;;; loaddefs.el ends here>> $@
autoloads: loaddefs.el doit
@echo Directories: $(WINS)
$(emacs) -l autoload --eval "(setq find-file-hooks nil generated-autoload-file \"$(lisp)/loaddefs.el\")" -f batch-update-autoloads $(lisp) $(WINS)
subdirs.el:
$(MAKE) $(MFLAGS) -f makefile.nt update-subdirs
update-subdirs: doit
@set QWINS=
@for %d in ($(WINS)) do if not (%d)==(term) set QWINS=%QWINS% "%d"
echo ;; In load-path, after this directory should come> subdirs.el
echo ;; certain of its subdirectories. Here we specify them.>> subdirs.el
echo (normal-top-level-add-to-load-path '(%QWINS%))>> subdirs.el
updates: update-subdirs autoloads finder-data custom-deps
TAGS: $(lisptagsfiles1) $(lisptagsfiles2)
$(ETAGS) $(lisptagsfiles1) $(lisptagsfiles2)
TAGS-LISP: $(lispsource)$(lisptagsfiles1) $(lispsource)$(lisptagsfiles2)
$(ETAGS) -o TAGS-LISP $(lispsource)$(lisptagsfiles1) $(lispsource)$(lisptagsfiles2)
.SUFFIXES: .elc .el
.el.elc:
-$(emacs) -f batch-byte-compile $<
$(DONTCOMPILE:.el=.elc):
-$(DEL) $@
# Compile all Lisp files, except those from DONTCOMPILE. This
# compiles files unconditionally. All .elc files are made writable
# before compilation in case we checked out read-only (CVS option -r).
# Files MUST be compiled one by one. If we compile several files in a
# row we can't make sure that the compilation environment is clean.
# We also set the load-path of the Emacs used for compilation to the
# current directory and its subdirectories, to make sure require's and
# load's in the files being compiled find the right files.
compile-files: subdirs.el doit
# -for %f in ($(lisp) $(WINS)) do for %g in (%f\*.elc) do @attrib -r %g
for %f in ($(COMPILE_FIRST)) do $(emacs) -f batch-byte-compile %f
for %f in ($(lisp) $(WINS)) do for %g in (%f/*.el) do $(emacs) -f batch-byte-compile %f/%g
# Backup compiled Lisp files in elc.tar.gz. If that file already
# exists, make a backup of it.
backup-compiled-files:
-mv $(lisp)/elc.tar.gz $(lisp)/elc.tar.gz~
-tar czf $(lisp)/elc.tar.gz $(lisp)/*.elc $(lisp)/*/*.elc
# Compile Lisp files, but save old compiled files first.
compile: backup-compiled-files compile-files
# Recompile all Lisp files which are newer than their .elc files.
# Note that this doesn't create .elc files. It only recompiles if an
# .elc is present.
recompile: doit
$(emacs) -f batch-byte-recompile-directory .
# Prepare a bootstrap in the lisp subdirectory. Build loaddefs.el,
# because it's not sure it's up-to-date, and if it's not, that might
# lead to errors during the bootstrap because something fails to
# autoload as expected. Remove compiled Lisp files so that
# bootstrap-emacs will be built from sources only.
bootstrap-clean:
if exist $(EMACS) $(MAKE) $(MFLAGS) -f makefile.nt autoloads
-for %f in ($(lisp) $(WINS)) do for %g in (%f\*.elc) do @$(DEL) %g
# Generate/update files for the bootstrap process.
bootstrap: autoloads compile-files custom-deps
#
# Assuming INSTALL_DIR is defined, copy the elisp files to it
# Windows 95 makes this harder than it should be.
#
install:
- mkdir $(INSTALL_DIR)\lisp
- $(DEL) .\same-dir.tst
- $(DEL) $(INSTALL_DIR)\lisp\same-dir.tst
echo SameDirTest > $(INSTALL_DIR)\lisp\same-dir.tst
!ifdef COPY_LISP_SOURCE
if not exist .\same-dir.tst $(CP_DIR) . $(INSTALL_DIR)\lisp
!else
if not exist .\same-dir.tst $(CP_DIR) *.elc $(INSTALL_DIR)\lisp
if not exist .\same-dir.tst $(CP) cus-load.el $(INSTALL_DIR)\lisp
if not exist .\same-dir.tst $(CP) cus-start.el $(INSTALL_DIR)\lisp
if not exist .\same-dir.tst $(CP) emacs-lisp\cl-specs.el $(INSTALL_DIR)\lisp\emacs-lisp
if not exist .\same-dir.tst $(CP) eshell\esh-maint.el $(INSTALL_DIR)\lisp\eshell
if not exist .\same-dir.tst $(CP) eshell\esh-groups.el $(INSTALL_DIR)\lisp\eshell
if not exist .\same-dir.tst $(CP) finder-inf.el $(INSTALL_DIR)\lisp
if not exist .\same-dir.tst $(CP) forms*.el $(INSTALL_DIR)\lisp
if not exist .\same-dir.tst $(CP) generic-x.el $(INSTALL_DIR)\lisp
if not exist .\same-dir.tst $(CP) patcomp.el $(INSTALL_DIR)\lisp
if not exist .\same-dir.tst $(CP) subdirs.el $(INSTALL_DIR)\lisp
if not exist .\same-dir.tst $(CP) version.el $(INSTALL_DIR)\lisp
if not exist .\same-dir.tst $(CP) mail\blessmail.el $(INSTALL_DIR)\lisp\mail
if not exist .\same-dir.tst $(CP) play\bruce.el $(INSTALL_DIR)\lisp\play
if not exist .\same-dir.tst $(CP) international\latin-*.el $(INSTALL_DIR)\lisp\international
if not exist .\same-dir.tst $(CP) international\mule-conf.el $(INSTALL_DIR)\lisp\international
- $(DEL) $(INSTALL_DIR)\lisp\same-dir.tst
!endif
#
# Maintenance
#
clean:
- $(DEL) *~ term\*~
- $(DEL) *.orig *.rej *.crlf
- $(DEL) emacs-lisp\*.orig emacs-lisp\*.rej emacs-lisp\*.crlf
- $(DEL) emulation\*.orig emulation\*.rej emulation\*.crlf
- $(DEL) gnus\*.orig gnus\*.rej gnus\*.crlf
- $(DEL) international\*.orig international\*.rej international\*.crlf
- $(DEL) language\*.orig language\*.rej language\*.crlf
- $(DEL) mail\*.orig mail\*.rej mail\*.crlf
- $(DEL) play\*.orig play\*.rej play\*.crlf
- $(DEL) progmodes\*.orig progmodes\*.rej progmodes\*.crlf
- $(DEL) term\*.orig term\*.rej term\*.crlf
- $(DEL) textmodes\*.orig textmodes\*.rej textmodes\*.crlf
- $(DEL_TREE) deleted
# arch-tag: 01ddeb44-fb4c-4366-8478-4a6c21a68fb3

View file

@ -1,5 +1,10 @@
2004-05-03 Jason Rumney <jasonr@gnu.org>
* makefile.nt, ebuild.bat, install.bat, fast-install.bat:
* makefile.def: Remove.
* nmake.defs (SYS_LDFLAGS): Add -nologo
* makefile.w32-in (info-gmake, info-nmake): New targets.
(info): Use them.

View file

@ -1,7 +0,0 @@
@echo off
if (%1) == () nmake -f makefile.nt all
if not (%1) == () nmake -f makefile.nt %1 %2 %3 %4 %5 %6 %7 %8 %9
goto skipArchTag
arch-tag: f01be12a-fd17-448d-8275-c7f527c50a1f
:skipArchTag

View file

@ -1,5 +0,0 @@
nmake -f makefile.nt fast_install
goto skipArchTag
arch-tag: 13c64379-e658-452f-92d3-90d0f230ca70
:skipArchTag

View file

@ -1,12 +0,0 @@
@echo off
if (%1) == (speed) set BUILD_TYPE=spd
if (%1) == (speed) shift
if not (%1) == () set INSTALL_DIR=%1
if not (%1) == () shift
nmake -f makefile.nt install %1 %2 %3 %4 %5 %6 %7 %8 %9
set INSTALL_DIR=
set BUILD_TYPE=
goto skipArchTag
arch-tag: 1db5223b-8fc9-4bdb-8ad1-9e3962bf034a
:skipArchTag

View file

@ -1,231 +0,0 @@
# -*- Makefile -*- definition file for building GNU Emacs on Windows NT
# Copyright (c) 1994-2001 Free Software Foundation, Inc.
#
# 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
#
#
# Allow detection of builds with MSVC 5 or later
#
_NMAKE_VER_5=162
_NMAKE_VER_4=0
!IFNDEF _NMAKE_VER
_NMAKE_VER=$(_NMAKE_VER_4)
!ENDIF
# 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 = -nologo
!else
SYS_LDFLAGS = -nologo -release -incremental:no -version:3.10
!endif
# Tag the executables to run out of the swapfile when execute off CD or network shares
SYS_LDFLAGS = $(SYS_LDFLAGS) -swaprun:cd -swaprun:net
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
# NT better way of killing a deltree
DEL_TREE = rd /s/q
!endif
# 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 -G6dF -Zi -Zp8
!else
ARCH_CFLAGS = -nologo -D_X86_=1 -c -Zel -W2 -H63 -Od -G3d -Zi -Zp8
!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
#
# If the compiler supports compiling multiple .c files to .o files at
# one time, use this feature.
#
!IF ("$(_NMAKE_VER)" == "$(_NMAKE_VER_4)")
.c{$(BLD)}.obj:
$(CC) $(CFLAGS) -Fo$(BLD)\ $<
!ELSE
.c{$(BLD)}.obj::
$(CC) $(CFLAGS) -Fo$(BLD)\ $<
!ENDIF
# arch-tag: a8aa26d5-5f28-4263-b42a-6f91acb7d824

View file

@ -1,213 +0,0 @@
# Top level -*- makefile -*- for building GNU Emacs on Windows NT
# Copyright (c) 1993-2000 Free Software Foundation, Inc.
#
# 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., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
#
# Geoff Voelker (voelker@cs.washington.edu) 11-20-93
# 9-6-94
!include makefile.def
ALL = addpm ddeclient runemacs cmdproxy addsection preprep
!if $(MSVCNT11)
TRES = $(BLD)\emacs.res
!else
TRES = $(BLD)\emacs.rbj
!endif
addpm: $(BLD) $(BLD)\addpm.exe
$(BLD)\addpm.obj: addpm.c
$(BLD)\addpm.exe: $(BLD)\addpm.obj
$(LINK) -out:$@ -subsystem:console -entry:mainCRTStartup \
$(SYS_LDFLAGS) $** $(BASE_LIBS) $(ADVAPI32) user32.lib
ddeclient: $(BLD) $(BLD)\ddeclient.exe
$(BLD)\ddeclient.obj: ddeclient.c
$(BLD)\ddeclient.exe: $(BLD)\ddeclient.obj
$(LINK) -out:$@ -subsystem:console -entry:mainCRTStartup \
$(SYS_LDFLAGS) $** $(BASE_LIBS) $(ADVAPI32) user32.lib
cmdproxy: $(BLD) $(BLD)\cmdproxy.exe
$(BLD)\cmdproxy.obj: cmdproxy.c
$(BLD)\cmdproxy.exe: $(BLD)\cmdproxy.obj
$(LINK) -out:$@ -subsystem:console -entry:mainCRTStartup \
$(SYS_LDFLAGS) $** $(BASE_LIBS) user32.lib
addsection: $(BLD) $(BLD)\addsection.exe
$(BLD)\addsection.obj: addsection.c
$(BLD)\addsection.exe: $(BLD)\addsection.obj
$(LINK) -debug:full -out:$@ -subsystem:console -entry:mainCRTStartup \
$(SYS_LDFLAGS) $** $(BASE_LIBS) user32.lib
preprep: $(BLD) $(BLD)\preprep.exe
$(BLD)\preprep.obj: preprep.c
$(BLD)\preprep.exe: $(BLD)\preprep.obj
$(LINK) -debug:full -out:$@ -subsystem:console -entry:mainCRTStartup \
$(SYS_LDFLAGS) $** $(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) -Fo$(BLD)\emacs.res $**
!if !$(MSVCNT11)
$(CVTRES) -r -$(ARCH) -o $@ $(BLD)\emacs.res
!endif
runemacs: $(BLD) $(BLD)\runemacs.exe
$(BLD)\runemacs.obj: runemacs.c
$(BLD)\runemacs.exe: $(BLD)\runemacs.obj $(TRES)
$(LINK) -out:$@ -subsystem:windows -entry:WinMainCRTStartup \
$(SYS_LDFLAGS) $** $(BASE_LIBS) $(ADVAPI32) user32.lib
# Since Windows 95 does not support multiple commands on one command line
# (e.g., in for loops), we cannot use for loops any more.
# SUBDIRS = lib-src src lisp
#
# Build emacs
#
BUILD_CMD = $(MAKE) $(MFLAGS) -f makefile.nt all
all: $(BLD) $(ALL)
cd ..\lib-src
$(BUILD_CMD)
cd ..\src
$(BUILD_CMD)
cd ..\lisp
$(BUILD_CMD)
cd ..\leim
if exist makefile.nt $(BUILD_CMD)
cd ..\nt
BOOTSTRAP_CMD = $(MAKE) $(MFLAGS) -f makefile.nt bootstrap
bootstrap: $(BLD) $(ALL)
cd ..\src
$(BOOTSTRAP_CMD)
$(BOOTCLEAN_CMD)
cd ..\lisp
$(BOOTSTRAP_CMD)
cd ..\nt
BOOTCLEAN_CMD = $(MAKE) $(MFLAGS) -f makefile.nt bootstrap-clean
bootstrap-clean:
cd ..\src
$(BOOTCLEAN_CMD)
cd ..\lisp
$(BOOTCLEAN_CMD)
$(INSTALL_DIR):
- mkdir $(INSTALL_DIR)
$(INSTALL_DIR)\bin:
- mkdir $(INSTALL_DIR)\bin
#
# Build and install emacs in INSTALL_DIR
#
INSTALL_CMD = $(MAKE) -f makefile.nt install
install: all $(INSTALL_DIR)
cd ..\lib-src
$(INSTALL_CMD)
cd ..\src
$(INSTALL_CMD)
cd ..\lisp
$(INSTALL_CMD)
cd ..\leim
if exist makefile.nt $(INSTALL_CMD)
cd ..\nt
- $(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
- $(CP) ..\lib-src\fns-*.el $(INSTALL_DIR)\bin
- $(ADDPM) $(INSTALL_DIR)
- $(DEL) ..\same-dir.tst
- $(DEL) $(INSTALL_DIR)\same-dir.tst
- mkdir $(INSTALL_DIR)\etc\icons
- $(CP_DIR) icons $(INSTALL_DIR)\etc\icons
echo SameDirTest > $(INSTALL_DIR)\same-dir.tst
if not exist ..\same-dir.tst $(MAKE) -f makefile.nt real_install
- $(DEL) ..\same-dir.tst
- $(DEL) $(INSTALL_DIR)\same-dir.tst
#
# This installs executables from ..\bin into the installation directory
# without building anything.
#
fast_install:
- mkdir $(INSTALL_DIR)\data
$(CP) ..\lib-src\DOC $(INSTALL_DIR)\etc
- mkdir $(INSTALL_DIR)\bin
- $(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
- $(CP) ..\lib-src\fns-*.el $(INSTALL_DIR)\bin
- $(DEL) ..\same-dir.tst
- $(DEL) $(INSTALL_DIR)\same-dir.tst
echo SameDirTest > $(INSTALL_DIR)\same-dir.tst
if not exist ..\same-dir.tst $(CP) ..\bin\emacs.exe $(INSTALL_DIR)\bin
if not exist ..\same-dir.tst $(CP) ..\bin\etags.exe $(INSTALL_DIR)\bin
if not exist ..\same-dir.tst $(CP) ..\bin\ctags.exe $(INSTALL_DIR)\bin
if not exist ..\same-dir.tst $(MAKE) -f makefile.nt real_install
- $(DEL) ..\same-dir.tst
- $(DEL) $(INSTALL_DIR)\same-dir.tst
real_install:
- $(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
- $(CP_DIR) icons $(INSTALL_DIR)\etc\icons
if not exist ..\same-dir.tst $(CP_DIR) ..\etc $(INSTALL_DIR)\etc
if not exist ..\same-dir.tst $(CP_DIR) ..\info $(INSTALL_DIR)\info
- $(DEL) ..\same-dir.tst
- $(DEL) $(INSTALL_DIR)\same-dir.tst
#
# Maintenance
#
CLEAN_CMD = $(MAKE) -f makefile.nt clean
clean:
- $(DEL) *~ *.pdb
- $(DEL) *.orig
- $(DEL) *.rej
- $(DEL) *.crlf
- $(DEL_TREE) deleted
- $(DEL_TREE) obj
- $(DEL_TREE) obj-spd
- $(DEL) ..\etc\DOC ..\etc\DOC-X
cd ..\lib-src
$(CLEAN_CMD)
cd ..\src
$(CLEAN_CMD)
cd ..\lisp
$(CLEAN_CMD)
cd ..\leim
if exist makefile.nt $(CLEAN_CMD)
cd ..\nt
realclean: clean
- $(DEL_TREE) ..\bin
# arch-tag: b01debf7-6859-439e-b08e-f041aa03c32f

View file

@ -134,7 +134,7 @@ CFLAGS = -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 $(ARCH_CFLAGS)
-D_CRTAPI1=_cdecl $(DEBUG_CFLAGS) $(USER_CFLAGS) $(LOCAL_FLAGS)
EMACS_EXTRA_C_FLAGS =
SYS_LDFLAGS = -release -incremental:no -version:3.10 -swaprun:cd -swaprun:net setargv.obj
SYS_LDFLAGS = -nologo -release -incremental:no -version:3.10 -swaprun:cd -swaprun:net setargv.obj
# see comments in allocate_heap in w32heap.c before changing any of the
# -stack, -heap, or -base settings.

View file

@ -1,3 +1,7 @@
2004-05-03 Jason Rumney <jasonr@gnu.org>
* makefile.nt: Remove.
2004-05-02 Eli Zaretskii <eliz@gnu.org>
* syntax.h (SET_RAW_SYNTAX_ENTRY, SYNTAX_ENTRY_INT): Avoid

File diff suppressed because it is too large Load diff