2008-01-23 Alp Toker <alp@atoker.com>
[WebKit-https.git] / JavaScriptCore / GNUmakefile.am
index f3d6fea3ed6b2b4d7093d5bede66fff0d7a3254d..8e6d74fb76f47954c24a79cbab6103d14c111695 100644 (file)
@@ -3,12 +3,14 @@ nodist_EXTRA_libJavaScriptCore_la_SOURCES = \
        DerivedSources/dummy.cxx
 
 javascriptcore_cppflags += \
-       -I $(srcdir)/JavaScriptCore/bindings \
-       -I $(srcdir)/JavaScriptCore/bindings/c \
-       -I $(top_builddir)/JavaScriptCore/pcre \
-       -I $(top_builddir)/JavaScriptCore/kjs
+       -I$(srcdir)/JavaScriptCore/ForwardingHeaders \
+       -I$(srcdir)/JavaScriptCore/bindings \
+       -I$(srcdir)/JavaScriptCore/bindings/c \
+       -I$(top_builddir)/JavaScriptCore/pcre \
+       -I$(top_builddir)/JavaScriptCore/kjs
 
 javascriptcore_h_api += \
+       JavaScriptCore/API/JavaScript.h \
        JavaScriptCore/API/JavaScriptCore.h \
        JavaScriptCore/API/JSBase.h \
        JavaScriptCore/API/JSContextRef.h \
@@ -51,7 +53,6 @@ javascriptcore_sources += \
        JavaScriptCore/bindings/runtime_root.cpp \
        JavaScriptCore/kjs/JSGlobalObject.cpp \
        JavaScriptCore/kjs/JSVariableObject.cpp \
-       JavaScriptCore/kjs/fpconst.cpp \
        JavaScriptCore/pcre/pcre_compile.cpp \
        JavaScriptCore/pcre/pcre_exec.cpp \
        JavaScriptCore/pcre/pcre_tables.cpp \
@@ -133,21 +134,30 @@ DerivedSources/lexer.lut.h: $(CREATE_HASH_TABLE) $(srcdir)/JavaScriptCore/kjs/ke
 %_object.lut.h: $(CREATE_HASH_TABLE) %_object.cpp
        $^ -i > $@
 
-JavaScriptCore/pcre/chartables.c: $(top_builddir)/Programs/dftables$(EXEEXT)
-       ./Programs/dftables $@
+JavaScriptCore/pcre/chartables.c: $(srcdir)/JavaScriptCore/pcre/dftables
+       $^ $@
 
 noinst_PROGRAMS += \
-       Programs/testkjs \
-       Programs/dftables
-
-# dftables
-Programs_dftables_SOURCES = JavaScriptCore/pcre/dftables.cpp
+       Programs/minidom \
+       Programs/testkjs
+
+# minidom
+Programs_minidom_SOURCES = \
+       JavaScriptCore/API/JSNode.c \
+       JavaScriptCore/API/JSNodeList.c \
+       JavaScriptCore/API/Node.c \
+       JavaScriptCore/API/NodeList.c \
+       JavaScriptCore/API/minidom.c
+Programs_minidom_CPPFLAGS = $(global_cppflags)
+Programs_minidom_CXXFLAGS = $(global_cflags)
+Programs_minidom_LDADD = libJavaScriptCore.la
+Programs_minidom_LDFLAGS = -rpath $(CURDIR)/.libs
 
 # testkjs
 Programs_testkjs_SOURCES = JavaScriptCore/kjs/testkjs.cpp
 Programs_testkjs_CPPFLAGS = $(global_cppflags)
-Programs_testkjs_CXXFLAGS = $(ICU_CFLAGS)
-Programs_testkjs_LDADD = $(ICU_LIBS) libJavaScriptCore.la
+Programs_testkjs_CXXFLAGS = $(global_cflags)
+Programs_testkjs_LDADD = libJavaScriptCore.la
 Programs_testkjs_LDFLAGS = -rpath $(CURDIR)/.libs
 
 # Clean rules for JavaScriptCore