view etc/tests/external-widget/Makefile @ 5360:46b53e84ea7a

#'substring-no-properties: check STRING's type, get_string_range_char won't. src/ChangeLog addition: 2011-02-24 Aidan Kehoe <kehoea@parhasard.net> * fns.c (Fsubstring_no_properties): Sigh, get_string_range_char checks the type of its START and END arguments, but doesn't check the type of its STRING argument. Thank you Raymond Toy! tests/ChangeLog addition: 2011-02-24 Aidan Kehoe <kehoea@parhasard.net> * automated/lisp-tests.el (substring-no-properties): Make sure this function checks its arguments' types, the absence of which was revealed by Raymond Toy's bug report of http://mid.gmane.org/4D65D413.5050103@gmail.com .
author Aidan Kehoe <kehoea@parhasard.net>
date Thu, 24 Feb 2011 09:36:19 +0000
parents ba07c880114a
children 6a8c6c6f6c8e
line wrap: on
line source

##   Makefile for external widget test code.
##   Copyright (C) 1993 Ben Wing.

## This file is part of XEmacs.

## XEmacs is free software; you can redistribute it and/or modify it
## under the terms of the GNU General Public License as published by the
## Free Software Foundation; either version 2, or (at your option) any
## later version.

## XEmacs is distributed in the hope that it will be useful, but WITHOUT
## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
## for more details.

## You should have received a copy of the GNU General Public License
## along with XEmacs; see the file COPYING.  If not, write to
## the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
## Boston, MA 02110-1301, USA.

CFLAGS += -Xc -g -DTOOLTALK
EMACSHOME = ../../..
EMACSLIBDIR = $(EMACSHOME)/editor/src
EMACSINCLUDEDIR = $(EMACSHOME)/editor/src
MOTIFHOME = /opt/SUNWmotif

CPPFLAGS += -I$(OPENWINHOME)/include
LDFLAGS +=  -L$(OPENWINHOME)/lib -R$(OPENWINHOME)/lib

CPPFLAGS += -I$(MOTIFHOME)/include
LDFLAGS += -L$(MOTIFHOME)/lib -R$(MOTIFHOME)/lib

CPPFLAGS += -I$(EMACSINCLUDEDIR)
LDFLAGS += -L$(EMACSLIBDIR)

LDFLAGS += -R$(OPENWINHOME)/lib:$(EMACSLIBDIR) -g

TM_OBJS = test-ew-motif.o
TXL_OBJS = test-ew-xlib.o
MOTIF_LIBS = -Bstatic -lextcli_Xm -Bdynamic -lXm -lXt -ltt -lX11 -lgen -lm 
XLIB_LIBS = -Bstatic -lextcli_Xlib -Bdynamic -ltt -lX11 -lgen -lm 

all: test-ew-motif

test-ew-motif: $(TM_OBJS)
	$(CC) -o $@ $(LDFLAGS) $(TM_OBJS) $(MOTIF_LIBS)

test-ew-xlib: $(TXL_OBJS)
	$(CC) -o $@ $(LDFLAGS) $(TXL_OBJS) $(XLIB_LIBS)