]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - contrib/subversion/build.conf
MFC r368207,368607:
[FreeBSD/stable/10.git] / contrib / subversion / build.conf
1 #
2 # build.conf -- configuration information for building Subversion
3 #
4 ######################################################################
5 #    Licensed to the Apache Software Foundation (ASF) under one
6 #    or more contributor license agreements.  See the NOTICE file
7 #    distributed with this work for additional information
8 #    regarding copyright ownership.  The ASF licenses this file
9 #    to you under the Apache License, Version 2.0 (the
10 #    "License"); you may not use this file except in compliance
11 #    with the License.  You may obtain a copy of the License at
12 #
13 #      http://www.apache.org/licenses/LICENSE-2.0
14 #
15 #    Unless required by applicable law or agreed to in writing,
16 #    software distributed under the License is distributed on an
17 #    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18 #    KIND, either express or implied.  See the License for the
19 #    specific language governing permissions and limitations
20 #    under the License.
21 ######################################################################
22 #
23 # This file is processed by gen-make.py, creating build-outputs.mk
24 #
25
26 # ----------------------------------------------------------------------------
27 #
28 # PREDEFINED SECTION
29 #
30 # This [options] section is global in scope, providing information to the
31 # process, rather than defining a build target, as all other sections do.
32 #
33
34 [options]
35 includes = subversion/include/*.h
36 include-wildcards = *.h *.i *.swg
37 private-includes =
38         subversion/include/private/*.h
39         subversion/bindings/swig/include/*.swg
40         subversion/libsvn_delta/compose_delta.c
41         subversion/bindings/cxxhl/include/*.hpp
42         subversion/bindings/cxxhl/include/svncxxhl/*.hpp
43         subversion/bindings/cxxhl/src/*.hpp
44         subversion/bindings/cxxhl/src/aprwrap/*.hpp
45         subversion/bindings/cxxhl/src/private/*.hpp
46         subversion/bindings/javahl/native/*.hpp
47         subversion/bindings/javahl/native/jniwrapper/jni_*.hpp
48         subversion/libsvn_subr/utf8proc/utf8proc.h
49         subversion/libsvn_subr/utf8proc/utf8proc.c
50         subversion/libsvn_subr/utf8proc/utf8proc_data.c
51 private-built-includes =
52         subversion/svn_private_config.h
53         subversion/libsvn_fs_fs/rep-cache-db.h
54         subversion/libsvn_fs_x/rep-cache-db.h
55         subversion/libsvn_wc/wc-metadata.h
56         subversion/libsvn_wc/wc-queries.h
57         subversion/libsvn_wc/wc-checks.h
58         subversion/libsvn_subr/internal_statements.h
59         subversion/tests/libsvn_wc/wc-test-queries.h
60         subversion/bindings/swig/proxy/swig_python_external_runtime.swg
61         subversion/bindings/swig/proxy/swig_perl_external_runtime.swg
62         subversion/bindings/swig/proxy/swig_ruby_external_runtime.swg
63         subversion/bindings/swig/proxy/rubyhead.swg
64         subversion/bindings/javahl/include/org_apache_subversion_javahl_CommitItemStateFlags.h
65         subversion/bindings/javahl/include/org_apache_subversion_javahl_NativeResources.h
66         subversion/bindings/javahl/include/org_apache_subversion_javahl_Path.h
67         subversion/bindings/javahl/include/org_apache_subversion_javahl_SVNRepos.h
68         subversion/bindings/javahl/include/org_apache_subversion_javahl_SVNClient.h
69         subversion/bindings/javahl/include/org_apache_subversion_javahl_types_NativeInputStream.h
70         subversion/bindings/javahl/include/org_apache_subversion_javahl_types_NativeOutputStream.h
71         subversion/bindings/javahl/include/org_apache_subversion_javahl_types_Version.h
72         subversion/bindings/javahl/include/org_apache_subversion_javahl_types_VersionExtended.h
73         subversion/bindings/javahl/include/org_apache_subversion_javahl_types_VersionExtended_LinkedLib.h
74         subversion/bindings/javahl/include/org_apache_subversion_javahl_types_VersionExtended_LinkedLibIterator.h
75         subversion/bindings/javahl/include/org_apache_subversion_javahl_types_VersionExtended_LoadedLib.h
76         subversion/bindings/javahl/include/org_apache_subversion_javahl_types_VersionExtended_LoadedLibIterator.h
77         subversion/bindings/javahl/include/org_apache_subversion_javahl_types_RuntimeVersion.h
78         subversion/bindings/javahl/include/org_apache_subversion_javahl_types_Revision.h
79         subversion/bindings/javahl/include/org_apache_subversion_javahl_types_RevisionRangeList.h
80         subversion/bindings/javahl/include/org_apache_subversion_javahl_callback_UserPasswordCallback.h
81         subversion/bindings/javahl/include/org_apache_subversion_javahl_remote_RemoteSession.h
82         subversion/bindings/javahl/include/org_apache_subversion_javahl_remote_RemoteFactory.h
83         subversion/bindings/javahl/include/org_apache_subversion_javahl_remote_CommitEditor.h
84         subversion/bindings/javahl/include/org_apache_subversion_javahl_remote_StateReporter.h
85         subversion/bindings/javahl/include/org_apache_subversion_javahl_util_ConfigImpl_Category.h
86         subversion/bindings/javahl/include/org_apache_subversion_javahl_util_ConfigLib.h
87         subversion/bindings/javahl/include/org_apache_subversion_javahl_util_DiffLib.h
88         subversion/bindings/javahl/include/org_apache_subversion_javahl_util_PropLib.h
89         subversion/bindings/javahl/include/org_apache_subversion_javahl_util_SubstLib.h
90         subversion/bindings/javahl/include/org_apache_subversion_javahl_util_TunnelChannel.h
91         subversion/bindings/javahl/include/org_apache_subversion_javahl_util_RequestChannel.h
92         subversion/bindings/javahl/include/org_apache_subversion_javahl_util_ResponseChannel.h
93
94 test-scripts =
95         subversion/tests/cmdline/*_tests.py
96
97 bdb-test-scripts =
98
99 swig-python-opts = $(SWIG_CPPFLAGS) -python -classic
100 swig-perl-opts = $(SWIG_CPPFLAGS) -perl -nopm -noproxy
101 swig-ruby-opts = $(SWIG_CPPFLAGS) -ruby
102 swig-languages = python perl ruby
103 swig-dirs = 
104         subversion/bindings/swig/python
105         subversion/bindings/swig/perl
106         subversion/bindings/swig/ruby
107         subversion/bindings/swig/proxy
108
109 swig-proxy-dir = subversion/bindings/swig/proxy
110 swig-checkout-files = common.swg swigrun.swg runtime.swg
111                       ruby/rubydef.swg ruby/rubyhead.swg ruby/rubytracking.swg
112                       perl5/perlrun.swg python/pyrun.swg python/python.swg
113
114 # ----------------------------------------------------------------------------
115 #
116 # BUILD TARGETS
117 #
118 # Target parameters:
119 #    description      - optional build target description
120 #    type             - the target type, defines how to build it
121 #    when             - the name of an autoconf-substed variable that muset be
122 #                       defined to either "true" or "false", that determines
123 #                       whether this target should be built and installed.
124 #    path             - relative path to target sources
125 #    sources          - explicit list of target sources
126 #    install          - the installation group/type
127 #    manpages         - the man pages associated with this target
128 #    libs             - libraries that this target depends on
129 #    nonlibs          - dependencies that are not linked into the target
130 #    lang             - bindings for language $(lang)
131 #    msvc-libs        - additional libraries to link with on Windows
132 #    msvc-export      - additional list of files to expose in dsp/vc(x)proj
133 #    msvc-static      - visual studio target produces only a static lib
134 #    msvc-force-static- visual studio always uses static libraries for svn libs
135 #    add-deps         - expands to additional autoconf-defined dependencies
136 #    add-install-deps - like add-deps, but for the install step
137 #    external-lib     - expands to additional autoconf-defined libs
138 #    external-project - visual studio project to depend on
139 #
140
141 # The subversion command-line client
142 [svn]
143 description = Subversion Client
144 type = exe
145 path = subversion/svn
146 libs = libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_diff libsvn_subr
147        apriconv apr
148 manpages = subversion/svn/svn.1
149 install = bin
150 msvc-libs = setargv.obj
151
152 # The subversion repository administration tool
153 [svnadmin]
154 description = Subversion Repository Administrator
155 type = exe
156 path = subversion/svnadmin
157 install = bin
158 manpages = subversion/svnadmin/svnadmin.1
159 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr apriconv apr
160 msvc-libs = setargv.obj
161
162 # The subversion repository dump filtering tool
163 [svndumpfilter]
164 description = Subversion Dumpfile Filter
165 type = exe
166 path = subversion/svndumpfilter
167 install = bin
168 manpages = subversion/svndumpfilter/svndumpfilter.1
169 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr apriconv apr
170
171 # The subversion repository inspection tool
172 [svnlook]
173 description = Subversion Repository Browser
174 type = exe
175 path = subversion/svnlook
176 install = bin
177 manpages = subversion/svnlook/svnlook.1
178 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_diff libsvn_subr apriconv apr
179
180 [svnserve]
181 description = Subversion Server
182 type = exe
183 path = subversion/svnserve
184 install = bin
185 manpages = subversion/svnserve/svnserve.8 subversion/svnserve/svnserve.conf.5
186 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr libsvn_ra_svn
187        apriconv apr sasl
188 msvc-libs = advapi32.lib ws2_32.lib
189
190 [svnsync]
191 description = Subversion repository replicator
192 type = exe
193 path = subversion/svnsync
194 libs = libsvn_ra libsvn_delta libsvn_subr apr
195 install = bin
196 manpages = subversion/svnsync/svnsync.1
197
198 [svnversion]
199 description = Subversion Revision Extractor
200 type = exe
201 path = subversion/svnversion
202 libs = libsvn_wc libsvn_subr apriconv apr
203 install = bin
204 manpages = subversion/svnversion/svnversion.1
205
206 [svnrdump]
207 description = Subversion remote repository dumper and loader
208 type = exe
209 path = subversion/svnrdump
210 libs = libsvn_client libsvn_ra libsvn_repos libsvn_delta libsvn_subr aprutil apr
211 install = bin
212 manpages = subversion/svnrdump/svnrdump.1
213
214 [svnmucc]
215 description = Subversion Multiple URL Command Client
216 type = exe
217 path = subversion/svnmucc
218 libs = libsvn_client libsvn_ra libsvn_subr libsvn_delta apriconv apr
219 install = bin
220 manpages = subversion/svnmucc/svnmucc.1
221
222 # Support for GNOME Keyring
223 [libsvn_auth_gnome_keyring]
224 description = Subversion GNOME Keyring Library
225 type = lib
226 install = gnome-keyring-lib
227 path = subversion/libsvn_auth_gnome_keyring
228 libs = libsvn_subr apr gnome-keyring
229
230 # Support for KWallet
231 [libsvn_auth_kwallet]
232 description = Subversion KWallet Library
233 type = lib
234 install = kwallet-lib
235 path = subversion/libsvn_auth_kwallet
236 libs = libsvn_subr apr kwallet
237 link-cmd = $(LINK_CXX_LIB)
238
239 # Library needed by all subversion clients
240 [libsvn_client]
241 description = Subversion Client Library
242 type = lib
243 path = subversion/libsvn_client
244 libs = libsvn_wc libsvn_ra libsvn_delta libsvn_diff libsvn_subr apriconv apr
245 install = lib
246 msvc-export = svn_client.h private/svn_client_mtcc.h private/svn_client_private.h
247
248 # Routines for binary diffing and tree-deltas
249 [libsvn_delta]
250 description = Subversion Delta Library
251 type = lib
252 install = fsmod-lib
253 path = subversion/libsvn_delta
254 libs = libsvn_subr aprutil apriconv apr zlib
255 msvc-export = svn_delta.h private/svn_editor.h private/svn_delta_private.h
256
257 # Routines for diffing
258 [libsvn_diff]
259 description = Subversion Diff Library
260 type = lib
261 path = subversion/libsvn_diff
262 libs = libsvn_subr apriconv apr zlib
263 install = lib
264 msvc-export = svn_diff.h private/svn_diff_private.h private/svn_diff_tree.h
265
266 # The repository filesystem library
267 [libsvn_fs]
268 description = Subversion Repository Filesystem Library
269 type = lib
270 path = subversion/libsvn_fs
271 install = ramod-lib
272 libs = libsvn_fs_util libsvn_delta libsvn_subr fs-libs aprutil apr
273 # conditionally add more dependencies
274 add-deps = $(SVN_FS_LIB_DEPS)
275 add-install-deps = $(SVN_FS_LIB_INSTALL_DEPS)
276 msvc-export = svn_fs.h private/svn_fs_private.h
277
278 [libsvn_fs_base]
279 description = Subversion Filesystem Base Library
280 type = fs-module
281 path = subversion/libsvn_fs_base
282 sources = *.c bdb/*.c util/*.c
283 install = bdb-lib
284 libs = libsvn_delta libsvn_subr aprutil apriconv apr bdb libsvn_fs_util
285 msvc-static = yes
286
287 [libsvn_fs_fs]
288 description = Subversion FSFS Repository Filesystem Library
289 type = fs-module
290 path = subversion/libsvn_fs_fs
291 install = fsmod-lib
292 libs = libsvn_delta libsvn_subr aprutil apriconv apr libsvn_fs_util
293 msvc-static = yes
294
295 [libsvn_fs_x]
296 description = Subversion FSX Repository Filesystem Library
297 type = fs-module
298 path = subversion/libsvn_fs_x
299 install = fsmod-lib
300 libs = libsvn_delta libsvn_subr aprutil apriconv apr libsvn_fs_util
301 msvc-static = yes
302
303 # Low-level grab bag of utilities
304 [libsvn_fs_util]
305 description = Subversion Filesystem Utility Library
306 type = lib
307 install = fsmod-lib
308 path = subversion/libsvn_fs_util
309 libs = libsvn_subr aprutil apriconv apr
310 msvc-libs = advapi32.lib shfolder.lib
311 msvc-static = yes
312
313 # General API for accessing repositories
314 [libsvn_ra]
315 description = Subversion General Repository Access Library
316 type = lib
317 path = subversion/libsvn_ra
318 libs = libsvn_delta libsvn_subr ra-libs apriconv apr
319 # conditionally add more dependencies
320 add-deps = $(SVN_RA_LIB_DEPS)
321 add-install-deps = $(SVN_RA_LIB_INSTALL_DEPS)
322 install = lib
323 msvc-export = svn_ra.h private\svn_ra_private.h
324
325 # Accessing repositories via DAV through serf
326 [libsvn_ra_serf]
327 description = Subversion HTTP/WebDAV Protocol Repository Access Library
328 type = ra-module
329 path = subversion/libsvn_ra_serf
330 install = serf-lib
331 libs = libsvn_delta libsvn_subr aprutil apriconv apr serf xml zlib
332 msvc-static = yes
333
334 # Accessing repositories via SVN
335 [libsvn_ra_svn]
336 description = Subversion SVN Protocol Repository Access Library
337 type = ra-module
338 path = subversion/libsvn_ra_svn
339 install = ramod-lib
340 libs = libsvn_delta libsvn_subr aprutil apriconv apr sasl
341 msvc-static = yes
342
343 # Accessing repositories via direct libsvn_fs
344 [libsvn_ra_local]
345 description = Subversion Local Repository Access Library
346 type = ra-module
347 path = subversion/libsvn_ra_local
348 install = ramod-lib
349 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr apriconv apr
350 msvc-static = yes
351
352 # Routines built on top of libsvn_fs
353 [libsvn_repos]
354 description = Subversion Repository Library
355 type = lib
356 path = subversion/libsvn_repos
357 install = ramod-lib
358 libs = libsvn_fs libsvn_delta libsvn_subr apriconv apr
359 msvc-export = svn_repos.h  private/svn_repos_private.h
360
361 # Low-level grab bag of utilities
362 [libsvn_subr]
363 description = Subversion General Utility Library
364 type = lib
365 install = fsmod-lib
366 path = subversion/libsvn_subr
367 libs = aprutil apriconv apr xml zlib apr_memcache sqlite magic intl
368 msvc-libs = kernel32.lib advapi32.lib shfolder.lib ole32.lib
369             crypt32.lib version.lib
370 msvc-export = 
371         svn_auth.h svn_base64.h svn_cache_config.h svn_checksum.h svn_cmdline.h
372         svn_compat.h svn_config.h svn_ctype.h svn_dirent_uri.h svn_dso.h 
373         svn_error.h svn_hash.h svn_io.h svn_iter.h svn_md5.h svn_mergeinfo.h 
374         svn_nls.h svn_opt.h svn_path.h svn_pools.h svn_props.h svn_quoprint.h 
375         svn_sorts.h svn_string.h svn_subst.h svn_time.h svn_types.h svn_user.h
376         svn_utf.h svn_version.h svn_xml.h svn_x509.h
377         private\svn_atomic.h private\svn_cache.h private\svn_cmdline_private.h
378         private\svn_debug.h private\svn_error_private.h private\svn_fspath.h
379         private\svn_log.h private\svn_mergeinfo_private.h
380         private\svn_opt_private.h private\svn_skel.h private\svn_sqlite.h
381         private\svn_utf_private.h private\svn_eol_private.h
382         private\svn_token.h  private\svn_adler32.h
383         private\svn_temp_serializer.h private\svn_io_private.h
384         private\svn_sorts_private.h private\svn_auth_private.h
385         private\svn_string_private.h private\svn_magic.h
386         private\svn_subr_private.h private\svn_mutex.h
387         private\svn_packed_data.h private\svn_object_pool.h private\svn_cert.h
388
389 # Working copy management lib
390 [libsvn_wc]
391 description = Subversion Working Copy Library
392 type = lib
393 path = subversion/libsvn_wc
394 libs = libsvn_delta libsvn_diff libsvn_subr aprutil apriconv apr
395 install = lib
396 msvc-export = svn_wc.h private\svn_wc_private.h
397
398 # Subversion plugin for Apache's mod_dav
399 [mod_dav_svn]
400 description = Subversion plug-in for the Apache DAV module
401 when = INSTALL_APACHE_MODS
402 type = apache-mod
403 path = subversion/mod_dav_svn
404 sources = *.c reports/*.c posts/*.c
405 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr libhttpd mod_dav
406 nonlibs = apr aprutil
407 install = apache-mod
408
409 [mod_authz_svn]
410 description = Subversion path-based authorization module for Apache
411 when = INSTALL_APACHE_MODS
412 type = apache-mod
413 path = subversion/mod_authz_svn
414 nonlibs = mod_dav_svn apr aprutil
415 libs = libsvn_repos libsvn_subr libhttpd
416 install = apache-mod
417
418 [mod_dontdothat]
419 description = Apache Httpd module to block certain kinds of Apache Subversion requests
420 when = INSTALL_APACHE_MODS
421 type = apache-mod
422 path = tools/server-side/mod_dontdothat
423 nonlibs = mod_dav_svn apr aprutil
424 libs = libsvn_subr xml libhttpd
425 install = tools
426
427 # The Subversion FSFS repository manipulation tool
428 [svnfsfs]
429 description = Subversion FSFS Repository Manipulation Tool
430 type = exe
431 path = subversion/svnfsfs
432 install = bin
433 libs = libsvn_repos libsvn_fs libsvn_fs_fs libsvn_delta libsvn_subr apriconv apr
434 msvc-libs = setargv.obj
435
436 # ----------------------------------------------------------------------------
437 #
438 # CONSTRUCTED HEADERS
439 #
440
441 [rep_cache_fs_fs]
442 description = Schema for the FSFS rep-sharing feature
443 type = sql-header
444 path = subversion/libsvn_fs_fs
445 sources = rep-cache-db.sql
446
447 [rep_cache_fs_x]
448 description = Schema for the FSX rep-sharing feature
449 type = sql-header
450 path = subversion/libsvn_fs_x
451 sources = rep-cache-db.sql
452
453 [wc_queries]
454 desription = Queries on the WC database
455 type = sql-header
456 path = subversion/libsvn_wc
457 sources = wc-queries.sql
458
459 [subr_sqlite]
460 description = Internal statements for SQLite interface
461 type = sql-header
462 path = subversion/libsvn_subr
463 sources = internal_statements.sql
464
465 [wc_test_queries]
466 description = Queries using working copy tests
467 type = sql-header
468 path = subversion/tests/libsvn_wc
469 sources = wc-test-queries.sql
470
471 # ----------------------------------------------------------------------------
472 #
473 # TARGETS FOR I18N SUPPORT
474 #
475 [locale]
476 type = i18n
477 path = subversion/po
478 install = locale
479 external-project = svn_locale
480
481 # ----------------------------------------------------------------------------
482 #
483 # TARGETS FOR SWIG SUPPORT
484 #
485
486 [swig_core]
487 type = swig
488 path = subversion/bindings/swig
489 sources = core.i
490 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
491        libsvn_diff libsvn_subr apr
492 description = Subversion core library bindings
493
494 [swig_client]
495 type = swig
496 path = subversion/bindings/swig
497 sources = svn_client.i
498 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
499        libsvn_client libsvn_subr apr
500 nonlibs = swig_core
501 description = Subversion client library bindings
502
503 [swig_delta]
504 type = swig
505 path = subversion/bindings/swig
506 sources = svn_delta.i
507 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
508        libsvn_delta libsvn_subr apr
509 nonlibs = swig_core
510 description = Subversion delta library bindings
511
512 [swig_diff]
513 type = swig
514 path = subversion/bindings/swig
515 sources = svn_diff.i
516 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
517        libsvn_diff libsvn_subr apr
518 nonlibs = swig_core
519 description = Subversion diff library bindings
520
521 [swig_fs]
522 type = swig
523 path = subversion/bindings/swig
524 sources = svn_fs.i
525 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
526        libsvn_fs libsvn_subr apr
527 nonlibs = swig_core
528 description = Subversion FS library bindings
529
530 [swig_ra]
531 type = swig
532 path = subversion/bindings/swig
533 sources = svn_ra.i
534 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
535        libsvn_ra libsvn_subr apr
536 nonlibs = swig_core
537 description = Subversion RA library bindings
538
539 [swig_repos]
540 type = swig
541 path = subversion/bindings/swig
542 sources = svn_repos.i
543 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
544        libsvn_repos libsvn_subr apr
545 nonlibs = swig_core
546 description = Subversion repository library bindings
547
548 [swig_wc]
549 type = swig
550 path = subversion/bindings/swig
551 sources = svn_wc.i
552 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
553        libsvn_wc libsvn_subr apr
554 nonlibs = swig_core
555 description = Subversion WC library bindings
556
557 # SWIG utility library for Python modules
558 [libsvn_swig_py]
559 type = swig_lib
560 lang = python
561 path = subversion/bindings/swig/python/libsvn_swig_py
562 libs = libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_subr
563        apriconv apr python swig
564 link-cmd = $(LINK)
565 install = swig-py-lib
566 # need special build rule to include -DSWIGPYTHON
567 compile-cmd = $(COMPILE_SWIG_PY)
568 msvc-static = no
569 msvc-export = ../bindings/swig/python/libsvn_swig_py/swigutil_py.h
570
571 # SWIG utility library for Perl modules
572 [libsvn_swig_perl]
573 type = swig_lib
574 lang = perl
575 path = subversion/bindings/swig/perl/libsvn_swig_perl
576 libs = libsvn_delta libsvn_subr apriconv apr perl swig
577 install = swig-pl-lib
578 # need special build rule to include
579 compile-cmd = $(COMPILE_SWIG_PL)
580 msvc-static = no
581 msvc-export = ../bindings/swig/perl/libsvn_swig_perl/swigutil_pl.h
582
583 # SWIG utility library for Ruby modules
584 [libsvn_swig_ruby]
585 type = swig_lib
586 lang = ruby
587 path = subversion/bindings/swig/ruby/libsvn_swig_ruby
588 libs = libsvn_client libsvn_wc libsvn_delta libsvn_subr apriconv apr ruby swig
589 link-cmd = $(LINK) $(SWIG_RB_LIBS)
590 install = swig-rb-lib
591 # need special build rule to include
592 compile-cmd = $(COMPILE_SWIG_RB)
593 msvc-static = no
594 msvc-export = ../bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.h
595
596 # ----------------------------------------------------------------------------
597 #
598 # JavaHL targets
599 #
600 [javahl-java]
601 type = java
602 path = subversion/bindings/javahl/src/org/apache/subversion/javahl
603   subversion/bindings/javahl/src/org/apache/subversion/javahl/callback
604   subversion/bindings/javahl/src/org/apache/subversion/javahl/remote
605   subversion/bindings/javahl/src/org/apache/subversion/javahl/types
606   subversion/bindings/javahl/src/org/apache/subversion/javahl/util
607 src-root = subversion/bindings/javahl/src
608 sources = *.java
609 install = javahl-java
610 link-cmd = $(COMPILE_JAVAHL_JAVAC)
611 classes = subversion/bindings/javahl/classes
612 package-roots = org
613
614 [javahl-compat-java]
615 type = java
616 path = subversion/bindings/javahl/src/org/tigris/subversion/javahl
617 sources = *.java
618 install = javahl-java
619 link-cmd = $(COMPILE_JAVAHL_COMPAT_JAVAC)
620 classes = subversion/bindings/javahl/classes
621 add-deps = $(javahl_java_DEPS)
622 ### Replace JAR call in INSTALL_EXTRA_JAVAHL_JAVA macro Makefile.in.
623 #jar = svn-javahl.jar
624 package-roots = org
625
626 [javahl-tests]
627 type = java
628 path = subversion/bindings/javahl/tests/org/apache/subversion/javahl
629 sources = *.java
630 install = javahl-java
631 link-cmd = $(COMPILE_JAVAHL_JAVAC)
632 classes = subversion/bindings/javahl/classes
633 package-roots = org
634 ### Java targets don't do up-to-date checks yet.
635 #add-deps = javahl-java
636 add-deps = $(javahl_java_DEPS)
637
638 [javahl-compat-tests]
639 type = java
640 path = subversion/bindings/javahl/tests/org/tigris/subversion/javahl
641 sources = *.java
642 install = javahl-java
643 link-cmd = $(COMPILE_JAVAHL_COMPAT_JAVAC)
644 classes = subversion/bindings/javahl/classes
645 package-roots = org
646 ### Java targets don't do up-to-date checks yet.
647 #add-deps = javahl-compat-java
648 add-deps = $(javahl_compat_java_DEPS)
649
650 [javahl-callback-javah]
651 type = javah
652 path = subversion/bindings/javahl/src/org/apache/subversion/javahl/callback
653 classes = subversion/bindings/javahl/classes
654 headers = subversion/bindings/javahl/include
655 package = org.apache.subversion.javahl.callback
656 sources = *.java
657 add-deps = $(javahl_java_DEPS)
658 install = javahl-javah
659 link-cmd = $(COMPILE_JAVAHL_JAVAH) -force
660
661 [javahl-remote-javah]
662 type = javah
663 path = subversion/bindings/javahl/src/org/apache/subversion/javahl/remote
664 classes = subversion/bindings/javahl/classes
665 headers = subversion/bindings/javahl/include
666 package = org.apache.subversion.javahl.remote
667 sources = *.java
668 add-deps = $(javahl_java_DEPS)
669 install = javahl-javah
670 link-cmd = $(COMPILE_JAVAHL_JAVAH) -force
671
672 [javahl-types-javah]
673 type = javah
674 path = subversion/bindings/javahl/src/org/apache/subversion/javahl/types
675 classes = subversion/bindings/javahl/classes
676 headers = subversion/bindings/javahl/include
677 package = org.apache.subversion.javahl.types
678 sources = *.java
679 add-deps = $(javahl_java_DEPS)
680 install = javahl-javah
681 link-cmd = $(COMPILE_JAVAHL_JAVAH) -force
682
683 [javahl-util-javah]
684 type = javah
685 path = subversion/bindings/javahl/src/org/apache/subversion/javahl/util
686 classes = subversion/bindings/javahl/classes
687 headers = subversion/bindings/javahl/include
688 package = org.apache.subversion.javahl.util
689 sources = *.java
690 add-deps = $(javahl_java_DEPS)
691 install = javahl-javah
692 link-cmd = $(COMPILE_JAVAHL_JAVAH) -force
693
694 [javahl-javah]
695 type = javah
696 path = subversion/bindings/javahl/src/org/apache/subversion/javahl
697 classes = subversion/bindings/javahl/classes
698 headers = subversion/bindings/javahl/include
699 package = org.apache.subversion.javahl
700 sources = *.java
701 add-deps = $(javahl_java_DEPS)
702 install = javahl-javah
703 link-cmd = $(COMPILE_JAVAHL_JAVAH) -force
704
705 [libsvnjavahl]
706 description = Subversion Java HighLevel binding
707 type = lib
708 path = subversion/bindings/javahl/native
709 libs = libsvn_repos libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_diff 
710        libsvn_subr libsvn_fs aprutil apriconv apr java-sdk
711 sources = *.cpp jniwrapper/*.cpp
712 add-deps = $(javahl_java_DEPS) $(javahl_callback_javah_DEPS)
713            $(javahl_remote_javah_DEPS) $(javahl_types_javah_DEPS)
714            $(javahl_util_javah_DEPS) $(javahl_javah_DEPS)
715 install = javahl-lib
716 # need special build rule to include -I$(JDK)/include/jni.h
717 compile-cmd = $(COMPILE_JAVAHL_CXX)
718 link-cmd = $(LINK_JAVAHL_CXX)
719
720 # ----------------------------------------------------------------------------
721 #
722 # C++HL targets
723 #
724
725 [libsvncxxhl]
726 description = Subversion C++ HighLevel bindings
727 type = lib
728 path = subversion/bindings/cxxhl
729 libs = libsvn_repos libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_diff
730        libsvn_subr libsvn_fs aprutil apriconv apr
731 sources = src/*.cpp src/aprwrap/*.cpp
732 install = cxxhl-lib
733 msvc-static = yes
734 compile-cmd = $(COMPILE_CXXHL_CXX)
735 link-cmd = $(LINK_CXX_LIB)
736
737 [cxxhl-tests]
738 description = Unit tests for Subversion C++ HighLevel bindings
739 when = SVN_USE_GMOCK
740 type = exe
741 path = subversion/bindings/cxxhl
742 libs = libsvncxxhl libgmock libsvn_subr apr
743 sources = tests/*.cpp
744 install = tests
745 compile-cmd = $(COMPILE_CXXHL_GMOCK_CXX)
746 link-cmd = $(LINK_CXX)
747
748
749 # ----------------------------------------------------------------------------
750 #
751 # Gmock targets
752 #
753
754 [libgmock]
755 description = Googlemock Library
756 when = SVN_USE_GMOCK
757 type = lib
758 path = gmock-fused
759 sources = gmock-gtest-all.cc
760 install = tests
761 msvc-static = yes
762 compile-cmd = $(COMPILE_GMOCK_CXX)
763 link-cmd = $(LINK_CXX_LIB)
764
765 # ----------------------------------------------------------------------------
766 #
767 # TESTING TARGETS
768 #
769
770 # general library:  our C testing framework
771 [libsvn_test]
772 type = lib
773 path = subversion/tests
774 install = test
775 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr aprutil apriconv apr
776 msvc-static = yes
777 undefined-lib-symbols = yes
778
779 # ----------------------------------------------------------------------------
780 # Tests for libsvn_fs_base
781
782 [fs-base-test]
783 description = Tests for *public* fs API (svn_fs.h)
784 type = exe
785 path = subversion/tests/libsvn_fs_base
786 sources = fs-base-test.c
787 install = bdb-test
788 libs = libsvn_test libsvn_fs libsvn_fs_base libsvn_delta
789        libsvn_fs_util libsvn_subr apriconv apr
790
791 [strings-reps-test]
792 description = Test strings/reps in libsvn_fs_base
793 type = exe
794 path = subversion/tests/libsvn_fs_base
795 sources = strings-reps-test.c
796 install = bdb-test
797 libs = libsvn_test libsvn_fs libsvn_fs_base libsvn_delta
798        libsvn_subr apriconv apr
799
800 [changes-test]
801 description = Test changes in libsvn_fs_base
802 type = exe
803 path = subversion/tests/libsvn_fs_base
804 sources = changes-test.c
805 install = bdb-test
806 libs = libsvn_test libsvn_fs libsvn_fs_base libsvn_delta
807        libsvn_subr apriconv apr
808
809 # ----------------------------------------------------------------------------
810 # Tests for libsvn_fs_fs
811 [fs-fs-pack-test]
812 description = Test fsfs packing in libsvn_fs_fs
813 type = exe
814 path = subversion/tests/libsvn_fs_fs
815 sources = fs-fs-pack-test.c
816 install = test
817 libs = libsvn_test libsvn_fs libsvn_fs_fs libsvn_delta
818        libsvn_subr apriconv apr
819
820 [fs-fs-fuzzy-test]
821 description = Use fuzzying to test FSFS corruption resilience
822 type = exe
823 path = subversion/tests/libsvn_fs_fs
824 sources = fs-fs-fuzzy-test.c
825 install = sub-test
826 libs = libsvn_test libsvn_fs libsvn_fs_fs libsvn_delta
827        libsvn_repos libsvn_subr apriconv apr
828
829 [fs-fs-private-test]
830 description = Test FSSF private API
831 type = exe
832 path = subversion/tests/libsvn_fs_fs
833 sources = fs-fs-private-test.c
834 install = test
835 libs = libsvn_test libsvn_fs libsvn_fs_fs libsvn_delta
836        libsvn_repos libsvn_subr apriconv apr
837
838 # ----------------------------------------------------------------------------
839 # Tests for libsvn_fs_x
840 [fs-x-pack-test]
841 description = Test fsx packing in libsvn_fs_x
842 type = exe
843 path = subversion/tests/libsvn_fs_x
844 sources = fs-x-pack-test.c
845 install = test
846 libs = libsvn_test libsvn_fs libsvn_fs_x libsvn_delta
847        libsvn_subr apriconv apr
848
849 [string-table-test]
850 description = Test fsfs string tables
851 type = exe
852 path = subversion/tests/libsvn_fs_x
853 sources = string-table-test.c
854 install = test
855 libs = libsvn_test libsvn_fs_x libsvn_subr apr
856
857 # ----------------------------------------------------------------------------
858 # Tests for libsvn_fs
859
860 [locks-test]
861 description = Test locks in libsvn_fs
862 type = exe
863 path = subversion/tests/libsvn_fs
864 sources = locks-test.c
865 install = test
866 libs = libsvn_test libsvn_fs libsvn_delta libsvn_subr apriconv apr
867 msvc-force-static = yes
868
869 [fs-test]
870 description = Test locks in libsvn_fs
871 type = exe
872 path = subversion/tests/libsvn_fs
873 sources = fs-test.c
874 install = test
875 libs = libsvn_test libsvn_fs libsvn_delta
876        libsvn_fs_util libsvn_subr aprutil apriconv apr
877
878 # ----------------------------------------------------------------------------
879 # Tests for libsvn_repos
880
881 [repos-test]
882 description = Test delta editor in libsvn_repos
883 type = exe
884 path = subversion/tests/libsvn_repos
885 sources = repos-test.c dir-delta-editor.c
886 install = test
887 libs = libsvn_test libsvn_repos libsvn_fs libsvn_delta libsvn_subr apriconv apr
888
889 [dump-load-test]
890 description = Test dumping/loading repositories in libsvn_repos
891 type = exe
892 path = subversion/tests/libsvn_repos
893 sources = dump-load-test.c
894 install = test
895 libs = libsvn_test libsvn_repos libsvn_fs libsvn_delta libsvn_subr apriconv apr
896
897 # ----------------------------------------------------------------------------
898 # Tests for libsvn_subr
899
900 [auth-test]
901 description = Test platform-specific auth provider access
902 type = exe
903 path = subversion/tests/libsvn_subr
904 sources = auth-test.c
905 install = test
906 libs = libsvn_test libsvn_subr apr
907
908 [bit-array-test]
909 description = Test packed bit arrays
910 type = exe
911 path = subversion/tests/libsvn_subr
912 sources = bit-array-test.c
913 install = test
914 libs = libsvn_test libsvn_subr apr
915
916 [cache-test]
917 description = Test in-memory cache
918 type = exe
919 path = subversion/tests/libsvn_subr
920 sources = cache-test.c
921 install = test
922 libs = libsvn_test libsvn_subr apr
923
924 [checksum-test]
925 description = Test checksum functions
926 type = exe
927 path = subversion/tests/libsvn_subr
928 sources = checksum-test.c
929 install = test
930 libs = libsvn_test libsvn_subr apr zlib
931 msvc-force-static = yes
932
933 [compat-test]
934 description = Test compatibility functions
935 type = exe
936 path = subversion/tests/libsvn_subr
937 sources = compat-test.c
938 install = test
939 libs = libsvn_test libsvn_subr apr
940
941 [config-test]
942 description = Test svn_config utilities
943 type = exe
944 path = subversion/tests/libsvn_subr
945 sources = config-test.c
946 install = test
947 libs = libsvn_test libsvn_subr apriconv apr
948
949 [crypto-test]
950 description = Test svn_crypto utilities
951 type = exe
952 path = subversion/tests/libsvn_subr
953 sources = crypto-test.c
954 install = test
955 libs = libsvn_test libsvn_subr aprutil apr
956 msvc-force-static = yes
957
958 [dirent_uri-test]
959 description = Test dirent_uri library
960 type = exe
961 path = subversion/tests/libsvn_subr
962 sources = dirent_uri-test.c
963 install = test
964 libs = libsvn_test libsvn_subr apriconv apr
965
966 [error-test]
967 description = Test error library
968 type = exe
969 path = subversion/tests/libsvn_subr
970 sources = error-test.c
971 install = test
972 libs = libsvn_test libsvn_subr apriconv apr
973
974 [error-code-test]
975 description = Test error library
976 type = exe
977 path = subversion/tests/libsvn_subr
978 sources = error-code-test.c
979 install = test
980 libs = libsvn_test libsvn_subr apriconv apr
981
982 [hashdump-test]
983 description = Test hashfile format for props
984 type = exe
985 path = subversion/tests/libsvn_subr
986 sources = hashdump-test.c
987 install = test
988 libs = libsvn_test libsvn_subr apriconv apr
989
990 [io-test]
991 description = Test I/O Operations
992 type = exe
993 path = subversion/tests/libsvn_subr
994 sources = io-test.c
995 install = test
996 libs = libsvn_test libsvn_subr apriconv apr
997
998 [opt-test]
999 description = Test options library
1000 type = exe
1001 path = subversion/tests/libsvn_subr
1002 sources = opt-test.c
1003 install = test
1004 libs = libsvn_test libsvn_subr apr
1005
1006 [mergeinfo-test]
1007 description = Test mergeinfo library
1008 type = exe
1009 path = subversion/tests/libsvn_subr
1010 sources = mergeinfo-test.c
1011 install = test
1012 libs = libsvn_test libsvn_subr apr
1013
1014 [packed-data-test]
1015 description = Test path library
1016 type = exe
1017 path = subversion/tests/libsvn_subr
1018 sources = packed-data-test.c
1019 install = test
1020 libs = libsvn_test libsvn_subr apriconv apr
1021
1022 [path-test]
1023 description = Test path library
1024 type = exe
1025 path = subversion/tests/libsvn_subr
1026 sources = path-test.c
1027 install = test
1028 libs = libsvn_test libsvn_subr apriconv apr
1029
1030 [prefix-string-test]
1031 description = Test path library
1032 type = exe
1033 path = subversion/tests/libsvn_subr
1034 sources = prefix-string-test.c
1035 install = test
1036 libs = libsvn_test libsvn_subr apriconv apr
1037
1038 [priority-queue-test]
1039 description = Test path library
1040 type = exe
1041 path = subversion/tests/libsvn_subr
1042 sources = priority-queue-test.c
1043 install = test
1044 libs = libsvn_test libsvn_subr apriconv apr
1045
1046 [revision-test]
1047 description = Test revision library
1048 type = exe
1049 path = subversion/tests/libsvn_subr
1050 sources = revision-test.c
1051 install = test
1052 libs = libsvn_test libsvn_subr apr
1053
1054 [root-pools-test]
1055 description = Test time functions
1056 type = exe
1057 path = subversion/tests/libsvn_subr
1058 sources = root-pools-test.c
1059 install = test
1060 libs = libsvn_test libsvn_subr apriconv apr
1061
1062 [skel-test]
1063 description = Test skels in libsvn_subr
1064 type = exe
1065 path = subversion/tests/libsvn_subr
1066 sources = skel-test.c
1067 install = test
1068 libs = libsvn_test libsvn_subr apriconv apr
1069
1070 [spillbuf-test]
1071 description = Test spillbuf in libsvn_subr
1072 type = exe
1073 path = subversion/tests/libsvn_subr
1074 sources = spillbuf-test.c
1075 install = test
1076 libs = libsvn_test libsvn_subr apriconv apr
1077
1078 [stream-test]
1079 description = Test stream library
1080 type = exe
1081 path = subversion/tests/libsvn_subr
1082 sources = stream-test.c
1083 install = test
1084 libs = libsvn_test libsvn_subr apriconv apr
1085
1086 [string-test]
1087 description = Test svn_stringbuf_t utilities
1088 type = exe
1089 path = subversion/tests/libsvn_subr
1090 sources = string-test.c
1091 install = test
1092 libs = libsvn_test libsvn_subr apriconv apr
1093
1094 [sqlite-test]
1095 description = Test stream library
1096 type = exe
1097 path = subversion/tests/libsvn_subr
1098 sources = sqlite-test.c
1099 install = test
1100 libs = libsvn_test libsvn_subr apriconv apr
1101
1102 [time-test]
1103 description = Test time functions
1104 type = exe
1105 path = subversion/tests/libsvn_subr
1106 sources = time-test.c
1107 install = test
1108 libs = libsvn_test libsvn_subr apriconv apr
1109
1110 [utf-test]
1111 description = Test UTF-8 functions
1112 type = exe
1113 path = subversion/tests/libsvn_subr
1114 sources = utf-test.c
1115 install = test
1116 libs = libsvn_test libsvn_subr apriconv apr
1117
1118 [subst_translate-test]
1119 description = Test the svn_subst_translate* functions
1120 type = exe
1121 path = subversion/tests/libsvn_subr
1122 sources = subst_translate-test.c
1123 install = test
1124 libs = libsvn_test libsvn_subr apriconv apr
1125
1126 [translate-test]
1127 description = Test eol conversion and keyword substitution routines
1128 type = exe
1129 path = subversion/tests/libsvn_subr
1130 sources = translate-test.c
1131 install = test
1132 libs = libsvn_test libsvn_subr apriconv apr
1133
1134 [x509-test]
1135 description = Test x509 parser
1136 type = exe
1137 path = subversion/tests/libsvn_subr
1138 sources = x509-test.c
1139 install = test
1140 libs = libsvn_test libsvn_subr apriconv apr
1141
1142
1143 # ----------------------------------------------------------------------------
1144 # Tests for libsvn_delta
1145
1146 [random-test]
1147 description = Use random data to test delta processing
1148 type = exe
1149 path = subversion/tests/libsvn_delta
1150 sources = random-test.c
1151 install = test
1152 libs = libsvn_test libsvn_delta libsvn_subr apriconv apr
1153
1154 [window-test]
1155 description = Test delta window generation
1156 type = exe
1157 path = subversion/tests/libsvn_delta
1158 sources = window-test.c
1159 install = test
1160 libs = libsvn_test libsvn_delta libsvn_subr apriconv apr
1161
1162 # ----------------------------------------------------------------------------
1163 # Tests for libsvn_client
1164
1165 [client-test]
1166 description = Test low-level functionality in libsvn_client
1167 type = exe
1168 path = subversion/tests/libsvn_client
1169 sources = client-test.c
1170 install = test
1171 libs = libsvn_test libsvn_client libsvn_wc libsvn_repos libsvn_ra libsvn_fs libsvn_delta libsvn_subr apriconv apr
1172 msvc-force-static = yes
1173
1174 [mtcc-test]
1175 description = Test Multi Command Context
1176 type = exe
1177 path = subversion/tests/libsvn_client
1178 sources = mtcc-test.c
1179 install = test
1180 libs = libsvn_test libsvn_client libsvn_wc libsvn_repos libsvn_ra libsvn_fs libsvn_delta libsvn_subr apriconv apr
1181
1182 # ----------------------------------------------------------------------------
1183 # Tests for libsvn_diff
1184
1185 [diff-diff3-test]
1186 description = Test the diff/diff3 library
1187 type = exe
1188 path = subversion/tests/libsvn_diff
1189 sources = diff-diff3-test.c
1190 install = test
1191 libs = libsvn_test libsvn_diff libsvn_subr apriconv apr
1192
1193 [parse-diff-test]
1194 description = Test unidiff parsing
1195 type = exe
1196 path = subversion/tests/libsvn_diff
1197 sources = parse-diff-test.c
1198 install = test
1199 libs = libsvn_test libsvn_diff libsvn_subr apriconv apr
1200
1201 # ----------------------------------------------------------------------------
1202 # Tests for libsvn_ra
1203
1204 [ra-test]
1205 description = Test a few things in libsvn_ra
1206 type = exe
1207 path = subversion/tests/libsvn_ra
1208 sources = ra-test.c
1209 install = test
1210 libs = libsvn_test libsvn_ra libsvn_ra_svn libsvn_fs libsvn_delta libsvn_subr
1211        apriconv apr
1212
1213 # ----------------------------------------------------------------------------
1214 # Tests for libsvn_ra_local
1215
1216 [ra-local-test]
1217 description = Test a few things in libsvn_ra_local
1218 type = exe
1219 path = subversion/tests/libsvn_ra_local
1220 sources = ra-local-test.c
1221 install = test
1222 libs = libsvn_test libsvn_ra_local libsvn_ra libsvn_fs libsvn_delta libsvn_subr
1223        apriconv apr
1224
1225 # ----------------------------------------------------------------------------
1226 # Tests for libsvn_wc
1227
1228 [conflict-data-test]
1229 description = Test the storage of tree conflict data
1230 type = exe
1231 path = subversion/tests/libsvn_wc
1232 sources = conflict-data-test.c utils.c
1233 install = test
1234 libs = libsvn_client libsvn_test libsvn_wc libsvn_subr apriconv apr
1235 msvc-force-static = yes
1236
1237 [db-test]
1238 description = Test the wc-ng database subsystem
1239 type = exe
1240 path = subversion/tests/libsvn_wc
1241 sources = db-test.c utils.c
1242 install = test
1243 libs = libsvn_client libsvn_test libsvn_wc libsvn_subr apriconv apr
1244 msvc-force-static = yes
1245
1246 [pristine-store-test]
1247 description = Test the wc-ng pristine text storage subsystem
1248 type = exe
1249 path = subversion/tests/libsvn_wc
1250 sources = pristine-store-test.c utils.c
1251 install = test
1252 libs = libsvn_client libsvn_test libsvn_wc libsvn_subr apriconv apr
1253 msvc-force-static = yes
1254
1255 [entries-compat-test]
1256 description = Test backwards compat for the entry interface
1257 type = exe
1258 path = subversion/tests/libsvn_wc
1259 sources = entries-compat.c utils.c
1260 install = test
1261 libs = libsvn_client libsvn_test libsvn_wc libsvn_subr apriconv apr
1262 msvc-force-static = yes
1263
1264 [op-depth-test]
1265 description = Test layered tree changes
1266 type = exe
1267 path = subversion/tests/libsvn_wc
1268 sources = op-depth-test.c utils.c
1269 install = test
1270 libs = libsvn_client libsvn_test libsvn_wc libsvn_subr apriconv apr
1271 msvc-force-static = yes
1272
1273 [wc-queries-test]
1274 description = Test Sqlite query evaluation
1275 type = exe
1276 path = subversion/tests/libsvn_wc
1277 sources = wc-queries-test.c ../../libsvn_subr/sqlite3wrapper.c
1278 install = test
1279 libs = libsvn_test libsvn_subr apriconv apr sqlite
1280
1281 [wc-test]
1282 description = Test the main WC API functions
1283 type = exe
1284 path = subversion/tests/libsvn_wc
1285 sources = wc-test.c utils.c
1286 install = test
1287 libs = libsvn_client libsvn_test libsvn_wc libsvn_subr apriconv apr
1288 msvc-force-static = yes
1289
1290 # ----------------------------------------------------------------------------
1291 # These are not unit tests at all, they are small programs that exercise
1292 # parts of the libsvn_delta API from the command line.  They are stuck here
1293 # because of some historical association with the test-suite, but should
1294 # really be put somewhere else.
1295
1296 # test our textdelta encoding
1297 [svndiff-test]
1298 type = exe
1299 path = subversion/tests/libsvn_delta
1300 sources = svndiff-test.c
1301 install = test
1302 libs = libsvn_delta libsvn_subr apriconv apr
1303 testing = skip
1304
1305 # compare two files, print txdelta windows
1306 [vdelta-test]
1307 type = exe
1308 path = subversion/tests/libsvn_delta
1309 sources = vdelta-test.c
1310 install = test
1311 libs = libsvn_delta libsvn_subr apriconv apr
1312 testing = skip
1313
1314 [entries-dump]
1315 type = exe
1316 path = subversion/tests/cmdline
1317 sources = entries-dump.c
1318 install = test
1319 libs = libsvn_wc libsvn_subr apriconv apr
1320 msvc-force-static = yes
1321 testing = skip
1322
1323 [atomic-ra-revprop-change]
1324 type = exe
1325 path = subversion/tests/cmdline
1326 sources = atomic-ra-revprop-change.c
1327 install = test
1328 libs = libsvn_ra libsvn_subr apriconv apr
1329 testing = skip
1330
1331 [lock-helper]
1332 type = exe
1333 path = subversion/tests/cmdline
1334 sources = lock-helper.c
1335 install = test
1336 libs = libsvn_fs libsvn_subr apriconv apr
1337 testing = skip
1338
1339 [wc-lock-tester]
1340 type = exe
1341 path = subversion/tests/libsvn_wc
1342 sources = wc-lock-tester.c
1343 install = test
1344 libs = libsvn_wc libsvn_subr apriconv apr
1345 msvc-force-static = yes
1346 testing = skip
1347
1348 [wc-incomplete-tester]
1349 type = exe
1350 path = subversion/tests/libsvn_wc
1351 sources = wc-incomplete-tester.c
1352 install = test
1353 libs = libsvn_wc libsvn_subr apriconv apr
1354 msvc-force-static = yes
1355 testing = skip
1356
1357 [svn-wc-db-tester]
1358 type = exe
1359 path = tools/dev/wc-ng
1360 sources = svn-wc-db-tester.c
1361 install = test
1362 libs = libsvn_wc libsvn_subr apr
1363 msvc-force-static = yes
1364 testing = skip
1365
1366 # ----------------------------------------------------------------------------
1367 #
1368 # EXTERNAL TARGETS (NO BUILD NEEDED)
1369 #
1370
1371 [apr]
1372 type = lib
1373 external-lib = $(SVN_APR_LIBS)
1374 msvc-libs = ws2_32.lib rpcrt4.lib mswsock.lib
1375 pkg-config = apr-@SVN_APR_MAJOR_VERSION@
1376
1377 [aprutil]
1378 type = lib
1379 external-lib = $(SVN_APRUTIL_LIBS)
1380 pkg-config = apr-util-@SVN_APR_MAJOR_VERSION@
1381
1382 [apriconv]
1383 type = lib
1384 external-lib = $(SVN_APRUTIL_LIBS)
1385
1386 [libhttpd]
1387 type = lib
1388 external-lib = $(SVN_HTTPD_LIBS)
1389
1390 [mod_dav]
1391 type = lib
1392 external-lib = $(SVN_MOD_DAV_LIBS)
1393
1394 [bdb]
1395 type = lib
1396 external-lib = $(SVN_DB_LIBS)
1397
1398 [gnome-keyring]
1399 type = lib
1400 external-lib = $(SVN_GNOME_KEYRING_LIBS)
1401 pkg-config = gnome-keyring-1
1402
1403 [kwallet]
1404 type = lib
1405 external-lib = $(SVN_KWALLET_LIBS)
1406
1407 [magic]
1408 type = lib
1409 external-lib = $(SVN_MAGIC_LIBS)
1410
1411 [sasl]
1412 type = lib
1413 external-lib = $(SVN_SASL_LIBS)
1414
1415 [openssl]
1416 type = lib
1417 external-lib = $(SVN_OPENSSL_LIBS)
1418 msvc-libs = ssleay32.lib libeay32.lib
1419
1420 [intl]
1421 type = lib
1422 external-lib = $(SVN_INTL_LIBS)
1423
1424 [zlib]
1425 type = lib
1426 external-lib = $(SVN_ZLIB_LIBS)
1427 msvc-static = yes
1428
1429 [apr_memcache]
1430 type = lib
1431 external-lib = $(SVN_APR_MEMCACHE_LIBS)
1432
1433 [serf]
1434 type = lib
1435 external-lib = $(SVN_SERF_LIBS)
1436 libs = apr aprutil openssl xml zlib
1437 msvc-libs = secur32.lib
1438 pkg-config = serf-1
1439 pkg-config-private = yes
1440
1441 [sqlite]
1442 type = lib
1443 external-lib = $(SVN_SQLITE_LIBS)
1444 pkg-config = sqlite3
1445 pkg-config-private = yes
1446
1447 [xml]
1448 type = lib
1449 external-lib = $(SVN_XML_LIBS)
1450
1451 [swig]
1452 type = lib
1453 external-lib = $(SVN_SWIG_LIBS)
1454
1455 [perl]
1456 type = lib
1457 external-lib = $(SVN_PERL_LIBS)
1458
1459 [python]
1460 type = lib
1461 external-lib = $(SVN_PYTHON_LIBS)
1462
1463 [ruby]
1464 type = lib
1465 external-lib = $(SVN_RUBY_LIBS)
1466
1467 [java-sdk]
1468 type = lib
1469 external-lib = $(SVN_JAVA_SDK_LIBS)
1470
1471 [ra-libs]
1472 type = lib
1473 external-lib = $(SVN_RA_LIB_LINK)
1474 libs = libsvn_ra_serf libsvn_ra_local libsvn_ra_svn
1475
1476 [fs-libs]
1477 type = lib
1478 external-lib = $(SVN_FS_LIB_LINK)
1479 libs = libsvn_fs_base libsvn_fs_fs libsvn_fs_x
1480
1481 [__ALL__]
1482 type = project
1483 path = build/win32
1484 libs = svn svnadmin svndumpfilter svnlook svnmucc svnserve svnrdump svnsync
1485        svnversion
1486        mod_authz_svn mod_dav_svn mod_dontdothat
1487        svnauthz svnauthz-validate svnraisetreeconflict
1488        svnfsfs svnbench
1489
1490 [__ALL_TESTS__]
1491 type = project
1492 path = build/win32
1493 libs = __ALL__
1494        fs-test fs-base-test fs-fsfs-test fs-fs-pack-test fs-fs-fuzzy-test
1495        fs-fs-private-test fs-x-pack-test string-table-test
1496        skel-test strings-reps-test changes-test locks-test
1497        repos-test dump-load-test
1498        checksum-test compat-test config-test hashdump-test mergeinfo-test
1499        opt-test packed-data-test path-test prefix-string-test
1500        priority-queue-test root-pools-test stream-test
1501        string-test time-test utf-test bit-array-test
1502        error-test error-code-test cache-test spillbuf-test crypto-test
1503        revision-test
1504        subst_translate-test io-test
1505        translate-test
1506        random-test window-test
1507        diff-diff3-test
1508        ra-test
1509        ra-local-test
1510        sqlite-test
1511        svndiff-test vdelta-test
1512        entries-dump atomic-ra-revprop-change wc-lock-tester wc-incomplete-tester
1513        lock-helper
1514        client-test mtcc-test
1515        conflict-data-test db-test pristine-store-test entries-compat-test
1516        op-depth-test dirent_uri-test wc-queries-test wc-test
1517        auth-test
1518        parse-diff-test x509-test
1519
1520 [__MORE__]
1521 type = project
1522 path = build/win32
1523 libs = __ALL_TESTS__
1524        diff diff3 diff4 fsfs-access-map svnauth 
1525        svn-populate-node-origins-index x509-parser svn-wc-db-tester
1526
1527 [__LIBS__]
1528 type = project
1529 path = build/win32
1530 libs = fs-libs ra-libs libsvn_client libsvn_subr libsvn_wc
1531        aprutil apriconv apr
1532
1533 [__CONFIG__]
1534 type = lib
1535 external-project = svn_config
1536
1537 [__SWIG_PYTHON__]
1538 type = swig_project
1539 path = build/win32
1540 libs = swig_client swig_delta swig_diff swig_fs swig_ra swig_repos swig_wc swig_core
1541 lang = python
1542
1543 [__SWIG_PERL__]
1544 type = swig_project
1545 path = build/win32
1546 libs = swig_client swig_delta swig_diff swig_fs swig_ra swig_repos swig_wc swig_core
1547 lang = perl
1548
1549 [__SWIG_RUBY__]
1550 type = swig_project
1551 path = build/win32
1552 libs = swig_client swig_delta swig_diff swig_fs swig_ra swig_repos swig_wc swig_core
1553 lang = ruby
1554
1555 [__JAVAHL__]
1556 type = project
1557 path = build/win32
1558 libs = javahl-java javahl-javah libsvnjavahl
1559
1560 [__JAVAHL_TESTS__]
1561 type = project
1562 path = build/win32
1563 libs = __JAVAHL__ javahl-tests javahl-compat-tests
1564
1565 # ----------------------------------------------------------------------------
1566 # Contrib and tools
1567
1568 [fsfs-access-map]
1569 type = exe
1570 path = tools/dev
1571 sources = fsfs-access-map.c
1572 install = tools
1573 libs = libsvn_subr apr
1574
1575 [diff]
1576 type = exe
1577 path = tools/diff
1578 sources = diff.c
1579 install = tools
1580 libs = libsvn_diff libsvn_subr apriconv apr
1581
1582 [diff3]
1583 type = exe
1584 path = tools/diff
1585 sources = diff3.c
1586 install = tools
1587 libs = libsvn_diff libsvn_subr apriconv apr
1588
1589 [diff4]
1590 type = exe
1591 path = tools/diff
1592 sources = diff4.c
1593 install = tools
1594 libs = libsvn_diff libsvn_subr apriconv apr
1595
1596 [svnbench]
1597 description = Benchmarking and diagnostics tool for the network layer
1598 type = exe
1599 path = subversion/svnbench
1600 install = bin
1601 libs = libsvn_client libsvn_wc libsvn_ra libsvn_subr libsvn_delta
1602        apriconv apr
1603
1604 [svnauthz]
1605 description = Authz config file tool
1606 type = exe
1607 path = tools/server-side
1608 sources = svnauthz.c
1609 install = tools
1610 libs = libsvn_repos libsvn_fs libsvn_subr apr
1611
1612 # svnauthz-validate is the compat mode of the new svnauthz tool.  It is
1613 # exactly the same code as svnauthz.  This duplicated target is needed
1614 # in order to easily test both commands as part of the build since libtool
1615 # does not provide a way to set argv[0] different from the commands actual
1616 # name in the wrapper script.
1617 [svnauthz-validate]
1618 description = Authz config file validator
1619 type = exe
1620 path = tools/server-side
1621 sources = svnauthz.c
1622 install = tools
1623 libs = libsvn_repos libsvn_fs libsvn_subr apr
1624
1625 [svn-populate-node-origins-index]
1626 description = Tool to populate the node origins index of a repository
1627 type = exe
1628 path = tools/server-side
1629 sources = svn-populate-node-origins-index.c
1630 install = tools
1631 libs = libsvn_repos libsvn_fs libsvn_subr apr
1632
1633 [svnraisetreeconflict]
1634 description = Tool to Flag a Tree Conflict
1635 type = exe
1636 path = tools/dev/svnraisetreeconflict
1637 libs = libsvn_wc libsvn_subr apriconv apr
1638 install = tools
1639
1640 [x509-parser]
1641 description = Tool to verify x509 certificates
1642 type = exe
1643 path = tools/dev
1644 sources = x509-parser.c
1645 install = tools
1646 libs = libsvn_subr apr