1999-09-11 05:43:34 +04:00
|
|
|
#
|
1999-11-06 06:43:54 +03:00
|
|
|
# The contents of this file are subject to the Netscape Public
|
|
|
|
# License Version 1.1 (the "License"); you may not use this file
|
|
|
|
# except in compliance with the License. You may obtain a copy of
|
|
|
|
# the License at http://www.mozilla.org/NPL/
|
1999-08-28 00:58:57 +04:00
|
|
|
#
|
1999-11-06 06:43:54 +03:00
|
|
|
# Software distributed under the License is distributed on an "AS
|
|
|
|
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
|
|
# implied. See the License for the specific language governing
|
|
|
|
# rights and limitations under the License.
|
1999-08-28 00:58:57 +04:00
|
|
|
#
|
1999-11-06 06:43:54 +03:00
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is Netscape
|
1999-08-28 00:58:57 +04:00
|
|
|
# Communications Corporation. Portions created by Netscape are
|
1999-11-06 06:43:54 +03:00
|
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
# Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
1999-09-11 05:43:34 +04:00
|
|
|
#
|
1999-08-28 00:58:57 +04:00
|
|
|
|
1999-09-11 05:43:34 +04:00
|
|
|
DEPTH = ../../..
|
1999-08-28 00:58:57 +04:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2000-05-11 18:15:34 +04:00
|
|
|
PROGRAM = TestOutput$(BIN_SUFFIX)
|
2001-09-18 17:41:47 +04:00
|
|
|
REQUIRES = xpcom \
|
|
|
|
string \
|
|
|
|
htmlparser \
|
|
|
|
necko \
|
|
|
|
layout \
|
|
|
|
content \
|
|
|
|
$(NULL)
|
1999-09-11 05:43:34 +04:00
|
|
|
|
1999-08-28 00:58:57 +04:00
|
|
|
CPPSRCS = \
|
|
|
|
Convert.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
LIBS = \
|
2000-04-04 08:46:38 +04:00
|
|
|
$(XPCOM_LIBS) \
|
1999-08-28 00:58:57 +04:00
|
|
|
$(NSPR_LIBS) \
|
|
|
|
$(NULL)
|
|
|
|
|
1999-09-30 00:11:07 +04:00
|
|
|
TEST_FILES = \
|
1999-10-02 00:55:01 +04:00
|
|
|
plain.html \
|
|
|
|
plainwrap.out \
|
|
|
|
plainnowrap.out \
|
|
|
|
simple.html \
|
|
|
|
simplecopy.out \
|
17564, 17871, 17883, 18249, 13753,
18012, 16800, maybe 17565 and 13278:
Integrate contributions from Ben Bucksch (mozilla@bucksch.org)
and Daniel Brattell (bratell@lysator.liu.se) to improve formatted
plaintext output, including adding text style indicators, improving
table output and wrapping, and fixing several wrapping/whitespace bugs.
Also update the auto tests to reflect some of the bugs recently fixed.
r=myself,mozilla@bucksch.org,bratell@lysator.liu.se
1999-11-11 02:50:45 +03:00
|
|
|
simplefmt.out \
|
1999-09-30 00:11:07 +04:00
|
|
|
entityxif.xif \
|
1999-10-02 00:55:01 +04:00
|
|
|
entityxif.out \
|
|
|
|
mailquote.html \
|
|
|
|
mailquote.out \
|
1999-11-03 05:44:44 +03:00
|
|
|
htmltable.html \
|
|
|
|
htmltable.out \
|
1999-10-07 05:10:32 +04:00
|
|
|
xifstuff.xif \
|
|
|
|
xifstuff.out \
|
2000-02-23 04:23:29 +03:00
|
|
|
doctype.xif \
|
|
|
|
xifdtplain.out \
|
|
|
|
xifdthtml.out \
|
2000-05-16 04:37:41 +04:00
|
|
|
simplemail.html \
|
|
|
|
simplemail.out \
|
1999-09-30 00:11:07 +04:00
|
|
|
$(NULL)
|
|
|
|
|
1999-08-28 00:58:57 +04:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
2001-11-21 11:55:59 +03:00
|
|
|
libs::
|
2000-03-14 06:24:44 +03:00
|
|
|
$(INSTALL) -m 555 $(srcdir)/TestOutSinks.pl $(DIST)/bin
|
1999-12-14 02:10:16 +03:00
|
|
|
$(INSTALL) $(addprefix $(srcdir)/, $(TEST_FILES)) $(DIST)/bin/OutTestData
|
1999-09-30 00:11:07 +04:00
|
|
|
|
2002-04-25 06:52:44 +04:00
|
|
|
install::
|
|
|
|
$(SYSINSTALL) -m 555 $(srcdir)/TestOutSinks.pl $(DESTDIR)$(mozappdir)
|
|
|
|
$(SYSINSTALL) $(addprefix $(srcdir)/, $(TEST_FILES)) $(DESTDIR)$(mozappdir)/OutTestData
|
|
|
|
|
2001-12-18 12:14:29 +03:00
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
|
|
ifndef GNU_CC
|
|
|
|
LDFLAGS += -SUBSYSTEM:CONSOLE
|
|
|
|
endif
|
|
|
|
endif
|