"Fossies" - the Fresh Open Source Software Archive

Member "google-gadgets-for-linux-0.11.2/extensions/qt_script_runtime/tests/Makefile.am" (15 Mar 2009, 2526 Bytes) of package /linux/misc/old/google-gadgets-for-linux-0.11.2.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #
    2 # Copyright 2008 Google Inc.
    3 #
    4 # Licensed under the Apache License, Version 2.0 (the "License");
    5 # you may not use this file except in compliance with the License.
    6 # You may obtain a copy of the License at
    7 #
    8 #      http://www.apache.org/licenses/LICENSE-2.0
    9 #
   10 # Unless required by applicable law or agreed to in writing, software
   11 # distributed under the License is distributed on an "AS IS" BASIS,
   12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   13 # See the License for the specific language governing permissions and
   14 # limitations under the License.
   15 #
   16 
   17 EXTRA_DIST = CMakeLists.txt
   18 
   19 INCLUDES		= -I$(top_builddir) \
   20 			  -I$(top_srcdir)
   21 
   22 AM_CPPFLAGS		= $(QT4_CFLAGS) \
   23 			  $(PREDEFINED_MACROS)
   24 
   25 AM_CXXFLAGS		= $(DEFAULT_COMPILE_FLAGS)
   26 
   27 LDADD			= $(QT4_LIBS) \
   28 			  $(QT4SCRIPT_LIBS) \
   29 			  ../libggadget-qtjs.la \
   30 			  $(top_builddir)/unittest/libgtest.la \
   31 			  $(top_builddir)/ggadget/libggadget@GGL_EPOCH@.la \
   32 			  $(top_builddir)/ggadget/js/libggadget-js@GGL_EPOCH@.la \
   33 			  $(top_builddir)/ggadget/qt/libggadget-qt@GGL_EPOCH@.la
   34 
   35 check_PROGRAMS		= dom_test_shell \
   36 			  js_shell \
   37 			  wrapper_test_shell \
   38 			  cross_context_test
   39 
   40 dom_test_shell_SOURCES	= js_shell.cc \
   41 			  dom_test_shell.cc
   42 
   43 js_shell_SOURCES	= js_shell.cc \
   44 			  init_custom_objects_stub.cc
   45 
   46 wrapper_test_shell_SOURCES = js_shell.cc \
   47 			     wrapper_test_shell.cc \
   48 			     $(top_srcdir)/ggadget/tests/scriptables.cc
   49 
   50 cross_context_test_SOURCES = cross_context_test.cc
   51 
   52 TESTS_ENVIRONMENT	= $(SHELL)
   53 TESTS			= dom_test_shell.sh \
   54 			  js_shell.sh \
   55 			  wrapper_test_shell.sh \
   56 			  cross_context_test.sh
   57 
   58 .PHONY: dom_test_shell.sh \
   59 	js_shell.sh \
   60 	wrapper_test_shell.sh \
   61 	cross_context_test.sh
   62 
   63 test_scripts_dir = $(abs_top_srcdir)/ggadget/js/test_scripts
   64 
   65 cross_context_test.sh:
   66 	(echo $(LIBTOOL) --mode=execute $(MEMCHECK_COMMAND) \
   67 	      $(abs_builddir)/cross_context_test > $@)
   68 
   69 dom_test_shell.sh:
   70 	(echo $(LIBTOOL) --mode=execute $(MEMCHECK_COMMAND) \
   71 	      $(abs_builddir)/dom_test_shell \
   72 	      $(abs_top_srcdir)/unittest/js_unittest.js \
   73 	      $(test_scripts_dir)/dom1_test.js > $@)
   74 
   75 js_shell.sh:
   76 	(echo $(LIBTOOL) --mode=execute $(MEMCHECK_COMMAND) \
   77 	      $(abs_builddir)/js_shell \
   78 	      $(abs_top_srcdir)/unittest/js_unittest.js \
   79 	      $(test_scripts_dir)/json_test.js > $@)
   80 
   81 wrapper_test_shell.sh:
   82 	(echo $(LIBTOOL) --mode=execute $(MEMCHECK_COMMAND) \
   83 	      $(abs_builddir)/wrapper_test_shell \
   84 	      $(abs_top_srcdir)/unittest/js_unittest.js \
   85 	      $(test_scripts_dir)/wrapper_test.js > $@)
   86