Changeset 4187
- Timestamp:
- 01/21/07 21:32:03 (2 years ago)
- Files:
-
- trunk/leim/ChangeLog.Meadow (modified) (1 diff)
- trunk/leim/makefile.mw32-in (modified) (4 diffs)
- trunk/lib-src (modified) (1 prop)
- trunk/lib-src/ChangeLog.Meadow (modified) (1 diff)
- trunk/lib-src/makefile.mw32-in (modified) (11 diffs)
- trunk/lisp/ChangeLog.Meadow (modified) (1 diff)
- trunk/lisp/makefile.mw32-in (modified) (15 diffs)
- trunk/nt (modified) (1 prop)
- trunk/nt/ChangeLog.Meadow (modified) (1 diff)
- trunk/nt/gmake.mw32.defs (modified) (2 diffs)
- trunk/nt/makefile.mw32-in (modified) (13 diffs)
- trunk/nt/nmake.mw32.defs (modified) (2 diffs)
- trunk/src (modified) (1 prop)
- trunk/src/ChangeLog.Meadow (modified) (1 diff)
- trunk/src/makefile.mw32-in (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/leim/ChangeLog.Meadow
r4184 r4187 1 2007-01-21 Masayuki FUJII <boochang@m4.kcn.ne.jp> 2 3 * makefile.mw32-in: Sync up with makefile.w32-in. 4 1 5 2007-01-08 MIYOSHI Masanori <miyoshi@meadowy.org> 2 6 trunk/leim/makefile.mw32-in
r4125 r4187 1 1 # -*- Makefile -*- for leim subdirectory in GNU Emacs on the Microsoft W32 API. 2 # Copyright (C) 1997, 2004 Electrotechnical Laboratory, JAPAN. 3 # Licensed to the Free Software Foundation. 4 # Copyright (C) 2005, Free Software Foundation, Inc. 2 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 3 # Free Software Foundation, Inc. 4 # Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 5 # National Institute of Advanced Industrial Science and Technology (AIST) 6 # Registration Number H14PRO021 5 7 6 8 # This file is part of GNU Emacs. … … 118 120 $(srcdir)/quail/ipa.elc \ 119 121 $(srcdir)/quail/hebrew.elc \ 120 $(srcdir)/quail/georgian.elc 122 $(srcdir)/quail/georgian.elc \ 123 $(srcdir)/quail/sisheng.elc 121 124 122 125 MISC_DIC=\ … … 164 167 165 168 # Rule to generate quail/*.el from CXTERM-DIC/*.tit. 169 # 170 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as 171 # this can break with GNU Make 3.81 and later if sh.exe is used. 166 172 $(TIT): 167 173 $(RUN_EMACS) -l $(buildlisppath)/international/titdic-cnv \ … … 178 184 -f batch-byte-compile $(MISC_DIC:.elc=.el) 179 185 180 leim-list.el: $(SUBDIRS) $(WORLD) 186 # 187 # WARNING: Do NOT split the parts inside $(ARGQUOTE)s into multiple lines as 188 # this can break with GNU Make 3.81 and later if sh.exe is used. 189 leim-list.el: $(SUBDIRS) $(WORLD) $(srcdir)/leim-ext.el 181 190 $(RUN_EMACS) -l $(buildlisppath)/international/quail \ 182 191 --eval $(ARGQUOTE)(update-leim-list-file $(DQUOTE).$(DQUOTE))$(ARGQUOTE) 192 $(RUN_EMACS) --eval $(ARGQUOTE)(w32-append-code-lines $(DQUOTE)$@$(DQUOTE) $(DQUOTE)$(srcdir)/leim-ext.el$(DQUOTE))$(ARGQUOTE) 183 193 184 194 install: all trunk/lib-src
- Property svn:ignore changed from
DOC
ctags.c
getopt.h
makefile
obj
obj-spd
oo-spd
oo
to
DOC
ctags.c
getopt.h
makefile
obj
obj-spd
oo-spd
oo
stamp_BLD
- Property svn:ignore changed from
trunk/lib-src/ChangeLog.Meadow
r4181 r4187 1 2007-01-21 Masayuki FUJII <boochang@m4.kcn.ne.jp> 2 3 * makefile.mw32-in: Sync up with makefile.w32-in. 4 1 5 2006-11-19 Masayuki FUJII <boochang@m4.kcn.ne.jp> 2 6 trunk/lib-src/makefile.mw32-in
r4181 r4187 21 21 # 22 22 23 ALL = make-docfile hexl ctags etags movemail ebrowseemacsclient23 ALL = make-docfile hexl ctags etags movemail ebrowse sorted-doc digest-doc emacsclient 24 24 25 25 .PHONY: $(ALL) 26 27 VERSION = 22.0.92 26 28 27 29 LOCAL_FLAGS = -DWINDOWSNT -DDOS_NT -DSTDC_HEADERS=1 -DNO_LDAV=1 \ … … 41 43 # $(BLD)/test-distrib.exe \ 42 44 43 LIBS = $(BASE_LIBS) $(ADVAPI32)45 LIBS = $(BASE_LIBS) $(ADVAPI32) 44 46 45 47 $(BLD)/make-docfile.exe: $(BLD)/make-docfile.$(O) $(BLD)/ntlib.$(O) … … 49 51 $(BLD)/fakemail.exe: $(BLD)/fakemail.$(O) $(BLD)/ntlib.$(O) 50 52 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/fakemail.$(O) $(BLD)/ntlib.$(O) $(LIBS) 51 52 make-docfile: $(BLD) $(BLD)/make-docfile.exe 53 ctags: $(BLD) $(BLD)/ctags.exe 54 etags: $(BLD) $(BLD)/etags.exe 55 ebrowse: $(BLD) $(BLD)/ebrowse.exe 56 hexl: $(BLD) $(BLD)/hexl.exe 57 movemail: $(BLD) $(BLD)/movemail.exe 58 fakemail: $(BLD) $(BLD)/fakemail.exe 59 emacsclient: $(BLD) $(BLD)/emacsclient.exe $(BLD)/emacsclientw.exe 53 $(BLD)/sorted-doc.exe: $(BLD)/sorted-doc.$(O) 54 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/sorted-doc.$(O) $(LIBS) 55 $(BLD)/digest-doc.exe: $(BLD)/digest-doc.$(O) 56 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/digest-doc.$(O) $(LIBS) 57 $(BLD)/test-distrib.exe: $(BLD)/test-distrib.$(O) 58 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/test-distrib.$(O) $(LIBS) 59 60 make-docfile: stamp_BLD $(BLD)/make-docfile.exe 61 ctags: stamp_BLD $(BLD)/ctags.exe 62 etags: stamp_BLD $(BLD)/etags.exe 63 ebrowse: stamp_BLD $(BLD)/ebrowse.exe 64 hexl: stamp_BLD $(BLD)/hexl.exe 65 movemail: stamp_BLD $(BLD)/movemail.exe 66 fakemail: stamp_BLD $(BLD)/fakemail.exe 67 sorted-doc: stamp_BLD $(BLD)/sorted-doc.exe 68 digest-doc: stamp_BLD $(BLD)/digest-doc.exe 69 emacsclient: stamp_BLD $(BLD)/emacsclient.exe $(BLD)/emacsclientw.exe 70 71 test-distrib: stamp_BLD $(BLD)/test-distrib.exe 72 "$(BLD)/test-distrib.exe" "$(SRC)/testfile" 60 73 61 74 GETOPTOBJS = $(BLD)/getopt.$(O) $(BLD)/getopt1.$(O) … … 75 88 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(MOVEMAILOBJS) $(MOVEMAIL_PROGDLG) $(WSOCK32) $(LIBS) $(MOVEMAIL_PROGDLG_LIB) 76 89 77 ECLIENT_CFLAGS = -DHAVE_GETCWD -DHAVE_STRERROR 90 ECLIENT_CFLAGS = -DHAVE_GETCWD -DHAVE_STRERROR -DVERSION="\"$(VERSION)\"" 78 91 ECLIENTOBJS = $(BLD)/emacsclient.$(O) \ 79 92 $(BLD)/getopt.$(O) \ 80 93 $(BLD)/getopt1.$(O) \ 81 94 $(BLD)/ntlib.$(O) 95 TRES = ../nt/$(BLD)/meadow.res 96 97 $(TRES): ../nt/meadow.rc 98 $(RC) $(RC_OUT)../nt/$(BLD)/meadow.res $(ALL_DEPS) 82 99 83 100 $(BLD)/emacsclient.exe: $(ECLIENTOBJS) 84 101 # put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib 85 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(ECLIENTOBJS) $(WSOCK32) $( LIBS)86 87 $(BLD)/emacsclientw.exe: $(ECLIENTOBJS) 102 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(ECLIENTOBJS) $(WSOCK32) $(USER32) $(LIBS) 103 104 $(BLD)/emacsclientw.exe: $(ECLIENTOBJS) $(TRES) 88 105 # put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib 89 $(LINK) $(LINK_OUT)$@ -mwindows $(LINK_FLAGS) $(ECLIENTOBJS) $(WSOCK32) $(LIBS) 90 91 $(BLD)/emacsclient.$(O): emacsclient.c 106 $(LINK) $(LINK_OUT)$@ $(TRES) -mwindows $(LINK_FLAGS) $(ECLIENTOBJS) $(WSOCK32) $(USER32) $(LIBS) 107 108 # emacsclient.$(O) depends on makefile.mw32-in because makefile.mw32-in 109 # can be edited to define VERSION string, which is part of ECLIENT_CFLAGS. 110 $(BLD)/emacsclient.$(O): emacsclient.c makefile.mw32-in 92 111 $(CC) $(CFLAGS) $(ECLIENT_CFLAGS) $(CC_OUT)$@ emacsclient.c 93 112 … … 292 311 $(lispsource)version.el 293 312 313 # This is needed the first time we build the tree, since temacs.exe 314 # does not exist yet, and the DOC rule needs it to rebuild DOC whenever 315 # Emacs is rebuilt. 316 ../src/$(BLD)/temacs.exe: 317 - mkdir "../src/$(OBJDIR)" 318 - mkdir "../src/$(BLD)" 319 @echo temacs > temacs.exe 320 $(CP) temacs.exe ../src/$(BLD) 321 - $(DEL) temacs.exe 294 322 295 323 DOC = DOC 296 $(DOC): $(BLD) $(BLD)/make-docfile.exe $(lisp1) $(lisp2)324 $(DOC): stamp_BLD $(BLD)/make-docfile.exe ../src/$(BLD)/temacs.exe $(lisp1) $(lisp2) 297 325 - $(DEL) $(DOC) 298 326 "$(THISDIR)/$(BLD)/make-docfile" -o $(DOC) -d ../src $(obj) … … 310 338 # Build the executables 311 339 # 312 all: $(BLD)$(ALL) $(DOC)340 all: stamp_BLD $(ALL) $(DOC) 313 341 314 342 # … … 323 351 $(CP) $(BLD)/hexl.exe $(INSTALL_DIR)/bin 324 352 $(CP) $(BLD)/movemail.exe $(INSTALL_DIR)/bin 353 $(CP) $(BLD)/sorted-doc.exe $(INSTALL_DIR)/bin 354 $(CP) $(BLD)/digest-doc.exe $(INSTALL_DIR)/bin 325 355 $(CP) $(BLD)/emacsclient.exe $(INSTALL_DIR)/bin 326 356 $(CP) $(BLD)/emacsclientw.exe $(INSTALL_DIR)/bin … … 336 366 - $(DEL) getopt.h 337 367 - $(DEL_TREE) $(OBJDIR) 368 - $(DEL) stamp_BLD 338 369 339 370 cleanall: clean … … 347 378 # 348 379 ../src/config.h: ../nt/$(CONFIG_H) 349 echo config.h has changed.Re-run configure.bat.380 echo $(CONFIG_H) has changed. Re-run configure.bat. 350 381 exit -1 351 382 … … 492 523 493 524 $(BLD)/sorted-doc.$(O) : \ 494 $(SRC)/sorted-doc.c 525 $(SRC)/sorted-doc.c \ 526 $(EMACS_ROOT)/src/s/ms-w32.h \ 527 $(EMACS_ROOT)/src/m/intel386.h \ 528 $(EMACS_ROOT)/src/config.h \ 495 529 496 530 $(BLD)/tcp.$(O) : \ … … 506 540 $(EMACS_ROOT)/lib-src/../src/config.h 507 541 508 $(BLD)/yow.$(O) : \ 509 $(SRC)/yow.c \ 510 $(EMACS_ROOT)/lib-src/../src/paths.h 542 # The following dependencies are for supporting parallel builds, where 543 # we must make sure $(BLD) exists before any compilation starts. 544 # 545 $(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O): stamp_BLD 546 547 $(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O): stamp_BLD 548 549 $(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS): stamp_BLD 550 551 $(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O): stamp_BLD 552 553 $(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O): stamp_BLD trunk/lisp/ChangeLog.Meadow
r4184 r4187 1 2007-01-21 Masayuki FUJII <boochang@m4.kcn.ne.jp> 2 3 * makefile.mw32-in: Sync up with makefile.w32-in. 4 1 5 2007-01-08 MIYOSHI Masanori <miyoshi@meadowy.org> 2 6 trunk/lisp/makefile.mw32-in
r4125 r4187 1 1 # -*- Makefile -*- for GNU Emacs on the Microsoft W32 API. 2 2 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 3 # 2005 Free Software Foundation, Inc.3 # 2005, 2006 Free Software Foundation, Inc. 4 4 # 5 5 # This file is part of GNU Emacs. … … 34 34 # e.g. "make EMACS=../src/emacs ...". 35 35 36 EMACS = "$(THISDIR)/../src/$(BLD)/Meadow.exe"36 EMACS = $(THISDIR)/../src/$(BLD)/Meadow.exe 37 37 38 38 # Command line flags for Emacs. This must include --multibyte, … … 62 62 63 63 # The actual Emacs command run in the targets below. 64 65 emacs = $(EMACS) $(EMACSOPT) 66 67 # Common command to find subdirectories 68 69 setwins=subdirs=`find $$wd -type d -print`; \ 70 for file in $$subdirs; do \ 71 case $$file in */Old | */RCS | */CVS | */CVS/* | */=* ) ;; \ 72 *) wins="$$wins $$file" ;; \ 73 esac; \ 74 done 64 # The quotes around $(EMACS) are here because the user could type 65 # it with forward slashes and without quotes, which will fail if 66 # the shell is cmd.exe. 67 68 emacs = "$(EMACS)" $(EMACSOPT) 75 69 76 70 # Have to define the list of subdirs manually when not using sh. 77 WINS =\71 WINS_ALMOST=\ 78 72 calc \ 79 73 calendar \ … … 88 82 mh-e \ 89 83 net \ 90 obsolete \91 84 play \ 92 85 progmodes \ … … 96 89 url 97 90 91 WINS= $(WINS_ALMOST) \ 92 obsolete 93 98 94 doit: 99 95 100 cus-load.el:96 $(lisp)/cus-load.el: 101 97 touch $@ 102 custom-deps: cus-load.el doit 98 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as 99 # this can break with GNU Make 3.81 and later if sh.exe is used. 100 custom-deps: $(lisp)/cus-load.el doit 103 101 @echo Directories: $(WINS) 104 102 -$(emacs) -l cus-dep --eval $(ARGQUOTE)(setq find-file-hook nil)$(ARGQUOTE) -f custom-make-dependencies $(lisp) $(WINS) … … 108 106 $(emacs) -l finder -f finder-compile-keywords-make-dist $(lisp) $(WINS) 109 107 110 loaddefs.el:108 $(lisp)/loaddefs.el: 111 109 $(MAKE) $(MFLAGS) loaddefs.el-$(SHELLTYPE) 112 110 cp loaddefs.el-$(SHELLTYPE) $@ … … 149 147 echo ;;; loaddefs.el ends here>> $@ 150 148 151 autoloads: loaddefs.el doit 152 @echo Directories: $(WINS) 149 # Use . instead of $(lisp) because $(lisp) is an absolute file name, 150 # including a drive letter and any leading directories, so the generated 151 # loaddefs.el will mention file names that on other machine reference 152 # possibly non-existent directories. 153 # 154 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as 155 # this can break with GNU Make 3.81 and later if sh.exe is used. 156 autoloads: $(lisp)/loaddefs.el doit 157 @echo Directories: . $(WINS_ALMOST) 153 158 $(emacs) -l autoload \ 154 --eval $(ARGQUOTE)(setq find-file-hook nil \ 155 find-file-suppress-same-file-warnings t \ 156 generated-autoload-file \ 157 $(DQUOTE)$(lisp)/loaddefs.el$(DQUOTE))$(ARGQUOTE) \ 158 -f batch-update-autoloads $(lisp) $(WINS) 159 160 subdirs.el: 159 --eval $(ARGQUOTE)(setq find-file-hook nil find-file-suppress-same-file-warnings t)$(ARGQUOTE) \ 160 -f w32-batch-update-autoloads "$(lisp)/loaddefs.el" . $(WINS_ALMOST) 161 162 $(lisp)/subdirs.el: 161 163 $(MAKE) $(MFLAGS) update-subdirs 162 164 … … 165 167 166 168 update-subdirs-CMD: doit 167 echo ;; -*- no-byte-compile: t -*-> subdirs.el168 echo ;; In load-path, after this directory should come>> subdirs.el169 echo ;; certain of its subdirectories. Here we specify them.>> subdirs.el170 echo (normal-top-level-add-to-load-path $(SQUOTE)(>> subdirs.el171 @for %%d in ($(WINS)) do if not (%%d)==(term) echo "%%d">> subdirs.el172 echo ))>> subdirs.el169 echo ;; -*- no-byte-compile: t -*-> $(lisp)/subdirs.el 170 echo ;; In load-path, after this directory should come>> $(lisp)/subdirs.el 171 echo ;; certain of its subdirectories. Here we specify them.>> $(lisp)/subdirs.el 172 echo (normal-top-level-add-to-load-path $(SQUOTE)(>> $(lisp)/subdirs.el 173 @for %%d in ($(WINS)) do if not (%%d)==(term) echo "%%d">> $(lisp)/subdirs.el 174 echo ))>> $(lisp)/subdirs.el 173 175 174 176 update-subdirs-SH: doit … … 178 180 done; 179 181 180 updates: update-subdirs autoloads finder-data custom-deps 182 updates: update-subdirs autoloads mh-autoloads finder-data custom-deps 183 184 # This is useful after "cvs up". 185 cvs-update: recompile autoloads finder-data custom-deps 181 186 182 187 # Update the AUTHORS file. … … 209 214 210 215 # Need separate version for sh and native cmd.exe 211 compile: subdirs.elcompile-$(SHELLTYPE) doit216 compile: $(lisp)/subdirs.el mh-autoloads compile-$(SHELLTYPE) doit 212 217 213 218 compile-CMD: … … 238 243 # set the local variable no-byte-compile. 239 244 240 compile-always: subdirs.el compile-always-$(SHELLTYPE) doit245 compile-always: $(lisp)/subdirs.el compile-always-$(SHELLTYPE) doit 241 246 242 247 compile-always-CMD: … … 283 288 # Note that this doesn't create .elc files. It only recompiles if an 284 289 # .elc is present. 285 286 recompile: doit 287 $(emacs) -f batch-byte-recompile-directory $(lisp) 290 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as 291 # this can break with GNU Make 3.81 and later if sh.exe is used. 292 recompile: mh-autoloads doit $(lisp)/progmodes/cc-mode.elc 293 $(emacs) --eval $(ARGQUOTE)(batch-byte-recompile-directory 0)$(ARGQUOTE) $(lisp) 288 294 289 295 # Update MH-E internal autoloads. These are not to be confused with … … 309 315 cp pre-mh-loaddefs.el-$(SHELLTYPE) $@ 310 316 rm pre-mh-loaddefs.el-$(SHELLTYPE) 311 $(EMACS)$(EMACSOPT) \317 "$(EMACS)" $(EMACSOPT) \ 312 318 -l autoload \ 313 319 --eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \ … … 367 373 368 374 # Need separate version for sh and native cmd.exe 369 bootstrap-clean: bootstrap-clean-$(SHELLTYPE) loaddefs.el 375 # Note that bootstrap-clean-$(SHELLTYPE) copies ldefs-boot.el to loaddefs.el, 376 # and thus the almost-empty loaddefs.el crafted by the $(lisp)/loaddefs.el 377 # target can NOT be built _after_ bootstrap-clean-$(SHELLTYPE) does its 378 # thing, or else an empty loaddefs.el will overwrite the full one. 379 bootstrap-clean: $(lisp)/loaddefs.el 380 $(MAKE) $(MFLAGS) bootstrap-clean-$(SHELLTYPE) 370 381 371 382 bootstrap-clean-CMD: 372 # if exist $(EMACS)$(MAKE) $(MFLAGS) autoloads383 # if exist "$(EMACS)" $(MAKE) $(MFLAGS) autoloads 373 384 cp $(lisp)/ldefs-boot.el $(lisp)/loaddefs.el 374 385 -for %%f in (. $(WINS)) do for %%g in (%%f\*.elc) do @$(DEL) %%g 375 386 376 387 bootstrap-clean-SH: 377 # if test -f $(EMACS); then $(MAKE) $(MFLAGS) autoloads; fi388 # if test -f "$(EMACS)"; then $(MAKE) $(MFLAGS) autoloads; fi 378 389 # -rm -f $(lisp)/*.elc $(lisp)/*/*.elc 379 390 cp $(lisp)/ldefs-boot.el $(lisp)/loaddefs.el … … 385 396 386 397 bootstrap: update-subdirs autoloads mh-autoloads compile finder-data custom-deps 387 # - $(DEL) $(EMACS) 398 - $(DEL) "$(EMACS)" 388 399 389 400 # trunk/nt
- Property svn:ignore changed from
Meadow.bat
emacs.bat
makefile
obj-spd
oo-spd
obj
oo
to
Meadow.bat
emacs.bat
makefile
obj-spd
oo-spd
obj
oo
stamp_BLD
- Property svn:ignore changed from
trunk/nt/ChangeLog.Meadow
r4180 r4187 1 2007-01-21 Masayuki FUJII <boochang@m4.kcn.ne.jp> 2 3 * makefile.mw32-in: Sync up with makefile.w32-in. 4 5 * gmake.mw32.defs: Ditto. 6 7 * nmake.mw32.defs: Ditto. 8 1 9 2006-11-18 MIYOSHI Masanori <miyoshi@meadowy.org> 2 10 trunk/nt/gmake.mw32.defs
r4125 r4187 210 210 $(OBJDIR):; -mkdir "$(OBJDIR)" 211 211 BLD = $(OBJDIR)/$(ARCH) 212 $(BLD):$(OBJDIR)212 stamp_BLD: $(OBJDIR) 213 213 -mkdir "$(BLD)" 214 echo $(BLD) > $@ 214 215 215 216 COMPILER_TEMP_FILES = … … 281 282 LINK_FLAGS = $(ARCH_LDFLAGS) $(DEBUG_LINK) $(NOCYGWIN) $(USER_LDFLAGS) 282 283 284 export XMFLAGS 285 283 286 .DEFAULT: 284 287 trunk/nt/makefile.mw32-in
r4124 r4187 1 1 # -*- Makefile -*- for GNU Emacs on the Microsoft W32 API. 2 2 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 3 # 2005 Free Software Foundation, Inc.3 # 2005, 2006 Free Software Foundation, Inc. 4 4 # 5 5 # Top level makefile for building GNU Emacs on Windows NT … … 22 22 # Boston, MA 02110-1301, USA. 23 23 24 ALL = RunMW32 install_exe cmdproxy fiber addsection 24 ALL = RunMW32 install_exe cmdproxy fiber addsection preprep 25 25 26 26 .PHONY: $(ALL) … … 28 28 TRES = $(BLD)/meadow.res 29 29 30 install_exe: $(BLD) $(BLD)/install.exe 30 XMFLAGS = 31 32 install_exe: stamp_BLD $(BLD)/install.exe 31 33 $(BLD)/install.exe: $(BLD)/install.$(O) 32 34 $(LINK) $(LINK_OUT)$@ \ 33 35 $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(ADVAPI32) $(USER32) $(OLE32) $(SHELL32) $(UUID) 34 36 35 fiber: $(BLD)$(BLD)/fiber.exe37 fiber: stamp_BLD $(BLD)/fiber.exe 36 38 $(BLD)/fiber.exe: $(BLD)/fiber.$(O) 37 39 $(LINK) $(LINK_OUT)$@ \ 38 40 $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(ADVAPI32) $(SHELL32) $(USER32) 39 41 40 RunMW32: $(BLD)$(BLD)/RunMW32.exe42 RunMW32: stamp_BLD $(BLD)/RunMW32.exe 41 43 $(BLD)/RunMW32.exe: $(BLD)/RunMW32.$(O) $(TRES) 42 44 $(LINK) -mwindows $(LINK_OUT)$@ \ 43 45 $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(USER32) 44 46 45 cmdproxy: $(BLD)$(BLD)/cmdproxy.exe47 cmdproxy: stamp_BLD $(BLD)/cmdproxy.exe 46 48 $(BLD)/cmdproxy.exe: $(BLD)/cmdproxy.$(O) 47 49 $(LINK) $(LINK_OUT)$@ \ 48 50 $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(USER32) 49 51 50 addsection: $(BLD)$(BLD)/addsection.exe52 addsection: stamp_BLD $(BLD)/addsection.exe 51 53 $(BLD)/addsection.exe: $(BLD)/addsection.$(O) 52 54 $(LINK) $(LINK_OUT)$@ \ 53 55 $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(USER32) 54 56 57 preprep: stamp_BLD $(BLD)/preprep.exe 58 $(BLD)/preprep.exe: $(BLD)/preprep.$(O) 59 $(LINK) $(LINK_OUT)$@ \ 60 $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) 61 55 62 # 56 63 # The resource file. NT 3.10 requires the use of cvtres; even though 57 64 # it is not necessary on later versions, it is still ok to use it. 58 65 # 59 $(TRES): meadow.rc 60 $(RC) $(RC_OUT)$(BLD)/meadow.res $(ALL_DEPS)66 $(TRES): meadow.rc stamp_BLD 67 $(RC) $(RC_OUT)$(BLD)/meadow.res meadow.rc 61 68 62 69 which-sh: 63 70 @echo Using $(THE_SHELL) as shell. 64 71 72 # These depend on stamp_BLD to make sure the $(BLD) directory is created 73 # before the compilation begins, even if Make runs several commands 74 # in parallel under "make -j". 75 # 76 $(BLD)/addpm.$(O) $(BLD)/ddeclient.$(O) $(BLD)/runemacs.$(O) $(BLD)/cmdproxy.$(O) $(BLD)/addsection.$(O) $(BLD)/preprep.$(O): stamp_BLD 77 65 78 # 66 79 # Build emacs 67 80 # 68 all: which-sh $(BLD)$(ALL) maybe-bootstrap all-other-dirs-$(MAKETYPE)69 70 all-other-dirs-nmake: 81 all: which-sh stamp_BLD $(ALL) maybe-bootstrap all-other-dirs-$(MAKETYPE) 82 83 all-other-dirs-nmake: addsection 71 84 cd ..\lib-src 72 85 $(MAKE) $(MFLAGS) all … … 79 92 cd ..\nt 80 93 81 all-other-dirs-gmake: 82 $(MAKE) $(MFLAGS) -C ../lib-src all83 $(MAKE) $(MFLAGS) -C ../src all84 $(MAKE) $(MFLAGS) -C ../lisp all85 $(MAKE) $(MFLAGS) -C ../leim all94 all-other-dirs-gmake: addsection 95 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src all 96 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src all 97 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp all 98 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../leim all 86 99 87 100 recompile: recompile-$(MAKETYPE) … … 93 106 94 107 recompile-gmake: 95 $(MAKE) $(MFLAGS) -C ../lisp recompile108 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp recompile 96 109 97 110 #### Bootstrapping. … … 123 136 fi 124 137 125 bootstrap: addsection bootstrap-$(MAKETYPE) all 126 127 bootstrap-nmake: 138 bootstrap: addsection bootstrap-$(MAKETYPE) 139 $(MAKE) $(MFLAGS) $(XMFLAGS) all 140 141 bootstrap-nmake: addsection 128 142 cd ..\lisp 129 143 $(MAKE) $(MFLAGS) bootstrap-clean … … 143 157 cd ..\nt 144 158 145 bootstrap-gmake: 146 $(MAKE) $(MFLAGS) -C ../lisp bootstrap-clean147 $(MAKE) $(MFLAGS) info148 $(MAKE) $(MFLAGS) -C ../src clean149 $(MAKE) $(MFLAGS) -C ../lib-src clean150 $(MAKE) $(MFLAGS) -C ../src bootstrap151 $(MAKE) $(MFLAGS) -C ../src bootstrap-clean152 $(MAKE) $(MFLAGS) -C ../lisp bootstrap153 $(MAKE) $(MFLAGS) -C ../lib-src DOC159 bootstrap-gmake: addsection 160 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp bootstrap-clean 161 $(MAKE) $(MFLAGS) $(XMFLAGS) info 162 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src clean 163 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src clean 164 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src bootstrap 165 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src bootstrap-clean 166 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp bootstrap 167 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src DOC 154 168 155 169 bootstrap-clean: bootstrap-clean-$(MAKETYPE) … … 162 176 163 177 bootstrap-clean-gmake: 164 $(MAKE) $(MFLAGS) -C ../src bootstrap-clean165 $(MAKE) $(MFLAGS) -C ../lisp bootstrap-clean178 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src bootstrap-clean 179 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp bootstrap-clean 166 180 167 181 $(INSTALL_DIR): … … 218 232 219 233 install-other-dirs-gmake: 220 $(MAKE) $(MFLAGS) -C ../lib-src install221 $(MAKE) $(MFLAGS) -C ../src install222 $(MAKE) $(MFLAGS) -C ../lisp install223 $(MAKE) $(MFLAGS) -C ../leim install234 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src install 235 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src install 236 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp install 237 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../leim install 224 238 225 239 force-info: … … 231 245 info-nmake: 232 246 cd ..\man 233 -$(MAKE) $(MFLAGS) info247 $(MAKE) $(MFLAGS) info 234 248 cd ..\lispref 235 -$(MAKE) $(MFLAGS) info249 $(MAKE) $(MFLAGS) info 236 250 cd ..\lispintro 237 -$(MAKE) $(MFLAGS) info251 $(MAKE) $(MFLAGS) info 238 252 239 253 info-gmake: 240 - $(MAKE) $(MFLAGS) -C ../man info241 - $(MAKE) $(MFLAGS) -C ../lispref info242 - $(MAKE) $(MFLAGS) -C ../lispintro info254 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../man info 255 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lispref info 256 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lispintro info 243 257 # 244 258 # Maintenance … … 247 261 - $(DEL) *~ $(COMPILER_TEMP_FILES) 248 262 - $(DEL_TREE) $(OBJDIR) 263 - $(DEL) stamp_BLD 249 264 - $(DEL) ../etc/DOC ../etc/DOC-X 250 265 … … 267 282 268 283 clean-other-dirs-gmake: 269 $(MAKE) $(MFLAGS) -C ../lib-src clean270 $(MAKE) $(MFLAGS) -C ../src clean271 $(MAKE) $(MFLAGS) -C ../lisp clean272 $(MAKE) $(MFLAGS) -C ../lispintro clean273 $(MAKE) $(MFLAGS) -C ../lispref clean274 $(MAKE) $(MFLAGS) -C ../leim clean275 $(MAKE) $(MFLAGS) -C ../man clean284 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src clean 285 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src clean 286 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp clean 287 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lispintro clean 288 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lispref clean 289 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../leim clean 290 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../man clean 276 291 277 292 cleanall-other-dirs-nmake: … … 283 298 284 299 cleanall-other-dirs-gmake: 285 $(MAKE) $(MFLAGS) -C ../lib-src cleanall286 $(MAKE) $(MFLAGS) -C ../src cleanall300 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src cleanall 301 $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src cleanall 287 302 288 303 cleanall: clean cleanall-other-dirs-$(MAKETYPE) trunk/nt/nmake.mw32.defs
r4126 r4187 1 1 # -*- Makefile -*- definition file for building GNU Emacs on Windows NT. 2 2 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 3 # 2005 Free Software Foundation, Inc.3 # 2005, 2006 Free Software Foundation, Inc. 4 4 # 5 5 # GNU Emacs is free software; you can redistribute it and/or modify … … 162 162 $(OBJDIR):; -mkdir $(OBJDIR) 163 163 BLD = $(OBJDIR)/$(ARCH) 164 $(BLD):$(OBJDIR)164 stamp_BLD: $(OBJDIR) 165 165 -mkdir "$(BLD)" 166 echo $(BLD) > $@ 166 167 167 168 COMPILER_TEMP_FILES = *.pdb trunk/src
- Property svn:ignore changed from
*.idb
config.h
epaths.h
makefile
obj-spd
oo-spd
obj
oo
TAGS
to
*.idb
config.h
epaths.h
makefile
obj-spd
oo-spd
obj
oo
stamp_BLD
TAGS
- Property svn:ignore changed from
trunk/src/ChangeLog.Meadow
r4186 r4187 1 2007-01-21 Masayuki FUJII <boochang@m4.kcn.ne.jp> 2 3 * makefile.mw32-in: Sync up with makefile.w32-in. 4 1 5 2007-01-08 MIYOSHI Masanori <miyoshi@meadowy.org> 2 6 trunk/src/makefile.mw32-in
r4125 r4187 1 1 # -*- Makefile -*- for GNU Emacs on the Microsoft W32 API. 2 2 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 3 # 2005 Free Software Foundation, Inc.3 # 2005, 2006 Free Software Foundation, Inc. 4 4 # 5 5 # This file is part of GNU Emacs. … … 34 34 LOCAL_FLAGS = -Demacs=1 -DWINDOWSNT -DDOS_NT -DHAVE_CONFIG_H -I../nt/inc -D_UCHAR_T -DHAVE_NTGUI=1 $(EMACS_EXTRA_C_FLAGS) 35 35 36 EMACS = $(BLD)/Meadow.exe 36 37 TEMACS = $(BLD)/temacs.exe 37 TEMACS_TMP = $(BLD)/temacs.bin 38 EMACS = $(BLD)/Meadow.exe 38 TEMACS_TMP = $(BLD)/temacs.bin 39 39 TLIB0 = $(BLD)/temacs0.$(A) 40 40 TLIB1 = $(BLD)/temacs1.$(A) … … 192 192 # The dumped executable 193 193 # 194 emacs: $(BLD)$(EMACS)194 emacs: stamp_BLD $(EMACS) 195 195 $(EMACS): $(DOC) $(TEMACS) 196 196 "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup dump … … 205 205 # (it is the preload heap size in MB). 206 206 # 207 temacs: $(BLD)$(TEMACS)207 temacs: stamp_BLD $(TEMACS) 208 208 $(TEMACS): $(TLIB0) $(TLIB1) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES) \ 209 209 ../nt/$(BLD)/addsection.exe … … 220 220 # Lisp files from loadup.el in source form. 221 221 # 222 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as 223 # this can break with GNU Make 3.81 and later if sh.exe is used. 222 224 bootstrap-temacs: 223 $(MAKE) $(MFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE) 225 $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE) 226 224 227 # 225 228 # Dump an Emacs executable named bootstrap-emacs containing the … … 287 290 - $(DEL) $(COMPILER_TEMP_FILES) 288 291 - $(DEL_TREE) $(OBJDIR) 292 - $(DEL) stamp_BLD 289 293 290 294 distclean: clean … … 300 304 EMACS_ROOT = .. 301 305 SRC = . 306 307 # Each object file depends on stamp_BLD, because in parallel builds we must 308 # make sure $(BLD) exists before starting compilations. 309 # 310 $(OBJ0) $(OBJ1) $(WIN32OBJ) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD 302 311 303 312 ### DEPENDENCIES ###
