4
# Licensed to the Apache Software Foundation (ASF) under one
5
# or more contributor license agreements. See the NOTICE file
6
# distributed with this work for additional information
7
# regarding copyright ownership. The ASF licenses this file
8
# to you under the Apache License, Version 2.0 (the
9
# "License"); you may not use this file except in compliance
10
# with the License. You may obtain a copy of the License at
12
# http://www.apache.org/licenses/LICENSE-2.0
14
# Unless required by applicable law or agreed to in writing,
15
# software distributed under the License is distributed on an
16
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
# KIND, either express or implied. See the License for the
18
# specific language governing permissions and limitations
22
[end]# DO NOT EDIT -- AUTOMATICALLY GENERATED
24
########################################
25
# Section 1: Global make variables
26
########################################
28
[modules.name]_DEPS =[for modules.deps] [modules.deps][end]
29
[modules.name]_LINK =[for modules.link] [modules.link][end]
31
BUILD_DIRS =[for build_dirs] [build_dirs][end]
33
BDB_TEST_DEPS =[for bdb_test_deps] [bdb_test_deps][end]
35
BDB_TEST_PROGRAMS =[for bdb_test_progs] [bdb_test_progs][end]
37
TEST_DEPS =[for test_deps] [test_deps][end]
39
TEST_PROGRAMS =[for test_progs] [test_progs][end]
41
MANPAGES =[for manpages] [manpages][end]
43
CLEAN_FILES =[for cfiles] [cfiles][end]
44
EXTRACLEAN_FILES =[for sql] [sql.header][end]
46
SWIG_INCLUDES = -I$(abs_builddir)/subversion \
47
-I$(abs_srcdir)/subversion/include \
48
-I$(abs_srcdir)/subversion/bindings/swig \
49
-I$(abs_srcdir)/subversion/bindings/swig/include \
50
-I$(abs_srcdir)/subversion/bindings/swig/proxy \
51
-I$(abs_builddir)/subversion/bindings/swig/proxy \
52
$(SVN_APR_INCLUDES) $(SVN_APRUTIL_INCLUDES)
57
########################################
58
# Section 2: SWIG headers (wrappers and external runtimes)
59
########################################
63
########################################
64
# Section 3: SWIG autogen rules
65
########################################
67
autogen-swig-[swig_langs.short]:[for swig_langs.deps] [swig_langs.deps][end]
68
autogen-swig: autogen-swig-[swig_langs.short]
72
########################################
73
# Section 4: Rules to build SWIG .c files from .i files
74
########################################
76
[swig_c.c_file]: .swig_checked [for swig_c.deps] [swig_c.deps][end]
77
$(SWIG) $(SWIG_INCLUDES) [swig_c.opts] -o $@ $(top_srcdir)/[swig_c.source][end]
79
# This needs to be here, rather than in Makefile.in, else
80
# './autogen.sh --release' doesn't find it.
82
@if [ "$(SWIG)" = "none" ]; then \
83
echo "SWIG disabled at configure time" >&2; \
89
########################################
90
# Section 5: Individual target build rules
91
########################################
93
[target.varname]_PATH = [target.path][if-any target.install]
94
install-[target.install]: [target.install_deps][end]
95
[is target.type "java"][target.varname]_HEADERS = [for target.headers][if-index target.headers first][else] [end][target.headers][end]
96
[target.varname]_OBJECTS = [for target.objects][if-index target.objects first][else] [end][target.objects][end]
97
[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]
98
[target.name]: $([target.varname]_DEPS)
99
[if-any target.headers][target.varname]_CLASS_FILENAMES =[for target.header_class_filenames] [target.header_class_filenames][end]
100
[target.varname]_CLASSES =[for target.header_classes] [target.header_classes][end]
101
$([target.varname]_HEADERS): $([target.varname]_CLASS_FILENAMES)
102
[target.link_cmd] -d [target.output_dir] -classpath [target.classes]:$([target.varname]_CLASSPATH) $([target.varname]_CLASSES)
103
[end][if-any target.sources][target.varname]_SRC =[for target.sources] [target.sources][end]
104
$([target.varname]_OBJECTS): $([target.varname]_SRC)
105
[target.link_cmd] -d [target.output_dir] -classpath [target.classes]:$([target.varname]_CLASSPATH) $([target.varname]_SRC)
107
$(JAR) cf [target.jar_path] -C [target.classes][for target.packages] [target.packages][end][end][end]
108
[else][is target.type "i18n"][target.varname]_DEPS = [target.add_deps][for target.objects] [target.objects][end][for target.deps] [target.deps][end]
109
[target.name]: $([target.varname]_DEPS)
110
[else][target.varname]_DEPS = [target.add_deps][for target.objects] [target.objects][end][for target.deps] [target.deps][end]
111
[target.varname]_OBJECTS =[for target.objnames] [target.objnames][end]
112
[target.filename]: $([target.varname]_DEPS)
113
cd [target.path] && [target.link_cmd] $([target.varname]_LDFLAGS) -o [target.basename] [target.undefined_flag] $([target.varname]_OBJECTS)[for target.libs] [target.libs][end] $(LIBS)
116
########################################
117
# Section 6: Install-Group build targets
118
########################################
120
[itargets.type]: [for itargets.outputs][if-index itargets.outputs first][else] [end][itargets.outputs][end]
123
########################################
124
# Section 7: Install-Group install targets
125
########################################
127
[is areas.type "apache-mod"]install-mods-shared:[for areas.files] [areas.files.fullname][end][for areas.files]
128
cd [areas.files.dirname] ; $(MKDIR) "$(APACHE_LIBEXECDIR)" ; $(INSTALL_MOD_SHARED) -n [areas.files.name] [areas.files.filename][end]
129
[else]install-[areas.type]: [for areas.files][if-index areas.files first][else] [end][areas.files.fullname][end]
130
$(MKDIR) $(DESTDIR)$([areas.varname]dir)[for areas.files][is areas.type "locale"]
131
$(MKDIR) [areas.files.installdir]
132
cd [areas.files.dirname] ; $(INSTALL_[areas.uppervar]) [areas.files.filename] [areas.files.installdir]/$(PACKAGE_NAME)[areas.files.objext][else]
133
cd [areas.files.dirname] ; $(INSTALL_[areas.uppervar]) [areas.files.filename] $(DESTDIR)[areas.files.install_fname][end][end]
134
[if-any areas.extra_install] $(INSTALL_EXTRA_[areas.uppervar])
137
########################################
138
# Section 8: The install-include rule
139
########################################
141
install-include:[for includes] [includes.file][end]
142
$(MKDIR) $(DESTDIR)[includedir][for includes]
143
$(INSTALL_INCLUDE) [includes.src] $(DESTDIR)[includes.dst][end]
145
########################################
146
# Section 9: Shortcut targets for manual builds of specific items
147
########################################
149
[isources.name]: [isources.filename][end]
151
########################################
152
# Section 10: Rules to build all other kinds of object-like files
153
########################################
155
[deps.name]:[for deps.deps] [deps.deps][end][if-any deps.cmd]
156
[deps.cmd] [if-any deps.generated][else]$(canonicalized_srcdir)[end][deps.source][end]