Mercurial > hg > xemacs-beta
annotate lwlib/Makefile.in.in @ 5797:a1808d52a34a
If the position of a window's cached point is deleted, use buffer point instead
src/ChangeLog addition:
2014-06-17 Aidan Kehoe <kehoea@parhasard.net>
* extents.h:
* window.c:
* window.c (unshow_buffer):
* window.c (Fset_window_buffer):
Use extents, rather than markers, for the window buffer point
cache, so that when the text containing that window buffer point
is deleted, the window display code uses the buffer's actual point
instead of the position that the marker had been moved to.
Fixes Michael Heinrich's problem of
http://mid.gmane.org/6zr42uxtf5.fsf@elektra.science-computing.de ,
introduced by Ben's patch of
https://bitbucket.org/xemacs/xemacs/commits/047d37eb70d70f43803 .
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Tue, 17 Jun 2014 20:55:45 +0100 |
parents | 4aa8ee813265 |
children |
rev | line source |
---|---|
428 | 1 ## Makefile for Lucid Widget Library |
2 ## Copyright (C) 1994 Lucid, Inc. | |
3 ## Copyright (C) 1995 Tinker Systems and INS Engineering Corp. | |
4 ## Copyright (C) 1994, 1995 Board of Trustees, University of Illinois | |
5 ## Copyright (C) 1996, 1997 Sun Microsystems, Inc. | |
3062 | 6 ## Copyright (C) 2005 Ben Wing. |
428 | 7 |
5422
ade4c7e2c6cb
Migrate lwlib/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
3094
diff
changeset
|
8 ## This file is part of Lucid Widget Library. |
428 | 9 |
5422
ade4c7e2c6cb
Migrate lwlib/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
3094
diff
changeset
|
10 ## The Lucid Widget Library is free software: you can redistribute it |
ade4c7e2c6cb
Migrate lwlib/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
3094
diff
changeset
|
11 ## and/or modify it under the terms of the GNU General Public License |
ade4c7e2c6cb
Migrate lwlib/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
3094
diff
changeset
|
12 ## as published by the Free Software Foundation, either version 3 of |
ade4c7e2c6cb
Migrate lwlib/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
3094
diff
changeset
|
13 ## the License, or (at your option) any later version. |
428 | 14 |
5422
ade4c7e2c6cb
Migrate lwlib/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
3094
diff
changeset
|
15 ## The Lucid Widget Library is distributed in the hope that it will be |
ade4c7e2c6cb
Migrate lwlib/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
3094
diff
changeset
|
16 ## useful, but WITHOUT ANY WARRANTY; without even the implied warranty |
ade4c7e2c6cb
Migrate lwlib/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
3094
diff
changeset
|
17 ## of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
428 | 18 ## GNU General Public License for more details. |
19 | |
20 ## You should have received a copy of the GNU General Public License | |
5422
ade4c7e2c6cb
Migrate lwlib/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
3094
diff
changeset
|
21 ## along with the Lucid Widget Library. If not, see |
ade4c7e2c6cb
Migrate lwlib/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
3094
diff
changeset
|
22 ## <http://www.gnu.org/licenses/>. |
428 | 23 |
5512
4aa8ee813265
Add a DESTDIR variable to all Makefiles, defaulting to the empty string, and
Jerry James <james@xemacs.org>
parents:
5422
diff
changeset
|
24 DESTDIR= |
4aa8ee813265
Add a DESTDIR variable to all Makefiles, defaulting to the empty string, and
Jerry James <james@xemacs.org>
parents:
5422
diff
changeset
|
25 |
428 | 26 ## For performance and consistency, no built-in rules |
27 .SUFFIXES: | |
28 .SUFFIXES: .c .h .o .i .s | |
29 | |
30 srcdir=@srcdir@ | |
31 | |
32 @SET_MAKE@ | |
33 SHELL=/bin/sh | |
34 RM = rm -f | |
35 AR = ar cq | |
36 | |
37 CC=@XEMACS_CC@ | |
38 CPP=@CPP@ | |
1889 | 39 CFLAGS=@XE_CFLAGS@ |
428 | 40 CPPFLAGS=@CPPFLAGS@ |
41 RANLIB=@RANLIB@ | |
42 | |
43 #define NOT_C_CODE | |
44 #include "../src/config.h" | |
45 | |
46 #ifdef USE_GNU_MAKE | |
47 vpath %.c @srcdir@ | |
48 vpath %.h @srcdir@ | |
49 #else | |
50 VPATH=@srcdir@ | |
51 #endif | |
52 | |
3094 | 53 objs = lwlib.o lwlib-utils.o lwlib-colors.o lwlib-fonts.o @lwlib_objs@ |
428 | 54 |
55 all: liblw.a | |
56 | |
57 c_switch_all=@c_switch_all@ | |
58 | |
2286 | 59 cppflags = $(CPPFLAGS) -I. -I$(srcdir)/../src $(c_switch_all) |
428 | 60 cflags = $(CFLAGS) $(cppflags) |
61 | |
62 #ifdef SOLARIS2 | |
63 %.o : %.c | |
64 #else | |
65 .c.o: | |
66 #endif | |
67 $(CC) -c $(cflags) $< | |
68 | |
69 ## Create preprocessor output (debugging purposes only) | |
70 .c.i: | |
71 #ifdef __GNUC__ | |
72 $(CC) -E $(cppflags) -o $@ $< | |
73 #else /* works on Solaris; what about other systems? */ | |
74 $(CC) -P $(cppflags) $< | |
75 #endif /* compiler */ | |
76 | |
77 ## Create assembler output (debugging purposes only) | |
78 .c.s: | |
79 $(CC) -S -c $(cflags) $< | |
80 | |
81 liblw.a: $(objs) | |
82 $(RM) $@ | |
83 $(AR) $@ $(objs) | |
84 @-test -n "$(RANLIB)" && $(RANLIB) $@ | |
85 | |
86 .PHONY: mostlyclean clean distclean realclean extraclean | |
3062 | 87 .PHONY: distclean-noconfig realclean-noconfig extraclean-noconfig |
428 | 88 mostlyclean: |
3083 | 89 -$(RM) liblw.a liblw_pure_*.a *.o *.i core |
428 | 90 clean: mostlyclean |
3062 | 91 distclean-noconfig: clean |
3083 | 92 -$(RM) config.h TAGS |
3062 | 93 ## This is used in making a distribution. |
94 ## Do not use it on development directories! | |
95 distclean: distclean-noconfig | |
3083 | 96 -$(RM) GNUmakefile Makefile Makefile.in |
3062 | 97 realclean-noconfig: distclean-noconfig |
428 | 98 realclean: distclean |
3062 | 99 extraclean-noconfig: realclean-noconfig |
3083 | 100 -$(RM) *~ \#* |
3062 | 101 extraclean: realclean |
3083 | 102 -$(RM) *~ \#* |
428 | 103 |
104 CONFIG_H = ../src/config.h config.h | |
105 | |
106 ## Following correct as of 19980312 | |
107 | |
108 lwlib-Xaw.o: $(CONFIG_H) lwlib-Xaw.h lwlib-internal.h lwlib.h xlwmenu.h xlwradio.h \ | |
109 xlwgauge.h xlwcheckbox.h | |
110 lwlib-Xlw.o: $(CONFIG_H) lwlib-Xlw.h lwlib-internal.h lwlib.h xlwmenu.h xlwscrollbar.h \ | |
111 xlwtabs.h xlwgcs.h | |
112 lwlib-Xm.o: $(CONFIG_H) lwlib-Xm.h lwlib-internal.h lwlib-utils.h lwlib.h xlwmenu.h | |
113 lwlib-utils.o: $(CONFIG_H) lwlib-utils.h | |
3094 | 114 lwlib-colors.o: $(CONFIG_H) lwlib-colors.h |
115 lwlib-fonts.o: $(CONFIG_H) lwlib-fonts.h | |
428 | 116 lwlib.o: $(CONFIG_H) lwlib-Xaw.h lwlib-Xlw.h lwlib-Xm.h lwlib-internal.h lwlib-utils.h lwlib.h xlwmenu.h |
117 xlwmenu.o: $(CONFIG_H) lwlib.h xlwmenu.h xlwmenuP.h | |
118 xlwscrollbar.o: $(CONFIG_H) xlwscrollbar.h xlwscrollbarP.h | |
119 xlwtabs.o: $(CONFIG_H) xlwtabs.h xlwtabsP.h | |
120 xlwradio.o: $(CONFIG_H) xlwradio.h xlwradioP.h | |
121 xlwcheckbox.o: $(CONFIG_H) xlwcheckbox.h xlwcheckboxP.h | |
122 xlwgauge.o: $(CONFIG_H) xlwgauge.h xlwgaugeP.h | |
123 xlwgcs.o: $(CONFIG_H) xlwgcs.h |