Mercurial > hg > xemacs-beta
annotate etc/tests/external-widget/Makefile @ 4619:75e7ab37b6c8
Fix query-coding-tests.el failures, non-mule ELCs, mule build.
lisp/ChangeLog addition:
2009-02-17 Aidan Kehoe <kehoea@parhasard.net>
* unicode.el (unicode-query-coding-region):
Avoid eval-when-compile where that gives incorrect results when
compiled on a non-Mule XEmacs but run on a Mule XEmacs. Fixes
problems seen by
20a807210902131835o2f25930apaffabb6b62a95e5f@mail.gmail.com ,
thank you Vin!
(An equivalent way to get the efficiency of the eval-when-compile
would be to provide two defvars, evaluated at dump time, but this
code will be in C soon enough, and we can use the relevant
preprocessor constants there.)
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Tue, 17 Feb 2009 08:35:13 +0000 |
parents | ac2d302a0011 |
children | 4b173ad71786 03ab78e48ef6 |
rev | line source |
---|---|
2 | 1 CFLAGS += -Xc -g -DTOOLTALK |
2 EMACSHOME = ../../.. | |
3 EMACSLIBDIR = $(EMACSHOME)/editor/src | |
4 EMACSINCLUDEDIR = $(EMACSHOME)/editor/src | |
5 MOTIFHOME = /opt/SUNWmotif | |
6 | |
7 CPPFLAGS += -I$(OPENWINHOME)/include | |
8 LDFLAGS += -L$(OPENWINHOME)/lib -R$(OPENWINHOME)/lib | |
9 | |
10 CPPFLAGS += -I$(MOTIFHOME)/include | |
11 LDFLAGS += -L$(MOTIFHOME)/lib -R$(MOTIFHOME)/lib | |
12 | |
13 CPPFLAGS += -I$(EMACSINCLUDEDIR) | |
14 LDFLAGS += -L$(EMACSLIBDIR) | |
15 | |
16 LDFLAGS += -R$(OPENWINHOME)/lib:$(EMACSLIBDIR) -g | |
17 | |
18 TM_OBJS = test-ew-motif.o | |
19 TXL_OBJS = test-ew-xlib.o | |
20 MOTIF_LIBS = -Bstatic -lextcli_Xm -Bdynamic -lXm -lXt -ltt -lX11 -lgen -lm | |
21 XLIB_LIBS = -Bstatic -lextcli_Xlib -Bdynamic -ltt -lX11 -lgen -lm | |
22 | |
23 all: test-ew-motif | |
24 | |
25 test-ew-motif: $(TM_OBJS) | |
26 $(CC) -o $@ $(LDFLAGS) $(TM_OBJS) $(MOTIF_LIBS) | |
27 | |
28 test-ew-xlib: $(TXL_OBJS) | |
29 $(CC) -o $@ $(LDFLAGS) $(TXL_OBJS) $(XLIB_LIBS) | |
30 |