aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Nicolaescu2010-10-12 07:37:33 -0700
committerDan Nicolaescu2010-10-12 07:37:33 -0700
commitaba1381b226ba72adbb775a5415f31719b13b664 (patch)
treee87193794afc0cf196d731f2e536e57136b75009 /src
parent6ffab59298c30ce03d1f0858091b52c0a4aeda0e (diff)
downloademacs-aba1381b226ba72adbb775a5415f31719b13b664.tar.gz
emacs-aba1381b226ba72adbb775a5415f31719b13b664.zip
Avoid using trailing / in directory variables.
* src/Makefile.in (lispsource, libsrc, etc, oldxmenudir, lwlibdir) (lispdir): Remove trailing /, update all uses.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/Makefile.in226
2 files changed, 118 insertions, 113 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index da1ce968b62..c44cd507693 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12010-10-12 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * Makefile.in (lispsource, libsrc, etc, oldxmenudir, lwlibdir)
4 (lispdir): Remove trailing /, update all uses.
5
12010-10-12 Jan Djärv <jan.h.d@swipnet.se> 62010-10-12 Jan Djärv <jan.h.d@swipnet.se>
2 7
3 * nsterm.m (Qleft): Declare. 8 * nsterm.m (Qleft): Declare.
diff --git a/src/Makefile.in b/src/Makefile.in
index 76fc1e74f38..871806e8222 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -46,12 +46,12 @@ version = @version@
46# LIBS = @LIBS@ 46# LIBS = @LIBS@
47LIBOBJS = @LIBOBJS@ 47LIBOBJS = @LIBOBJS@
48 48
49lispsource = $(srcdir)/../lisp/ 49lispsource = $(srcdir)/../lisp
50libsrc = ../lib-src/ 50libsrc = ../lib-src
51etc = ../etc/ 51etc = ../etc
52oldXMenudir = ../oldXMenu/ 52oldXMenudir = ../oldXMenu
53lwlibdir = ../lwlib/ 53lwlibdir = ../lwlib
54lispdir = ../lisp/ 54lispdir = ../lisp
55 55
56# Configuration files for .o files to depend on. 56# Configuration files for .o files to depend on.
57M_FILE = $(srcdir)/@machfile@ 57M_FILE = $(srcdir)/@machfile@
@@ -176,8 +176,8 @@ LIBXT_OTHER=@LIBXT_OTHER@
176OLDXMENU_TARGET=@OLDXMENU_TARGET@ 176OLDXMENU_TARGET=@OLDXMENU_TARGET@
177 177
178## If !HAVE_X11 || USE_GTK, empty. 178## If !HAVE_X11 || USE_GTK, empty.
179## Else if USE_X_TOOLKIT, $(lwlibdir)liblw.a. 179## Else if USE_X_TOOLKIT, $(lwlibdir)/liblw.a.
180## Else $(oldxmenudir)libXMenu11.a. 180## Else $(oldxmenudir)/libXMenu11.a.
181## (Actually, rather than being empty, it is set to "nothing". 181## (Actually, rather than being empty, it is set to "nothing".
182## It is never actually used for anything in this case. 182## It is never actually used for anything in this case.
183## This is done because there is a rule with target $(OLDXMENU) below, 183## This is done because there is a rule with target $(OLDXMENU) below,
@@ -237,9 +237,9 @@ CYGWIN_OBJ=@CYGWIN_OBJ@
237MSDOS_OBJ = 237MSDOS_OBJ =
238## w16select.o termcap.o if MSDOS && HAVE_X_WINDOWS. 238## w16select.o termcap.o if MSDOS && HAVE_X_WINDOWS.
239MSDOS_X_OBJ = 239MSDOS_X_OBJ =
240MSDOS_SUPPORT_REAL = $(lispsource)ls-lisp.elc $(lispsource)disp-table.elc \ 240MSDOS_SUPPORT_REAL = $(lispsource)/ls-lisp.elc $(lispsource)/disp-table.elc \
241 $(lispsource)dos-fns.elc $(lispsource)dos-w32.elc $(lispsource)dos-vars.elc \ 241 $(lispsource)/dos-fns.elc $(lispsource)/dos-w32.elc $(lispsource)/dos-vars.elc \
242 $(lispsource)term/internal.elc $(lispsource)term/pc-win.elc 242 $(lispsource)/term/internal.elc $(lispsource)/term/pc-win.elc
243## $MSDOS_SUPPORT_REAL if MSDOS. 243## $MSDOS_SUPPORT_REAL if MSDOS.
244MSDOS_SUPPORT = 244MSDOS_SUPPORT =
245 245
@@ -258,23 +258,23 @@ GNU_OBJC_CFLAGS=@GNU_OBJC_CFLAGS@
258FONT_OBJ=@FONT_OBJ@ 258FONT_OBJ=@FONT_OBJ@
259 259
260## Used if HAVE_MOUSE. 260## Used if HAVE_MOUSE.
261REAL_MOUSE_SUPPORT=$(lispsource)mouse.elc $(lispsource)select.elc \ 261REAL_MOUSE_SUPPORT=$(lispsource)/mouse.elc $(lispsource)/select.elc \
262 $(lispsource)scroll-bar.elc 262 $(lispsource)/scroll-bar.elc
263## Used if HAVE_GPM && !HAVE_MOUSE 263## Used if HAVE_GPM && !HAVE_MOUSE
264GPM_MOUSE_SUPPORT=$(lispsource)mouse.elc 264GPM_MOUSE_SUPPORT=$(lispsource)/mouse.elc
265LIBGPM = @LIBGPM@ 265LIBGPM = @LIBGPM@
266## Either of the two preceding options, or empty. 266## Either of the two preceding options, or empty.
267MOUSE_SUPPORT=@MOUSE_SUPPORT@ 267MOUSE_SUPPORT=@MOUSE_SUPPORT@
268 268
269## $(lispsource)tooltip.elc if HAVE_WINDOW_SYSTEM, else empty. 269## $(lispsource)/tooltip.elc if HAVE_WINDOW_SYSTEM, else empty.
270TOOLTIP_SUPPORT=@TOOLTIP_SUPPORT@ 270TOOLTIP_SUPPORT=@TOOLTIP_SUPPORT@
271 271
272BASE_WINDOW_SUPPORT=$(lispsource)fringe.elc $(lispsource)image.elc \ 272BASE_WINDOW_SUPPORT=$(lispsource)/fringe.elc $(lispsource)/image.elc \
273 $(lispsource)international/fontset.elc $(lispsource)dnd.elc \ 273 $(lispsource)/international/fontset.elc $(lispsource)/dnd.elc \
274 $(lispsource)tool-bar.elc $(lispsource)mwheel.elc 274 $(lispsource)/tool-bar.elc $(lispsource)/mwheel.elc
275 275
276X_WINDOW_SUPPORT=$(lispsource)x-dnd.elc $(lispsource)term/common-win.elc \ 276X_WINDOW_SUPPORT=$(lispsource)/x-dnd.elc $(lispsource)/term/common-win.elc \
277 $(lispsource)term/x-win.elc $(lispsource)dynamic-setting.elc 277 $(lispsource)/term/x-win.elc $(lispsource)/dynamic-setting.elc
278 278
279## If HAVE_X_WINDOWS, both the above 279## If HAVE_X_WINDOWS, both the above
280## else if HAVE_WINDOW_SYSTEM (ie, HAVE_NS) just the former; else empty. 280## else if HAVE_WINDOW_SYSTEM (ie, HAVE_NS) just the former; else empty.
@@ -397,93 +397,93 @@ otherobj= $(TERMCAP_OBJ) $(PRE_ALLOC_OBJ) $(GMALLOC_OBJ) $(RALLOC_OBJ) \
397## Place loaddefs.el first, so it gets generated first, since it is on 397## Place loaddefs.el first, so it gets generated first, since it is on
398## the critical path (relevant in parallel compilations). 398## the critical path (relevant in parallel compilations).
399lisp= \ 399lisp= \
400 $(lispsource)loaddefs.el \ 400 $(lispsource)/loaddefs.el \
401 $(lispsource)abbrev.elc \ 401 $(lispsource)/abbrev.elc \
402 $(lispsource)buff-menu.elc \ 402 $(lispsource)/buff-menu.elc \
403 $(lispsource)button.elc \ 403 $(lispsource)/button.elc \
404 $(lispsource)emacs-lisp/byte-run.elc \ 404 $(lispsource)/emacs-lisp/byte-run.elc \
405 $(lispsource)composite.elc \ 405 $(lispsource)/composite.elc \
406 $(lispsource)cus-face.elc \ 406 $(lispsource)/cus-face.elc \
407 $(lispsource)cus-start.elc \ 407 $(lispsource)/cus-start.elc \
408 $(lispsource)custom.elc \ 408 $(lispsource)/custom.elc \
409 $(lispsource)emacs-lisp/backquote.elc \ 409 $(lispsource)/emacs-lisp/backquote.elc \
410 $(lispsource)emacs-lisp/lisp-mode.elc \ 410 $(lispsource)/emacs-lisp/lisp-mode.elc \
411 $(lispsource)emacs-lisp/lisp.elc \ 411 $(lispsource)/emacs-lisp/lisp.elc \
412 $(lispsource)env.elc \ 412 $(lispsource)/env.elc \
413 $(lispsource)faces.elc \ 413 $(lispsource)/faces.elc \
414 $(lispsource)files.elc \ 414 $(lispsource)/files.elc \
415 $(lispsource)format.elc \ 415 $(lispsource)/format.elc \
416 $(lispsource)facemenu.elc \ 416 $(lispsource)/facemenu.elc \
417 $(MOUSE_SUPPORT) \ 417 $(MOUSE_SUPPORT) \
418 $(lispsource)emacs-lisp/float-sup.elc \ 418 $(lispsource)/emacs-lisp/float-sup.elc \
419 $(lispsource)frame.elc \ 419 $(lispsource)/frame.elc \
420 $(lispsource)help.elc \ 420 $(lispsource)/help.elc \
421 $(lispsource)indent.elc \ 421 $(lispsource)/indent.elc \
422 $(lispsource)isearch.elc \ 422 $(lispsource)/isearch.elc \
423 $(lispsource)rfn-eshadow.elc \ 423 $(lispsource)/rfn-eshadow.elc \
424 $(lispsource)loadup.el \ 424 $(lispsource)/loadup.el \
425 $(lispsource)bindings.elc \ 425 $(lispsource)/bindings.elc \
426 $(lispsource)emacs-lisp/map-ynp.elc \ 426 $(lispsource)/emacs-lisp/map-ynp.elc \
427 $(lispsource)menu-bar.elc \ 427 $(lispsource)/menu-bar.elc \
428 $(lispsource)international/mule.elc \ 428 $(lispsource)/international/mule.elc \
429 $(lispsource)international/mule-conf.elc \ 429 $(lispsource)/international/mule-conf.elc \
430 $(lispsource)international/mule-cmds.elc \ 430 $(lispsource)/international/mule-cmds.elc \
431 $(lispsource)international/characters.elc \ 431 $(lispsource)/international/characters.elc \
432 $(lispsource)international/charprop.el \ 432 $(lispsource)/international/charprop.el \
433 $(lispsource)case-table.elc \ 433 $(lispsource)/case-table.elc \
434 $(lispsource)language/chinese.elc \ 434 $(lispsource)/language/chinese.elc \
435 $(lispsource)language/cyrillic.elc \ 435 $(lispsource)/language/cyrillic.elc \
436 $(lispsource)language/indian.elc \ 436 $(lispsource)/language/indian.elc \
437 $(lispsource)language/sinhala.el \ 437 $(lispsource)/language/sinhala.el \
438 $(lispsource)language/english.el \ 438 $(lispsource)/language/english.el \
439 $(lispsource)language/ethiopic.elc \ 439 $(lispsource)/language/ethiopic.elc \
440 $(lispsource)language/european.elc \ 440 $(lispsource)/language/european.elc \
441 $(lispsource)language/czech.el \ 441 $(lispsource)/language/czech.el \
442 $(lispsource)language/slovak.el \ 442 $(lispsource)/language/slovak.el \
443 $(lispsource)language/romanian.el \ 443 $(lispsource)/language/romanian.el \
444 $(lispsource)language/greek.el \ 444 $(lispsource)/language/greek.el \
445 $(lispsource)language/hebrew.elc \ 445 $(lispsource)/language/hebrew.elc \
446 $(lispsource)language/japanese.el \ 446 $(lispsource)/language/japanese.el \
447 $(lispsource)language/korean.el \ 447 $(lispsource)/language/korean.el \
448 $(lispsource)language/lao.el \ 448 $(lispsource)/language/lao.el \
449 $(lispsource)language/cham.el \ 449 $(lispsource)/language/cham.el \
450 $(lispsource)language/tai-viet.el \ 450 $(lispsource)/language/tai-viet.el \
451 $(lispsource)language/thai.el \ 451 $(lispsource)/language/thai.el \
452 $(lispsource)language/tibetan.elc \ 452 $(lispsource)/language/tibetan.elc \
453 $(lispsource)language/vietnamese.elc \ 453 $(lispsource)/language/vietnamese.elc \
454 $(lispsource)language/misc-lang.el \ 454 $(lispsource)/language/misc-lang.el \
455 $(lispsource)language/utf-8-lang.el \ 455 $(lispsource)/language/utf-8-lang.el \
456 $(lispsource)language/georgian.el \ 456 $(lispsource)/language/georgian.el \
457 $(lispsource)language/khmer.el \ 457 $(lispsource)/language/khmer.el \
458 $(lispsource)language/burmese.el \ 458 $(lispsource)/language/burmese.el \
459 $(lispsource)paths.el \ 459 $(lispsource)/paths.el \
460 $(lispsource)register.elc \ 460 $(lispsource)/register.elc \
461 $(lispsource)replace.elc \ 461 $(lispsource)/replace.elc \
462 $(lispsource)simple.elc \ 462 $(lispsource)/simple.elc \
463 $(lispsource)minibuffer.elc \ 463 $(lispsource)/minibuffer.elc \
464 $(lispsource)startup.elc \ 464 $(lispsource)/startup.elc \
465 $(lispsource)subr.elc \ 465 $(lispsource)/subr.elc \
466 $(lispsource)term/tty-colors.elc \ 466 $(lispsource)/term/tty-colors.elc \
467 $(lispsource)font-core.elc \ 467 $(lispsource)/font-core.elc \
468 $(lispsource)emacs-lisp/syntax.elc \ 468 $(lispsource)/emacs-lisp/syntax.elc \
469 $(lispsource)font-lock.elc \ 469 $(lispsource)/font-lock.elc \
470 $(lispsource)jit-lock.elc \ 470 $(lispsource)/jit-lock.elc \
471 $(lispsource)textmodes/fill.elc \ 471 $(lispsource)/textmodes/fill.elc \
472 $(lispsource)textmodes/page.elc \ 472 $(lispsource)/textmodes/page.elc \
473 $(lispsource)textmodes/paragraphs.elc \ 473 $(lispsource)/textmodes/paragraphs.elc \
474 $(lispsource)textmodes/text-mode.elc \ 474 $(lispsource)/textmodes/text-mode.elc \
475 $(lispsource)emacs-lisp/timer.elc \ 475 $(lispsource)/emacs-lisp/timer.elc \
476 $(lispsource)jka-cmpr-hook.elc \ 476 $(lispsource)/jka-cmpr-hook.elc \
477 $(lispsource)vc/vc-hooks.elc \ 477 $(lispsource)/vc/vc-hooks.elc \
478 $(lispsource)vc/ediff-hook.elc \ 478 $(lispsource)/vc/ediff-hook.elc \
479 $(lispsource)epa-hook.elc \ 479 $(lispsource)/epa-hook.elc \
480 $(TOOLTIP_SUPPORT) \ 480 $(TOOLTIP_SUPPORT) \
481 $(MSDOS_SUPPORT) \ 481 $(MSDOS_SUPPORT) \
482 $(WINDOW_SUPPORT) \ 482 $(WINDOW_SUPPORT) \
483 $(NS_SUPPORT) \ 483 $(NS_SUPPORT) \
484 $(lispsource)widget.elc \ 484 $(lispsource)/widget.elc \
485 $(lispsource)window.elc \ 485 $(lispsource)/window.elc \
486 $(lispsource)version.el 486 $(lispsource)/version.el
487 487
488## List of relative names for those files from $lisp that are loaded 488## List of relative names for those files from $lisp that are loaded
489## unconditionally (i.e. on all platforms). Files from $lisp that 489## unconditionally (i.e. on all platforms). Files from $lisp that
@@ -610,7 +610,7 @@ all: emacs$(EXEEXT) $(OTHER_FILES)
610## Does anyone ever pay attention to the load-path-shadows output here? 610## Does anyone ever pay attention to the load-path-shadows output here?
611## The dumped Emacs is as functional and more efficient than 611## The dumped Emacs is as functional and more efficient than
612## bootstrap-emacs, so we replace the latter with the former. 612## bootstrap-emacs, so we replace the latter with the former.
613emacs$(EXEEXT): temacs$(EXEEXT) $(etc)DOC $(lisp) 613emacs$(EXEEXT): temacs$(EXEEXT) $(etc)/DOC $(lisp)
614 if test "$(CANNOT_DUMP)" = "yes"; then \ 614 if test "$(CANNOT_DUMP)" = "yes"; then \
615 ln -f temacs$(EXEEXT) emacs$(EXEEXT); \ 615 ln -f temacs$(EXEEXT) emacs$(EXEEXT); \
616 EMACSLOADPATH=$(lispsource) ./emacs -q -batch \ 616 EMACSLOADPATH=$(lispsource) ./emacs -q -batch \
@@ -634,12 +634,12 @@ emacs$(EXEEXT): temacs$(EXEEXT) $(etc)DOC $(lisp)
634## the Makefile uses string equality to decide when we talk about identical 634## the Makefile uses string equality to decide when we talk about identical
635## files. Apparently we pass $(shortlisp) rather than $(lisp) to make-docfile 635## files. Apparently we pass $(shortlisp) rather than $(lisp) to make-docfile
636## only in order to reduce the command line length. --Stef 636## only in order to reduce the command line length. --Stef
637$(etc)DOC: $(libsrc)make-docfile$(EXEEXT) $(obj) $(lisp) $(SOME_MACHINE_LISP) 637$(etc)/DOC: $(libsrc)/make-docfile$(EXEEXT) $(obj) $(lisp) $(SOME_MACHINE_LISP)
638 -rm -f $(etc)DOC 638 -rm -f $(etc)/DOC
639 $(libsrc)make-docfile -d $(srcdir) $(SOME_MACHINE_OBJECTS) $(obj) > $(etc)DOC 639 $(libsrc)/make-docfile -d $(srcdir) $(SOME_MACHINE_OBJECTS) $(obj) > $(etc)/DOC
640 $(libsrc)make-docfile -a $(etc)DOC -d $(srcdir) $(SOME_MACHINE_LISP) $(shortlisp) 640 $(libsrc)/make-docfile -a $(etc)/DOC -d $(srcdir) $(SOME_MACHINE_LISP) $(shortlisp)
641 641
642$(libsrc)make-docfile$(EXEEXT): 642$(libsrc)/make-docfile$(EXEEXT):
643 cd $(libsrc); $(MAKE) $(MFLAGS) make-docfile$(EXEEXT) 643 cd $(libsrc); $(MAKE) $(MFLAGS) make-docfile$(EXEEXT)
644 644
645buildobj.h: Makefile 645buildobj.h: Makefile
@@ -737,12 +737,12 @@ TAGS: $(srcdir)/$(ctagsfiles1) $(srcdir)/$(ctagsfiles2)
737 $(srcdir)/$(ctagsfiles1) $(srcdir)/$(ctagsfiles2) 737 $(srcdir)/$(ctagsfiles1) $(srcdir)/$(ctagsfiles2)
738frc: 738frc:
739TAGS-LISP: frc 739TAGS-LISP: frc
740 $(MAKE) -f $(lispdir)Makefile TAGS-LISP ETAGS=../lib-src/etags 740 $(MAKE) -f $(lispdir)/Makefile TAGS-LISP ETAGS=../lib-src/etags
741 741
742$(lwlibdir)TAGS: 742$(lwlibdir)/TAGS:
743 (cd $(lwlibdir); $(MAKE) -f $(lwlibdir)Makefile tags ETAGS=../lib-src/etags) 743 (cd $(lwlibdir); $(MAKE) -f $(lwlibdir)/Makefile tags ETAGS=../lib-src/etags)
744 744
745tags: TAGS TAGS-LISP $(lwlibdir)TAGS 745tags: TAGS TAGS-LISP $(lwlibdir)/TAGS
746.PHONY: tags 746.PHONY: tags
747 747
748 748
@@ -784,7 +784,7 @@ $(lisp) $(SOME_MACHINE_LISP): $(BOOTSTRAPEMACS)
784 784
785## VCSWITNESS points to the file that holds info about the current checkout. 785## VCSWITNESS points to the file that holds info about the current checkout.
786## We use it as a heuristic to decide when to rebuild loaddefs.el. 786## We use it as a heuristic to decide when to rebuild loaddefs.el.
787$(lispsource)loaddefs.el: $(BOOTSTRAPEMACS) $(VCSWITNESS) 787$(lispsource)/loaddefs.el: $(BOOTSTRAPEMACS) $(VCSWITNESS)
788 cd ../lisp; $(MAKE) $(MFLAGS) autoloads EMACS=$(bootstrap_exe) 788 cd ../lisp; $(MAKE) $(MFLAGS) autoloads EMACS=$(bootstrap_exe)
789 789
790## Dump an Emacs executable named bootstrap-emacs containing the 790## Dump an Emacs executable named bootstrap-emacs containing the