Commit 0824703c authored by mjs's avatar mjs

Convert build system to automake

	* Makefile.am: Add this
	* Makefile.in: Remove this

	* configure.in:

	Remove newly autogenerated things,

	* aclocal.m4:
	* autogen.sh:
	* config.guess:
	* config.h.in:
	* config.sub:
	* configure:
	* missing:

	* acconfig.h, acinclude.m4: Templates for auto*
	* libtool.diff: Couple of tweaks needed to automake.
	* .cvsignore: Ignore the right stuff

	Add these.

	* Tests/Makefile.am:
	* Tests/draw/Makefile.am:
	* Tests/draw/drawApp/Makefile.am:
	* Tests/khtmlview/Makefile.am:
	* Tests/khtmlview/WebViewTest/Makefile.am:
	* Tests/qt/Makefile.am:

	Remove these.

	* Tests/Makefile.in:
	* Tests/draw/Makefile:
	* Tests/draw/drawApp/Makefile.in:
	* Tests/khtmlview/WebViewTest/Makefile.in:
	* Tests/qt/Makefile.in:

	Tweak link flags.

	* Tests/draw/drawApp/drawApp.pbproj/project.pbxproj:
	* Tests/khtmlview/WebViewTest/WebViewTest.pbproj/project.pbxproj:

	Ignore the right stuff.

	* Tests/khtmlview/.cvsignore:
	* Tests/khtmlview/WebViewTest/.cvsignore:
	* Tests/.cvsignore:
	* Tests/draw/.cvsignore:
	* Tests/qt/.cvsignore:

	* Tests/harness.c: Fix a couple of warnings.

	* Tests/qt/qarray-test.chk, Tests/qt/qarray-test.cpp (main):
	Remove a faulty test case: can't count on contents of
	uninitialized array!

	* Tests/test.list: Add a newly-enabled javascript test.

	* Updates/install-automake.sh,
	Updates/automake-1.5-mac-ported.diff, Updates/update:
	Install automake 1.5 as an update, patch for Mac OS X

	* Updates/install-gperf.sh: Fix potential minor bug for blind cut
	& pasters.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@535 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 050dcb5a
2001-01-04 Harri Porten <harri@trolltech.com>
* ustring.h: pack bytes to avoid alignment problems (ARM) reported
by Stefan Hanske <sh990154@mail.uni-greifswald.de>
* nodes.cpp: typeof fix by Emmeran Seehuber <the_emmy@gmx.de>
* nodes.cpp: fixed order of function declaration proccessing
2000-12-18 Harri Porten <harri@trolltech.com>
* string_object.cpp: fixed out-of-bounds error in fromCharCode()
2000-12-11 Harri Porten <harri@trolltech.com>
* regexp.h: compile fix for buggy libc
* ustring.cpp: format string conversion of numbers with %g
2000-12-10 Harri Porten <harri@trolltech.com>
* lexer.cpp: parsing != was broken, added \v escape in strings,
fixed "\u" and "\x" and \x with non hex chars following.
* nodes.cpp: implemented <<=, >>=, >>>=, &=, ^=, |= and %=
* internal.cpp: create error message including line no on parse errors
NULL =
noinst_LTLIBRARIES = libkjs.la
libkjs_la_SOURCES = \
array_object.cpp \
array_object.h \
bool_object.cpp \
bool_object.h \
collector.cpp \
collector.h \
date_object.cpp \
date_object.h \
debugger.cpp \
debugger.h \
error_object.cpp \
error_object.h \
function.cpp \
function.h \
function_object.cpp \
function_object.h \
global_object.cpp \
grammar.cpp \
grammar.h \
internal.cpp \
internal.h \
kjs.cpp \
kjs.h \
lexer.cpp \
lexer.h \
lexer.lut.h \
lookup.cpp \
lookup.h \
math_object.cpp \
math_object.h \
math_object.lut.h \
nodes.cpp \
nodes.h \
number_object.cpp \
number_object.h \
object.cpp \
object.h \
object_object.cpp \
object_object.h \
operations.cpp \
operations.h \
regexp.cpp \
regexp.h \
regexp_object.cpp \
regexp_object.h \
string_object.cpp \
string_object.h \
types.cpp \
types.h \
ustring.cpp \
ustring.h \
$(NULL)
BUILT_SOURCES = grammar.cpp grammar.cpp.h
noinst_PROGRAMS = testkjs
testkjs_SOURCES = testkjs.cpp
testkjs_LDADD = $(srcdir)/libkjs.la
CLEANFILES = $(BUILT_SOURCES) \
grammar.h \
$(NULL)
YACCFLAGS = -d --output-file=grammar.cpp --file-prefix=grammar --name-prefix=kjsyy
grammar.h grammar.cpp: grammar.y
$(YACC) $(YACCFLAGS) $<
ln -sf grammar.cpp.h grammar.h
#======================================================================
#
# Makefile
#
# $RCSfile$
# $Revision$
# $Author$
# $Date$
#
# Copyright (C) 2001 Apple Computer, Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
# OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
#======================================================================
# set top source dir relative to this directory
# include make vars boilerplate
#
TOPSRCDIR = ../../../..
include $(TOPSRCDIR)/Makefile.vars
#----------------------------------------------------------------------
# Set variables for this directory
CXXYACCOBJECTS = grammar.cpp grammar.h
CXXOBJECTS = \
array_object.o \
bool_object.o \
collector.o \
date_object.o \
debugger.o \
error_object.o \
function.o \
function_object.o \
global_object.o \
grammar.o \
internal.o \
kjs.o \
lexer.o \
lookup.o \
math_object.o \
nodes.o \
number_object.o \
object.o \
object_object.o \
operations.o \
regexp.o \
regexp_object.o \
string_object.o \
types.o \
ustring.o \
$(NULL)
PROGRAMS = testkjs
EXPORT_HEADERS = $(HEADERS)
OBJECTS = $(CXXOBJECTS)
EXPORT_OBJECTS = $(CXXOBJECTS)
EXPORT_HEADERS_DIR = $(TOPSRCDIR)/WebCore/include/private
EXPORT_OBJECTS_DIR = $(TOPSRCDIR)/WebCore/lib
GENERATE_OBJECTS = $(CXXYACCOBJECTS)
LIBRARY = libkjs.a
CLEAN_FILES = $(OBJECTS) \
grammar.h \
grammar.cpp \
grammar.cpp.h \
testkjs.o \
$(LIBRARY) \
$(PROGRAMS) \
$(NULL)
#----------------------------------------------------------------------
# Set flags for this directory
YACCFLAGS = -d --output-file=grammar.cpp --name-prefix=kjsyy
#----------------------------------------------------------------------
# Set targets for this directory
all: generate-objects $(OBJECTS) $(LIBRARY) export-headers export-objects
$(LIBRARY): $(CXXOBJECTS)
$(AR) $(ARFLAGS) $(LIBRARY) $(CXXOBJECTS)
$(RANLIB) $(LIBRARY)
$(PROGRAMS): testkjs.o
$(CC) $< -o $@ -L. -lkjs
depend:
grammar.h: grammar.cpp.h
ln -s grammar.cpp.h grammar.h
#----------------------------------------------------------------------
# include make rules boilerplate
include $(TOPSRCDIR)/Makefile.rules
#======================================================================
# end
#======================================================================
#!/bin/sh
`dirname $0`/testkjs `dirname $0`/test.js 2>&1
if [ $? -eq 1 ]; then
exit 0;
fi
\ No newline at end of file
---> inside test()
---> 20
---> 30
---> inside test()
---> 10
---> 50
---> s = 60
---> i = 2
---> a[0] = 11
---> a[1] = 22
---> a[2] = undefined
---> a[3] = undefined
---> a[4] = apple
---> b = [object Boolean]
---> bbbc
OK.
Makefile.vars
Makefile.rules
Makefile.in
Makefile
config.status
config.log
......
2002-01-14 Maciej Stachowiak <mjs@apple.com>
* .cvsignore:
* Makefile.am:
* Makefile.in:
* include/.cvsignore:
* include/Makefile.am:
* include/private/.cvsignore:
* include/private/Makefile.am:
* lib/.cvsignore:
* lib/Makefile.in:
* src/.cvsignore:
* src/Makefile.am:
* src/kdelibs/.cvsignore:
* src/kdelibs/Makefile.am:
* src/kdelibs/kdecore/.cvsignore:
* src/kdelibs/kdecore/Makefile.am:
* src/kdelibs/kdecore/Makefile.in:
* src/kdelibs/khtml/.cvsignore:
* src/kdelibs/khtml/Makefile.am:
* src/kdelibs/khtml/Makefile.in:
* src/kdelibs/khtml/css/.cvsignore:
* src/kdelibs/khtml/css/Makefile.am:
* src/kdelibs/khtml/css/Makefile.in:
* src/kdelibs/khtml/dom/.cvsignore:
* src/kdelibs/khtml/dom/Makefile.am:
* src/kdelibs/khtml/dom/Makefile.in:
* src/kdelibs/khtml/ecma/.cvsignore:
* src/kdelibs/khtml/ecma/Makefile.am:
* src/kdelibs/khtml/ecma/Makefile.in:
* src/kdelibs/khtml/html/.cvsignore:
* src/kdelibs/khtml/html/Makefile.am:
* src/kdelibs/khtml/html/Makefile.in:
* src/kdelibs/khtml/java/.cvsignore:
* src/kdelibs/khtml/java/ChangeLog:
* src/kdelibs/khtml/java/Makefile.am:
* src/kdelibs/khtml/java/Makefile.in:
* src/kdelibs/khtml/java/tests/Makefile.am:
* src/kdelibs/khtml/misc/.cvsignore:
* src/kdelibs/khtml/misc/Makefile.am:
* src/kdelibs/khtml/misc/Makefile.in:
* src/kdelibs/khtml/pics/Makefile.am:
* src/kdelibs/khtml/rendering/.cvsignore:
* src/kdelibs/khtml/rendering/Makefile.am:
* src/kdelibs/khtml/rendering/Makefile.in:
* src/kdelibs/khtml/xml/.cvsignore:
* src/kdelibs/khtml/xml/Makefile.am:
* src/kdelibs/khtml/xml/Makefile.in:
* src/kdelibs/kjs/.cvsignore:
* src/kdelibs/kjs/ChangeLog:
* src/kdelibs/kjs/Makefile.am:
* src/kdelibs/kjs/Makefile.in:
* src/kdelibs/kjs/kjs-test:
* src/kdelibs/kjs/kjs-test.chk:
* src/kwq/.cvsignore:
* src/kwq/Makefile.am:
* src/kwq/Makefile.in:
* src/kwq/_KWQOwner.m: (-[_KWQOwner backForwardUriDone:]):
* src/kwq/kde/.cvsignore:
* src/kwq/kde/Makefile.am:
* src/kwq/kde/Makefile.in:
* src/kwq/kdecore/.cvsignore:
* src/kwq/kdecore/Makefile.in:
* src/kwq/khtml/khtml_factory.h:
* src/kwq/qt/.cvsignore:
* src/kwq/qt/Makefile.am:
* src/kwq/qt/Makefile.in:
2002-01-09 Richard Williamson <rjw@apple.com>
Re-implemented underlining. Now it REALLY works, honest.
......
2002-01-14 Maciej Stachowiak <mjs@apple.com>
* .cvsignore:
* Makefile.am:
* Makefile.in:
* include/.cvsignore:
* include/Makefile.am:
* include/private/.cvsignore:
* include/private/Makefile.am:
* lib/.cvsignore:
* lib/Makefile.in:
* src/.cvsignore:
* src/Makefile.am:
* src/kdelibs/.cvsignore:
* src/kdelibs/Makefile.am:
* src/kdelibs/kdecore/.cvsignore:
* src/kdelibs/kdecore/Makefile.am:
* src/kdelibs/kdecore/Makefile.in:
* src/kdelibs/khtml/.cvsignore:
* src/kdelibs/khtml/Makefile.am:
* src/kdelibs/khtml/Makefile.in:
* src/kdelibs/khtml/css/.cvsignore:
* src/kdelibs/khtml/css/Makefile.am:
* src/kdelibs/khtml/css/Makefile.in:
* src/kdelibs/khtml/dom/.cvsignore:
* src/kdelibs/khtml/dom/Makefile.am:
* src/kdelibs/khtml/dom/Makefile.in:
* src/kdelibs/khtml/ecma/.cvsignore:
* src/kdelibs/khtml/ecma/Makefile.am:
* src/kdelibs/khtml/ecma/Makefile.in:
* src/kdelibs/khtml/html/.cvsignore:
* src/kdelibs/khtml/html/Makefile.am:
* src/kdelibs/khtml/html/Makefile.in:
* src/kdelibs/khtml/java/.cvsignore:
* src/kdelibs/khtml/java/ChangeLog:
* src/kdelibs/khtml/java/Makefile.am:
* src/kdelibs/khtml/java/Makefile.in:
* src/kdelibs/khtml/java/tests/Makefile.am:
* src/kdelibs/khtml/misc/.cvsignore:
* src/kdelibs/khtml/misc/Makefile.am:
* src/kdelibs/khtml/misc/Makefile.in:
* src/kdelibs/khtml/pics/Makefile.am:
* src/kdelibs/khtml/rendering/.cvsignore:
* src/kdelibs/khtml/rendering/Makefile.am:
* src/kdelibs/khtml/rendering/Makefile.in:
* src/kdelibs/khtml/xml/.cvsignore:
* src/kdelibs/khtml/xml/Makefile.am:
* src/kdelibs/khtml/xml/Makefile.in:
* src/kdelibs/kjs/.cvsignore:
* src/kdelibs/kjs/ChangeLog:
* src/kdelibs/kjs/Makefile.am:
* src/kdelibs/kjs/Makefile.in:
* src/kdelibs/kjs/kjs-test:
* src/kdelibs/kjs/kjs-test.chk:
* src/kwq/.cvsignore:
* src/kwq/Makefile.am:
* src/kwq/Makefile.in:
* src/kwq/_KWQOwner.m: (-[_KWQOwner backForwardUriDone:]):
* src/kwq/kde/.cvsignore:
* src/kwq/kde/Makefile.am:
* src/kwq/kde/Makefile.in:
* src/kwq/kdecore/.cvsignore:
* src/kwq/kdecore/Makefile.in:
* src/kwq/khtml/khtml_factory.h:
* src/kwq/qt/.cvsignore:
* src/kwq/qt/Makefile.am:
* src/kwq/qt/Makefile.in:
2002-01-09 Richard Williamson <rjw@apple.com>
Re-implemented underlining. Now it REALLY works, honest.
......
2002-01-14 Maciej Stachowiak <mjs@apple.com>
* .cvsignore:
* Makefile.am:
* Makefile.in:
* include/.cvsignore:
* include/Makefile.am:
* include/private/.cvsignore:
* include/private/Makefile.am:
* lib/.cvsignore:
* lib/Makefile.in:
* src/.cvsignore:
* src/Makefile.am:
* src/kdelibs/.cvsignore:
* src/kdelibs/Makefile.am:
* src/kdelibs/kdecore/.cvsignore:
* src/kdelibs/kdecore/Makefile.am:
* src/kdelibs/kdecore/Makefile.in:
* src/kdelibs/khtml/.cvsignore:
* src/kdelibs/khtml/Makefile.am:
* src/kdelibs/khtml/Makefile.in:
* src/kdelibs/khtml/css/.cvsignore:
* src/kdelibs/khtml/css/Makefile.am:
* src/kdelibs/khtml/css/Makefile.in:
* src/kdelibs/khtml/dom/.cvsignore:
* src/kdelibs/khtml/dom/Makefile.am:
* src/kdelibs/khtml/dom/Makefile.in:
* src/kdelibs/khtml/ecma/.cvsignore:
* src/kdelibs/khtml/ecma/Makefile.am:
* src/kdelibs/khtml/ecma/Makefile.in:
* src/kdelibs/khtml/html/.cvsignore:
* src/kdelibs/khtml/html/Makefile.am:
* src/kdelibs/khtml/html/Makefile.in:
* src/kdelibs/khtml/java/.cvsignore:
* src/kdelibs/khtml/java/ChangeLog:
* src/kdelibs/khtml/java/Makefile.am:
* src/kdelibs/khtml/java/Makefile.in:
* src/kdelibs/khtml/java/tests/Makefile.am:
* src/kdelibs/khtml/misc/.cvsignore:
* src/kdelibs/khtml/misc/Makefile.am:
* src/kdelibs/khtml/misc/Makefile.in:
* src/kdelibs/khtml/pics/Makefile.am:
* src/kdelibs/khtml/rendering/.cvsignore:
* src/kdelibs/khtml/rendering/Makefile.am:
* src/kdelibs/khtml/rendering/Makefile.in:
* src/kdelibs/khtml/xml/.cvsignore:
* src/kdelibs/khtml/xml/Makefile.am:
* src/kdelibs/khtml/xml/Makefile.in:
* src/kdelibs/kjs/.cvsignore:
* src/kdelibs/kjs/ChangeLog:
* src/kdelibs/kjs/Makefile.am:
* src/kdelibs/kjs/Makefile.in:
* src/kdelibs/kjs/kjs-test:
* src/kdelibs/kjs/kjs-test.chk:
* src/kwq/.cvsignore:
* src/kwq/Makefile.am:
* src/kwq/Makefile.in:
* src/kwq/_KWQOwner.m: (-[_KWQOwner backForwardUriDone:]):
* src/kwq/kde/.cvsignore:
* src/kwq/kde/Makefile.am:
* src/kwq/kde/Makefile.in:
* src/kwq/kdecore/.cvsignore:
* src/kwq/kdecore/Makefile.in:
* src/kwq/khtml/khtml_factory.h:
* src/kwq/qt/.cvsignore:
* src/kwq/qt/Makefile.am:
* src/kwq/qt/Makefile.in:
2002-01-09 Richard Williamson <rjw@apple.com>
Re-implemented underlining. Now it REALLY works, honest.
......
NULL=
SUBDIRS = \
src \
include \
$(NULL)
#======================================================================
#
# Top-level Makefile for WebPageView
#
# $RCSfile$
# $Revision$
# $Author$
# $Date$
#
#======================================================================
# Include header
TOPSRCDIR = ..
include $(TOPSRCDIR)/Makefile.vars
#----------------------------------------------------------------------
# Subdirectories to build
SUBDIRS = \
src/kdelibs/kjs \
src/kdelibs/kdecore \
src/kdelibs/khtml/misc \
src/kdelibs/khtml/css \
src/kdelibs/khtml/dom \
src/kdelibs/khtml/ecma \
src/kdelibs/khtml/xml \
src/kdelibs/khtml/java \
src/kdelibs/khtml/html \
src/kdelibs/khtml/rendering \
src/kdelibs/khtml \
src/kwq/ \
src/kwq/kde \
src/kwq/kdecore \
src/kwq/qt \
src/kwq/kde \
lib \
$(NULL)
#----------------------------------------------------------------------
# Standard targets
all depend setup install clean distclean maintainer-clean:
@target=$@; \
list='$(SUBDIRS)'; \
for subdir in $$list; do \
echo ">>> Making $$target in $$subdir"; \
(cd $$subdir && $(MAKE) $$target) || \
case "$$amf" in \
*=*) exit 1;; \
*k*) fail=yes;; \
*) exit 1;; \
esac; \
done; \
$(NULL)
#======================================================================
# end
#======================================================================
*.dummy
Makefile.in
Makefile
private
Makefile
Makefile.in
*.h
all-am:
rm -rf *.h
ln -sf `find ../.. -name "*.h"` .
Makefile
Makefile.in
libkhtml_la.all_cpp.cpp
testkhtml
testcss
testrender
......@@ -8,5 +7,7 @@ SunWS_cache
ir.out
testkhtml_static
*.moc
export-objects
export-headers
.deps
.libs
*.lo
*.la
NULL =
SUBDIRS = \
misc \
css \
dom \
ecma \
xml \
java \
html \
rendering \
$(NULL)
noinst_LTLIBRARIES = libkhtml.la
libkhtml_la_SOURCES = \
khtml_events.cpp \
khtmlview.cpp \
$(NULL)
libkhtml_la_LIBADD = \
./misc/libkhtmlmisc.la \
./css/libkhtmlcss.la \
./dom/libkhtmldom.la \
./ecma/libkhtmlecma.la \
./xml/libkhtmlxml.la \
./java/libkhtmljava.la \
./html/libkhtmlhtml.la \
./rendering/libkhtmlrendering.la \
$(NULL)
INCLUDES = \
$(KWQ_INCLUDES) \