annotate lwlib/Makefile.in.in @ 5041:efaa6cd845e5

add regexp-debugging -------------------- ChangeLog entries follow: -------------------- src/ChangeLog addition: 2010-02-15 Ben Wing <ben@xemacs.org> * regex.c: * regex.c (DEBUG_FAIL_PRINT1): * regex.c (PUSH_FAILURE_POINT): * regex.c (POP_FAILURE_POINT): * regex.c (regex_compile): * regex.c (re_match_2_internal): * regex.h: * search.c: * search.c (search_buffer): * search.c (debug_regexps_changed): * search.c (vars_of_search): Add an internal variable debug_regexps and a corresponding Lisp variable `debug-regexps' that takes a list of areas in which to display debugging info about regex compilation and matching (currently three areas exist). Use existing debugging code already in regex.c and modify it so that it recognizes the debug_regexps variable and the flags in it. Rename variable `debug-xemacs-searches' to just `debug-searches', consistent with other debug vars. tests/ChangeLog addition: 2010-02-15 Ben Wing <ben@xemacs.org> * automated/search-tests.el (let): * automated/search-tests.el (boundp): debug-xemacs-searches renamed to debug-searches.
author Ben Wing <ben@xemacs.org>
date Mon, 15 Feb 2010 21:51:22 -0600
parents ad2f4ae9895b
children ade4c7e2c6cb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1 ## Makefile for Lucid Widget Library
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
2 ## Copyright (C) 1994 Lucid, Inc.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
3 ## Copyright (C) 1995 Tinker Systems and INS Engineering Corp.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
4 ## Copyright (C) 1994, 1995 Board of Trustees, University of Illinois
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
5 ## Copyright (C) 1996, 1997 Sun Microsystems, Inc.
3062
21d92abaac3a [xemacs-hg @ 2005-11-13 10:39:28 by ben]
ben
parents: 2286
diff changeset
6 ## Copyright (C) 2005 Ben Wing.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
7
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
8 ## This file is part of the Lucid Widget Library.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
9
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
10 ## The Lucid Widget Library is free software; you can redistribute it and/or
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
11 ## modify it under the terms of the GNU General Public License as published by
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
12 ## the Free Software Foundation; either version 2, or (at your option)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
13 ## any later version.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
14
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
15 ## The Lucid Widget Library is distributed in the hope that it will be useful,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
16 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
17 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
18 ## GNU General Public License for more details.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
19
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
20 ## You should have received a copy of the GNU General Public License
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
21 ## along with XEmacs; see the file COPYING. If not, write to
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
22 ## the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
23 ## Boston, MA 02111-1307, USA.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
24
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
25 ## For performance and consistency, no built-in rules
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
26 .SUFFIXES:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
27 .SUFFIXES: .c .h .o .i .s
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
28
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
29 srcdir=@srcdir@
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
30
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
31 @SET_MAKE@
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
32 SHELL=/bin/sh
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
33 RM = rm -f
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
34 AR = ar cq
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
35
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
36 CC=@XEMACS_CC@
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
37 CPP=@CPP@
1889
bf8be6575eae [xemacs-hg @ 2004-01-28 11:20:34 by stephent]
stephent
parents: 551
diff changeset
38 CFLAGS=@XE_CFLAGS@
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
39 CPPFLAGS=@CPPFLAGS@
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
40 RANLIB=@RANLIB@
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
41
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
42 #define NOT_C_CODE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
43 #include "../src/config.h"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
44
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
45 #ifdef USE_GNU_MAKE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
46 vpath %.c @srcdir@
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
47 vpath %.h @srcdir@
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
48 #else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
49 VPATH=@srcdir@
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
50 #endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
51
3094
ad2f4ae9895b [xemacs-hg @ 2005-11-26 11:45:47 by stephent]
stephent
parents: 3083
diff changeset
52 objs = lwlib.o lwlib-utils.o lwlib-colors.o lwlib-fonts.o @lwlib_objs@
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
53
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
54 all: liblw.a
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
55
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
56 c_switch_all=@c_switch_all@
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
57
2286
04bc9d2f42c7 [xemacs-hg @ 2004-09-20 19:18:55 by james]
james
parents: 1889
diff changeset
58 cppflags = $(CPPFLAGS) -I. -I$(srcdir)/../src $(c_switch_all)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
59 cflags = $(CFLAGS) $(cppflags)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
60
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
61 #ifdef SOLARIS2
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
62 %.o : %.c
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
63 #else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
64 .c.o:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
65 #endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
66 $(CC) -c $(cflags) $<
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
67
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
68 ## Create preprocessor output (debugging purposes only)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
69 .c.i:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
70 #ifdef __GNUC__
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
71 $(CC) -E $(cppflags) -o $@ $<
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
72 #else /* works on Solaris; what about other systems? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
73 $(CC) -P $(cppflags) $<
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
74 #endif /* compiler */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
75
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
76 ## Create assembler output (debugging purposes only)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
77 .c.s:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
78 $(CC) -S -c $(cflags) $<
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
79
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
80 liblw.a: $(objs)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
81 $(RM) $@
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
82 $(AR) $@ $(objs)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
83 @-test -n "$(RANLIB)" && $(RANLIB) $@
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
84
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
85 .PHONY: mostlyclean clean distclean realclean extraclean
3062
21d92abaac3a [xemacs-hg @ 2005-11-13 10:39:28 by ben]
ben
parents: 2286
diff changeset
86 .PHONY: distclean-noconfig realclean-noconfig extraclean-noconfig
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
87 mostlyclean:
3083
193188e494b2 [xemacs-hg @ 2005-11-22 07:14:37 by ben]
ben
parents: 3062
diff changeset
88 -$(RM) liblw.a liblw_pure_*.a *.o *.i core
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
89 clean: mostlyclean
3062
21d92abaac3a [xemacs-hg @ 2005-11-13 10:39:28 by ben]
ben
parents: 2286
diff changeset
90 distclean-noconfig: clean
3083
193188e494b2 [xemacs-hg @ 2005-11-22 07:14:37 by ben]
ben
parents: 3062
diff changeset
91 -$(RM) config.h TAGS
3062
21d92abaac3a [xemacs-hg @ 2005-11-13 10:39:28 by ben]
ben
parents: 2286
diff changeset
92 ## This is used in making a distribution.
21d92abaac3a [xemacs-hg @ 2005-11-13 10:39:28 by ben]
ben
parents: 2286
diff changeset
93 ## Do not use it on development directories!
21d92abaac3a [xemacs-hg @ 2005-11-13 10:39:28 by ben]
ben
parents: 2286
diff changeset
94 distclean: distclean-noconfig
3083
193188e494b2 [xemacs-hg @ 2005-11-22 07:14:37 by ben]
ben
parents: 3062
diff changeset
95 -$(RM) GNUmakefile Makefile Makefile.in
3062
21d92abaac3a [xemacs-hg @ 2005-11-13 10:39:28 by ben]
ben
parents: 2286
diff changeset
96 realclean-noconfig: distclean-noconfig
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
97 realclean: distclean
3062
21d92abaac3a [xemacs-hg @ 2005-11-13 10:39:28 by ben]
ben
parents: 2286
diff changeset
98 extraclean-noconfig: realclean-noconfig
3083
193188e494b2 [xemacs-hg @ 2005-11-22 07:14:37 by ben]
ben
parents: 3062
diff changeset
99 -$(RM) *~ \#*
3062
21d92abaac3a [xemacs-hg @ 2005-11-13 10:39:28 by ben]
ben
parents: 2286
diff changeset
100 extraclean: realclean
3083
193188e494b2 [xemacs-hg @ 2005-11-22 07:14:37 by ben]
ben
parents: 3062
diff changeset
101 -$(RM) *~ \#*
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
102
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
103 CONFIG_H = ../src/config.h config.h
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
104
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
105 ## Following correct as of 19980312
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
106
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
107 lwlib-Xaw.o: $(CONFIG_H) lwlib-Xaw.h lwlib-internal.h lwlib.h xlwmenu.h xlwradio.h \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
108 xlwgauge.h xlwcheckbox.h
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
109 lwlib-Xlw.o: $(CONFIG_H) lwlib-Xlw.h lwlib-internal.h lwlib.h xlwmenu.h xlwscrollbar.h \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
110 xlwtabs.h xlwgcs.h
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
111 lwlib-Xm.o: $(CONFIG_H) lwlib-Xm.h lwlib-internal.h lwlib-utils.h lwlib.h xlwmenu.h
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
112 lwlib-utils.o: $(CONFIG_H) lwlib-utils.h
3094
ad2f4ae9895b [xemacs-hg @ 2005-11-26 11:45:47 by stephent]
stephent
parents: 3083
diff changeset
113 lwlib-colors.o: $(CONFIG_H) lwlib-colors.h
ad2f4ae9895b [xemacs-hg @ 2005-11-26 11:45:47 by stephent]
stephent
parents: 3083
diff changeset
114 lwlib-fonts.o: $(CONFIG_H) lwlib-fonts.h
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
115 lwlib.o: $(CONFIG_H) lwlib-Xaw.h lwlib-Xlw.h lwlib-Xm.h lwlib-internal.h lwlib-utils.h lwlib.h xlwmenu.h
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
116 xlwmenu.o: $(CONFIG_H) lwlib.h xlwmenu.h xlwmenuP.h
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
117 xlwscrollbar.o: $(CONFIG_H) xlwscrollbar.h xlwscrollbarP.h
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
118 xlwtabs.o: $(CONFIG_H) xlwtabs.h xlwtabsP.h
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
119 xlwradio.o: $(CONFIG_H) xlwradio.h xlwradioP.h
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
120 xlwcheckbox.o: $(CONFIG_H) xlwcheckbox.h xlwcheckboxP.h
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
121 xlwgauge.o: $(CONFIG_H) xlwgauge.h xlwgaugeP.h
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
122 xlwgcs.o: $(CONFIG_H) xlwgcs.h