"Fossies" - the Fresh Open Source Software Archive

Member "google-gadgets-for-linux-0.11.2/extensions/smjs_script_runtime/Makefile.am" (1 Jul 2009, 2153 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 if GGL_BUILD_SMJS_SCRIPT_RUNTIME
   20 SUBDIRS = . tests
   21 
   22 INCLUDES		= -I$(top_builddir) \
   23 			  -I$(top_srcdir)
   24 
   25 noinst_HEADERS		= converter.h \
   26 			  js_function_slot.h \
   27 			  js_native_wrapper.h \
   28 			  js_script_context.h \
   29 			  js_script_runtime.h \
   30 			  json.h \
   31 			  native_js_wrapper.h \
   32 			  libmozjs_glue.h
   33 
   34 noinst_LTLIBRARIES	= libggadget-smjs.la
   35 
   36 libggadget_smjs_la_SOURCES = \
   37 			  converter.cc \
   38 			  js_function_slot.cc \
   39 			  js_native_wrapper.cc \
   40 			  js_script_context.cc \
   41 			  js_script_runtime.cc \
   42 			  json.cc \
   43 			  native_js_wrapper.cc \
   44 			  libmozjs_glue.cc
   45 
   46 # add "-fcheck-new" to avoid 'operator new' warning when building jscntxt.h
   47 libggadget_smjs_la_CXXFLAGS = \
   48 			  $(DEFAULT_COMPILE_FLAGS) \
   49 			  -fcheck-new
   50 
   51 libggadget_smjs_la_CPPFLAGS = \
   52 			  $(PREDEFINED_MACROS) \
   53 			  $(LIBMOZJS_CFLAGS)
   54 
   55 libggadget_smjs_la_LIBADD = \
   56 			  $(top_builddir)/ggadget/js/libggadget-js@GGL_EPOCH@.la \
   57 			  $(top_builddir)/ggadget/libggadget@GGL_EPOCH@.la
   58 
   59 extension_LTLIBRARIES	= smjs-script-runtime.la
   60 extensiondir		= $(GGL_MODULE_DIR)
   61 
   62 smjs_script_runtime_la_SOURCES = \
   63 			 smjs_script_runtime.cc
   64 
   65 smjs_script_runtime_la_CXXFLAGS = \
   66 			  $(DEFAULT_COMPILE_FLAGS)
   67 
   68 smjs_script_runtime_la_CPPFLAGS = \
   69 			  $(PREDEFINED_MACROS) \
   70 			  $(LIBMOZJS_CFLAGS)
   71 
   72 smjs_script_runtime_la_LIBADD = \
   73 			  $(top_builddir)/ggadget/libggadget@GGL_EPOCH@.la \
   74 			  libggadget-smjs.la \
   75 			  $(LIBMOZJS_LIBS) \
   76 			  -ldl
   77 
   78 smjs_script_runtime_la_LDFLAGS = \
   79 			  $(LIBMOZJS_LDFLAGS) \
   80 			  -no-undefined \
   81 			  -avoid-version \
   82 			  -module
   83 endif