Alien-SVN
view release on metacpan or search on metacpan
src/subversion/build/generator/templates/build-outputs.mk.ezt view on Meta::CPAN
[define COPYRIGHT]
#
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
#
[end]# DO NOT EDIT -- AUTOMATICALLY GENERATED BY build/generator/gen_make.py
# FROM build/generator/templates/build-outputs.mk.ezt
########################################
# Section 1: Global make variables
########################################
[for modules]
[modules.name]_DEPS =[for modules.deps] [modules.deps][end]
[modules.name]_LINK =[for modules.link] [modules.link][end]
[end]
BUILD_DIRS =[for build_dirs] [build_dirs][end]
BDB_TEST_DEPS =[for bdb_test_deps] [bdb_test_deps][end]
BDB_TEST_PROGRAMS =[for bdb_test_progs] [bdb_test_progs][end]
TEST_DEPS =[for test_deps] [test_deps][end]
TEST_PROGRAMS =[for test_progs] [test_progs][end]
check-deps test-deps: [for test_helpers] [test_helpers][end]
MANPAGES =[for manpages] [manpages][end]
CLEAN_FILES =[for cfiles] [cfiles][end]
EXTRACLEAN_FILES =[for sql] [sql.header][end]
SWIG_INCLUDES = -I$(abs_builddir)/subversion \
-I$(abs_srcdir)/subversion/include \
-I$(abs_srcdir)/subversion/bindings/swig \
-I$(abs_srcdir)/subversion/bindings/swig/include \
-I$(abs_srcdir)/subversion/bindings/swig/proxy \
-I$(abs_builddir)/subversion/bindings/swig/proxy \
$(SVN_APR_INCLUDES) $(SVN_APRUTIL_INCLUDES)
[if-any release_mode]
RELEASE_MODE = 1
[end]
########################################
# Section 2: SWIG headers (wrappers and external runtimes)
########################################
[if-any release_mode]
[else]
[swig_rules][end]
########################################
# Section 3: SWIG autogen rules
########################################
[for swig_langs]
autogen-swig-[swig_langs.short]:[for swig_langs.deps] [swig_langs.deps][end]
autogen-swig: autogen-swig-[swig_langs.short]
[end]
########################################
# Section 4: Rules to build SWIG .c files from .i files
########################################
[for swig_c]
[swig_c.c_file]: .swig_checked [for swig_c.deps] [swig_c.deps][end]
$(SWIG) $(SWIG_INCLUDES) [swig_c.opts] -o $@ $(top_srcdir)/[swig_c.source][end]
# This needs to be here, rather than in Makefile.in, else
# './autogen.sh --release' doesn't find it.
.swig_checked:
@if [ "$(SWIG)" = "none" ]; then \
echo "SWIG disabled at configure time" >&2; \
exit 1; \
fi
@touch .swig_checked
########################################
# Section 5: Individual target build rules
########################################
[for target]
[target.varname]_PATH = [target.path][if-any target.install]
install-[target.install]: [target.install_deps][end]
[is target.type "java"][target.varname]_HEADERS = [for target.headers][if-index target.headers first][else] [end][target.headers][end]
[target.varname]_OBJECTS = [for target.objects][if-index target.objects first][else] [end][target.objects][end]
[target.varname]_DEPS = $([target.varname]_HEADERS) $([target.varname]_OBJECTS) [target.add_deps] [for target.deps][if-index target.deps first][else] [end][target.deps][end]
[target.name]: $([target.varname]_DEPS)
[if-any target.headers][target.varname]_CLASS_FILENAMES =[for target.header_class_filenames] [target.header_class_filenames][end]
[target.varname]_CLASSES =[for target.header_classes] [target.header_classes][end]
$([target.varname]_HEADERS): $([target.varname]_CLASS_FILENAMES)
[target.link_cmd] -d [target.output_dir] -classpath [target.classes]:$([target.varname]_CLASSPATH) $([target.varname]_CLASSES)
[end][if-any target.sources][target.varname]_SRC =[for target.sources] [target.sources][end]
$([target.varname]_OBJECTS): $([target.varname]_SRC)
[target.link_cmd] -d [target.output_dir] -classpath [target.classes]:$([target.varname]_CLASSPATH) $([target.varname]_SRC)
[if-any target.jar]
$(JAR) cf [target.jar_path] -C [target.classes][for target.packages] [target.packages][end][end][end]
[else][is target.type "i18n"][target.varname]_DEPS = [target.add_deps][for target.objects] [target.objects][end][for target.deps] [target.deps][end]
[target.name]: $([target.varname]_DEPS)
[else][target.varname]_DEPS = [target.add_deps][for target.objects] [target.objects][end][for target.deps] [target.deps][end]
[target.varname]_OBJECTS =[for target.objnames] [target.objnames][end]
( run in 0.341 second using v1.01-cache-2.11-cpan-2398b32b56e )