annotate etc/tests/external-widget/Makefile @ 4871:d8d92ad084b8

rewrite check for bad memory in debug_can_save_memory -------------------- ChangeLog entries follow: -------------------- src/ChangeLog addition: 2010-01-15 Ben Wing <ben@xemacs.org> * emacs.c: * emacs.c (debug_can_access_memory): When checking for bad memory, we need to read all bytes from memory; try even harder to avoid the possibility that a super-optimizing compiler will optimize away the memory reads.
author Ben Wing <ben@xemacs.org>
date Fri, 15 Jan 2010 04:47:00 -0600
parents ac2d302a0011
children 4b173ad71786 03ab78e48ef6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1 CFLAGS += -Xc -g -DTOOLTALK
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
2 EMACSHOME = ../../..
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
3 EMACSLIBDIR = $(EMACSHOME)/editor/src
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
4 EMACSINCLUDEDIR = $(EMACSHOME)/editor/src
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
5 MOTIFHOME = /opt/SUNWmotif
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
6
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
7 CPPFLAGS += -I$(OPENWINHOME)/include
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
8 LDFLAGS += -L$(OPENWINHOME)/lib -R$(OPENWINHOME)/lib
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
9
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
10 CPPFLAGS += -I$(MOTIFHOME)/include
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
11 LDFLAGS += -L$(MOTIFHOME)/lib -R$(MOTIFHOME)/lib
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
12
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
13 CPPFLAGS += -I$(EMACSINCLUDEDIR)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
14 LDFLAGS += -L$(EMACSLIBDIR)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
15
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
16 LDFLAGS += -R$(OPENWINHOME)/lib:$(EMACSLIBDIR) -g
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
17
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
18 TM_OBJS = test-ew-motif.o
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
19 TXL_OBJS = test-ew-xlib.o
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
20 MOTIF_LIBS = -Bstatic -lextcli_Xm -Bdynamic -lXm -lXt -ltt -lX11 -lgen -lm
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
21 XLIB_LIBS = -Bstatic -lextcli_Xlib -Bdynamic -ltt -lX11 -lgen -lm
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
22
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
23 all: test-ew-motif
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
24
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
25 test-ew-motif: $(TM_OBJS)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
26 $(CC) -o $@ $(LDFLAGS) $(TM_OBJS) $(MOTIF_LIBS)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
27
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
28 test-ew-xlib: $(TXL_OBJS)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
29 $(CC) -o $@ $(LDFLAGS) $(TXL_OBJS) $(XLIB_LIBS)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
30