2 # build.conf -- configuration information for building Subversion
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
13 # http://www.apache.org/licenses/LICENSE-2.0
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
21 ######################################################################
23 # This file is processed by gen-make.py, creating build-outputs.mk
26 # ----------------------------------------------------------------------------
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.
35 includes = subversion/include/*.h
36 include-wildcards = *.h *.i *.swg
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 private-built-includes =
44 subversion/svn_private_config.h
45 subversion/libsvn_fs_fs/rep-cache-db.h
46 subversion/libsvn_wc/wc-metadata.h
47 subversion/libsvn_wc/wc-queries.h
48 subversion/libsvn_wc/wc-checks.h
49 subversion/libsvn_subr/internal_statements.h
50 subversion/bindings/swig/proxy/swig_python_external_runtime.swg
51 subversion/bindings/swig/proxy/swig_perl_external_runtime.swg
52 subversion/bindings/swig/proxy/swig_ruby_external_runtime.swg
53 subversion/bindings/swig/proxy/rubyhead.swg
54 subversion/bindings/javahl/include/org_apache_subversion_javahl_CommitItemStateFlags.h
55 subversion/bindings/javahl/include/org_apache_subversion_javahl_NativeResources.h
56 subversion/bindings/javahl/include/org_apache_subversion_javahl_Path.h
57 subversion/bindings/javahl/include/org_apache_subversion_javahl_SVNRepos.h
58 subversion/bindings/javahl/include/org_apache_subversion_javahl_SVNClient.h
59 subversion/bindings/javahl/include/org_apache_subversion_javahl_types_Version.h
60 subversion/bindings/javahl/include/org_apache_subversion_javahl_types_VersionExtended.h
61 subversion/bindings/javahl/include/org_apache_subversion_javahl_types_VersionExtended_LinkedLib.h
62 subversion/bindings/javahl/include/org_apache_subversion_javahl_types_VersionExtended_LinkedLibIterator.h
63 subversion/bindings/javahl/include/org_apache_subversion_javahl_types_VersionExtended_LoadedLib.h
64 subversion/bindings/javahl/include/org_apache_subversion_javahl_types_VersionExtended_LoadedLibIterator.h
65 subversion/bindings/javahl/include/org_apache_subversion_javahl_types_Revision.h
66 subversion/bindings/javahl/include/org_apache_subversion_javahl_callback_UserPasswordCallback.h
70 subversion/tests/cmdline/*_tests.py
74 swig-python-opts = $(SWIG_CPPFLAGS) -python -classic
75 swig-perl-opts = $(SWIG_CPPFLAGS) -perl -nopm -noproxy
76 swig-ruby-opts = $(SWIG_CPPFLAGS) -ruby
77 swig-languages = python perl ruby
79 subversion/bindings/swig/python
80 subversion/bindings/swig/perl
81 subversion/bindings/swig/ruby
82 subversion/bindings/swig/proxy
84 swig-proxy-dir = subversion/bindings/swig/proxy
85 swig-checkout-files = common.swg swigrun.swg runtime.swg
86 ruby/rubydef.swg ruby/rubyhead.swg ruby/rubytracking.swg
87 perl5/perlrun.swg python/pyrun.swg python/python.swg
89 # ----------------------------------------------------------------------------
94 # description - optional build target description
95 # type - the target type, defines how to build it
96 # when - the name of an autoconf-substed variable that muset be
97 # defined to either "true" or "false", that determines
98 # whether this target should be built and installed.
99 # path - relative path to target sources
100 # sources - explicit list of target sources
101 # install - the installation group/type
102 # manpages - the man pages associated with this target
103 # libs - libraries that this target depends on
104 # nonlibs - dependencies that are not linked into the target
105 # lang - bindings for language $(lang)
106 # msvc-libs - additional libraries to link with on Windows
107 # msvc-export - additional list of files to expose in dsp/vc(x)proj
108 # msvc-static - visual studio target produces only a static lib
109 # add-deps - expands to additional autoconf-defined dependencies
110 # add-install-deps - like add-deps, but for the install step
111 # external-lib - expands to additional autoconf-defined libs
112 # external-project - visual studio project to depend on
115 # The subversion command-line client
117 description = Subversion Client
119 path = subversion/svn
120 libs = libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_diff libsvn_subr
122 manpages = subversion/svn/svn.1
125 # The subversion repository administration tool
127 description = Subversion Repository Administrator
129 path = subversion/svnadmin
131 manpages = subversion/svnadmin/svnadmin.1
132 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr apriconv apr
134 # The subversion repository dump filtering tool
136 description = Subversion Dumpfile Filter
138 path = subversion/svndumpfilter
140 manpages = subversion/svndumpfilter/svndumpfilter.1
141 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr apriconv apr
143 # The subversion repository inspection tool
145 description = Subversion Repository Browser
147 path = subversion/svnlook
149 manpages = subversion/svnlook/svnlook.1
150 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_diff libsvn_subr apriconv apr
153 description = Subversion Server
155 path = subversion/svnserve
157 manpages = subversion/svnserve/svnserve.8 subversion/svnserve/svnserve.conf.5
158 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr libsvn_ra_svn
160 msvc-libs = advapi32.lib ws2_32.lib
163 description = Subversion repository replicator
165 path = subversion/svnsync
166 libs = libsvn_ra libsvn_delta libsvn_subr apr
168 manpages = subversion/svnsync/svnsync.1
171 description = Subversion Revision Extractor
173 path = subversion/svnversion
174 libs = libsvn_wc libsvn_subr apriconv apr
176 manpages = subversion/svnversion/svnversion.1
179 description = Subversion remote repository dumper and loader
181 path = subversion/svnrdump
182 libs = libsvn_client libsvn_ra libsvn_repos libsvn_delta libsvn_subr aprutil apr
184 manpages = subversion/svnrdump/svnrdump.1
187 description = Subversion Multiple URL Command Client
189 path = subversion/svnmucc
190 libs = libsvn_client libsvn_ra libsvn_subr libsvn_delta apriconv apr
192 manpages = subversion/svnmucc/svnmucc.1
194 # Support for GNOME Keyring
195 [libsvn_auth_gnome_keyring]
196 description = Subversion GNOME Keyring Library
198 install = gnome-keyring-lib
199 path = subversion/libsvn_auth_gnome_keyring
200 libs = libsvn_subr apr gnome-keyring
202 # Support for KWallet
203 [libsvn_auth_kwallet]
204 description = Subversion KWallet Library
206 install = kwallet-lib
207 path = subversion/libsvn_auth_kwallet
208 libs = libsvn_subr apr kwallet
209 link-cmd = $(LINK_CXX_LIB)
211 # Library needed by all subversion clients
213 description = Subversion Client Library
215 path = subversion/libsvn_client
216 libs = libsvn_wc libsvn_ra libsvn_delta libsvn_diff libsvn_subr apriconv apr
218 msvc-export = svn_client.h private/svn_client_private.h
220 # Routines for binary diffing and tree-deltas
222 description = Subversion Delta Library
225 path = subversion/libsvn_delta
226 libs = libsvn_subr aprutil apriconv apr zlib
227 msvc-export = svn_delta.h private/svn_editor.h private/svn_delta_private.h
229 # Routines for diffing
231 description = Subversion Diff Library
233 path = subversion/libsvn_diff
234 libs = libsvn_subr apriconv apr zlib
236 msvc-export = svn_diff.h private/svn_diff_private.h private/svn_diff_tree.h
238 # The repository filesystem library
240 description = Subversion Repository Filesystem Library
242 path = subversion/libsvn_fs
244 libs = libsvn_fs_util libsvn_delta libsvn_subr fs-libs aprutil apr
245 # conditionally add more dependencies
246 add-deps = $(SVN_FS_LIB_DEPS)
247 add-install-deps = $(SVN_FS_LIB_INSTALL_DEPS)
248 msvc-export = svn_fs.h private/svn_fs_private.h
252 path = subversion/libsvn_fs_base
253 sources = *.c bdb/*.c util/*.c
255 libs = libsvn_delta libsvn_subr aprutil apriconv apr bdb libsvn_fs_util
260 path = subversion/libsvn_fs_fs
262 libs = libsvn_delta libsvn_subr aprutil apriconv apr libsvn_fs_util
265 # Low-level grab bag of utilities
269 path = subversion/libsvn_fs_util
270 libs = libsvn_subr aprutil apriconv apr
271 msvc-libs = advapi32.lib shfolder.lib
274 # General API for accessing repositories
276 description = Subversion Repository Access Library
278 path = subversion/libsvn_ra
279 libs = libsvn_delta libsvn_subr ra-libs apriconv apr
280 # conditionally add more dependencies
281 add-deps = $(SVN_RA_LIB_DEPS)
282 add-install-deps = $(SVN_RA_LIB_INSTALL_DEPS)
284 msvc-export = svn_ra.h private\svn_ra_private.h
286 # Accessing repositories via DAV through serf
289 path = subversion/libsvn_ra_serf
291 libs = libsvn_delta libsvn_subr aprutil apriconv apr serf xml
292 msvc-libs = secur32.lib
295 # Accessing repositories via SVN
298 path = subversion/libsvn_ra_svn
300 libs = libsvn_delta libsvn_subr aprutil apriconv apr sasl
303 # Accessing repositories via direct libsvn_fs
306 path = subversion/libsvn_ra_local
308 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr apriconv apr
311 # Routines built on top of libsvn_fs
313 description = Subversion Repository Library
315 path = subversion/libsvn_repos
317 libs = libsvn_fs libsvn_delta libsvn_subr apriconv apr
318 msvc-export = svn_repos.h private/svn_repos_private.h
320 # Low-level grab bag of utilities
322 description = Subversion General Utility Library
325 path = subversion/libsvn_subr
326 libs = aprutil apriconv apr xml zlib apr_memcache sqlite magic
327 msvc-libs = kernel32.lib advapi32.lib shfolder.lib ole32.lib
328 crypt32.lib version.lib
330 svn_auth.h svn_base64.h svn_cache_config.h svn_checksum.h svn_cmdline.h
331 svn_compat.h svn_config.h svn_ctype.h svn_dirent_uri.h svn_dso.h
332 svn_error.h svn_hash.h svn_io.h svn_iter.h svn_md5.h svn_mergeinfo.h
333 svn_nls.h svn_opt.h svn_path.h svn_pools.h svn_props.h svn_quoprint.h
334 svn_sorts.h svn_string.h svn_subst.h svn_time.h svn_types.h svn_user.h
335 svn_utf.h svn_version.h svn_xml.h
336 private\svn_atomic.h private\svn_cache.h private\svn_cmdline_private.h
337 private\svn_debug.h private\svn_error_private.h private\svn_fspath.h
338 private\svn_log.h private\svn_mergeinfo_private.h
339 private\svn_opt_private.h private\svn_skel.h private\svn_sqlite.h
340 private\svn_utf_private.h private\svn_eol_private.h
341 private\svn_token.h private\svn_adler32.h
342 private\svn_temp_serializer.h private\svn_io_private.h
343 private\svn_string_private.h private\svn_magic.h
344 private\svn_subr_private.h private\svn_mutex.h private\svn_named_atomic.h
347 # Working copy management lib
349 description = Subversion Working Copy Library
351 path = subversion/libsvn_wc
352 libs = libsvn_delta libsvn_diff libsvn_subr aprutil apriconv apr
354 msvc-export = svn_wc.h private\svn_wc_private.h
356 # Subversion plugin for Apache's mod_dav
358 description = Subversion plug-in for the Apache DAV module
359 when = INSTALL_APACHE_MODS
361 path = subversion/mod_dav_svn
362 sources = *.c reports/*.c posts/*.c
363 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr
364 nonlibs = apr aprutil
366 msvc-libs = mod_dav.lib libhttpd.lib
369 description = Subversion path-based authorization module for Apache
370 when = INSTALL_APACHE_MODS
372 path = subversion/mod_authz_svn
373 nonlibs = mod_dav_svn apr aprutil
374 libs = libsvn_repos libsvn_subr
376 msvc-libs = libhttpd.lib
379 description = Apache Httpd module to block certain kinds of Apache Subversion requests
380 when = INSTALL_APACHE_MODS
382 path = tools/server-side/mod_dontdothat
383 nonlibs = mod_dav_svn apr aprutil
384 libs = libsvn_subr xml
386 msvc-libs = libhttpd.lib
388 # ----------------------------------------------------------------------------
390 # CONSTRUCTED HEADERS
394 description = Schema for the rep-sharing feature
396 path = subversion/libsvn_fs_fs
397 sources = rep-cache-db.sql
400 desription = Queries on the WC database
402 path = subversion/libsvn_wc
403 sources = wc-queries.sql
406 description = Internal statements for SQLite interface
408 path = subversion/libsvn_subr
409 sources = internal_statements.sql
412 # ----------------------------------------------------------------------------
414 # TARGETS FOR I18N SUPPORT
420 external-project = svn_locale
422 # ----------------------------------------------------------------------------
424 # TARGETS FOR SWIG SUPPORT
429 path = subversion/bindings/swig
431 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
432 libsvn_diff libsvn_subr apr
433 description = Subversion core library bindings
434 include-runtime = yes
438 path = subversion/bindings/swig
439 sources = svn_client.i
440 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
441 libsvn_client libsvn_subr apr
443 description = Subversion client library bindings
447 path = subversion/bindings/swig
448 sources = svn_delta.i
449 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
450 libsvn_delta libsvn_subr apr
452 description = Subversion delta library bindings
456 path = subversion/bindings/swig
458 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
459 libsvn_diff libsvn_subr apr
461 description = Subversion diff library bindings
465 path = subversion/bindings/swig
467 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
468 libsvn_fs libsvn_subr apr
470 description = Subversion FS library bindings
474 path = subversion/bindings/swig
476 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
477 libsvn_ra libsvn_subr apr
479 description = Subversion RA library bindings
483 path = subversion/bindings/swig
484 sources = svn_repos.i
485 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
486 libsvn_repos libsvn_subr apr
488 description = Subversion repository library bindings
492 path = subversion/bindings/swig
494 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
495 libsvn_wc libsvn_subr apr
497 description = Subversion WC library bindings
499 # SWIG utility library for Python modules
503 path = subversion/bindings/swig/python/libsvn_swig_py
504 libs = libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_subr apriconv apr
506 install = swig-py-lib
507 # need special build rule to include -DSWIGPYTHON
508 compile-cmd = $(COMPILE_SWIG_PY)
511 # SWIG utility library for Perl modules
515 path = subversion/bindings/swig/perl/libsvn_swig_perl
516 libs = libsvn_delta libsvn_subr apriconv apr
517 install = swig-pl-lib
518 # need special build rule to include
519 compile-cmd = $(COMPILE_SWIG_PL)
522 # SWIG utility library for Ruby modules
526 path = subversion/bindings/swig/ruby/libsvn_swig_ruby
527 libs = libsvn_client libsvn_wc libsvn_delta libsvn_subr apriconv apr
528 link-cmd = $(LINK) $(SWIG_RB_LIBS)
529 install = swig-rb-lib
530 # need special build rule to include
531 compile-cmd = $(COMPILE_SWIG_RB)
534 # ----------------------------------------------------------------------------
540 path = subversion/bindings/javahl/src/org/apache/subversion/javahl
541 subversion/bindings/javahl/src/org/apache/subversion/javahl/callback
542 subversion/bindings/javahl/src/org/apache/subversion/javahl/types
543 src-root = subversion/bindings/javahl/src
545 install = javahl-java
546 link-cmd = $(COMPILE_JAVAHL_JAVAC)
547 classes = subversion/bindings/javahl/classes
552 path = subversion/bindings/javahl/src/org/tigris/subversion/javahl
554 install = javahl-java
555 link-cmd = $(COMPILE_JAVAHL_JAVAC)
556 classes = subversion/bindings/javahl/classes
557 add-deps = $(javahl_java_DEPS)
558 ### Replace JAR call in INSTALL_EXTRA_JAVAHL_JAVA macro Makefile.in.
559 #jar = svn-javahl.jar
564 path = subversion/bindings/javahl/tests/org/apache/subversion/javahl
566 install = javahl-java
567 link-cmd = $(COMPILE_JAVAHL_JAVAC)
568 classes = subversion/bindings/javahl/classes
570 ### Java targets don't do up-to-date checks yet.
571 #add-deps = javahl-java
572 add-deps = $(javahl_java_DEPS)
574 [javahl-compat-tests]
576 path = subversion/bindings/javahl/tests/org/tigris/subversion/javahl
578 install = javahl-java
579 link-cmd = $(COMPILE_JAVAHL_JAVAC)
580 classes = subversion/bindings/javahl/classes
582 ### Java targets don't do up-to-date checks yet.
583 #add-deps = javahl-compat-java
584 add-deps = $(javahl_compat_java_DEPS)
588 path = subversion/bindings/javahl/src/org/apache/subversion/javahl/types
589 classes = subversion/bindings/javahl/classes
590 headers = subversion/bindings/javahl/include
591 package = org.apache.subversion.javahl.types
593 add-deps = $(javahl_java_DEPS)
594 install = javahl-javah
595 link-cmd = $(COMPILE_JAVAHL_JAVAH) -force
597 [javahl-callback-javah]
599 path = subversion/bindings/javahl/src/org/apache/subversion/javahl/callback
600 classes = subversion/bindings/javahl/classes
601 headers = subversion/bindings/javahl/include
602 package = org.apache.subversion.javahl.callback
604 add-deps = $(javahl_java_DEPS)
605 install = javahl-javah
606 link-cmd = $(COMPILE_JAVAHL_JAVAH) -force
610 path = subversion/bindings/javahl/src/org/apache/subversion/javahl
611 classes = subversion/bindings/javahl/classes
612 headers = subversion/bindings/javahl/include
613 package = org.apache.subversion.javahl
615 add-deps = $(javahl_java_DEPS)
616 install = javahl-javah
617 link-cmd = $(COMPILE_JAVAHL_JAVAH) -force
620 description = Subversion Java HighLevel binding
622 path = subversion/bindings/javahl/native
623 libs = libsvn_repos libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_diff
624 libsvn_subr libsvn_fs aprutil apriconv apr
626 add-deps = $(javahl_javah_DEPS) $(javahl_java_DEPS) $(javahl_callback_javah_DEPS) $(javahl_types_javah_DEPS)
628 # need special build rule to include -I$(JDK)/include/jni.h
629 compile-cmd = $(COMPILE_JAVAHL_CXX)
630 link-cmd = $(LINK_JAVAHL_CXX)
632 # ----------------------------------------------------------------------------
638 description = Subversion C++ HighLevel bindings
640 path = subversion/bindings/cxxhl
641 libs = libsvn_repos libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_diff
642 libsvn_subr libsvn_fs aprutil apriconv apr
646 compile-cmd = $(COMPILE_CXXHL_CXX)
647 link-cmd = $(LINK_CXX_LIB)
650 description = Unit tests for Subversion C++ HighLevel bindings
652 path = subversion/bindings/cxxhl
653 libs = libsvncxxhl libsvn_subr
654 sources = tests/*.cpp
656 compile-cmd = $(COMPILE_CXXHL_CXX)
657 link-cmd = $(LINK_CXX)
659 # ----------------------------------------------------------------------------
664 # general library: our C testing framework
667 path = subversion/tests
669 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr aprutil apriconv apr
671 undefined-lib-symbols = yes
673 # ----------------------------------------------------------------------------
674 # Tests for libsvn_fs_base
677 description = Tests for *public* fs API (svn_fs.h)
679 path = subversion/tests/libsvn_fs_base
680 sources = fs-base-test.c
682 libs = libsvn_test libsvn_fs libsvn_fs_base libsvn_delta
683 libsvn_fs_util libsvn_subr apriconv apr
686 description = Test strings/reps in libsvn_fs_base
688 path = subversion/tests/libsvn_fs_base
689 sources = strings-reps-test.c
691 libs = libsvn_test libsvn_fs libsvn_fs_base libsvn_delta
692 libsvn_subr apriconv apr
695 description = Test changes in libsvn_fs_base
697 path = subversion/tests/libsvn_fs_base
698 sources = changes-test.c
700 libs = libsvn_test libsvn_fs libsvn_fs_base libsvn_delta
701 libsvn_subr apriconv apr
703 # ----------------------------------------------------------------------------
704 # Tests for libsvn_fs_fs
706 description = Test fsfs packing in libsvn_fs_fs
708 path = subversion/tests/libsvn_fs_fs
709 sources = fs-pack-test.c
711 libs = libsvn_test libsvn_fs libsvn_fs_fs libsvn_delta
712 libsvn_subr apriconv apr
714 # ----------------------------------------------------------------------------
715 # Tests for libsvn_fs
718 description = Test locks in libsvn_fs
720 path = subversion/tests/libsvn_fs
721 sources = locks-test.c
723 libs = libsvn_test libsvn_fs libsvn_delta libsvn_subr apriconv apr
726 description = Test locks in libsvn_fs
728 path = subversion/tests/libsvn_fs
731 libs = libsvn_test libsvn_fs libsvn_delta
732 libsvn_subr aprutil apriconv apr
734 # ----------------------------------------------------------------------------
735 # Tests for libsvn_repos
738 description = Test delta editor in libsvn_repos
740 path = subversion/tests/libsvn_repos
741 sources = repos-test.c dir-delta-editor.c
743 libs = libsvn_test libsvn_repos libsvn_fs libsvn_delta libsvn_subr apriconv apr
745 # ----------------------------------------------------------------------------
746 # Tests for libsvn_subr
749 description = Test platform-specific auth provider access
751 path = subversion/tests/libsvn_subr
752 sources = auth-test.c
754 libs = libsvn_test libsvn_subr apr
757 description = Test in-memory cache
759 path = subversion/tests/libsvn_subr
760 sources = cache-test.c
762 libs = libsvn_test libsvn_subr apr
765 description = Test checksum functions
767 path = subversion/tests/libsvn_subr
768 sources = checksum-test.c
770 libs = libsvn_test libsvn_subr apr zlib
773 description = Test compatibility functions
775 path = subversion/tests/libsvn_subr
776 sources = compat-test.c
778 libs = libsvn_test libsvn_subr apr
781 description = Test svn_config utilities
783 path = subversion/tests/libsvn_subr
784 sources = config-test.c
786 libs = libsvn_test libsvn_subr apriconv apr
789 description = Test svn_crypto utilities
791 path = subversion/tests/libsvn_subr
792 sources = crypto-test.c
794 libs = libsvn_test libsvn_subr aprutil apr
797 description = Test dirent_uri library
799 path = subversion/tests/libsvn_subr
800 sources = dirent_uri-test.c
802 libs = libsvn_test libsvn_subr apriconv apr
805 description = Test error library
807 path = subversion/tests/libsvn_subr
808 sources = error-test.c
810 libs = libsvn_test libsvn_subr apriconv apr
813 description = Test error library
815 path = subversion/tests/libsvn_subr
816 sources = error-code-test.c
818 libs = libsvn_test libsvn_subr apriconv apr
821 description = Test hashfile format for props
823 path = subversion/tests/libsvn_subr
824 sources = hashdump-test.c
826 libs = libsvn_test libsvn_subr apriconv apr
829 description = Test I/O Operations
831 path = subversion/tests/libsvn_subr
834 libs = libsvn_test libsvn_subr apriconv apr
837 description = Test options library
839 path = subversion/tests/libsvn_subr
842 libs = libsvn_test libsvn_subr apr
845 description = Test mergeinfo library
847 path = subversion/tests/libsvn_subr
848 sources = mergeinfo-test.c
850 libs = libsvn_test libsvn_subr apr
853 description = Test named atomics
855 path = subversion/tests/libsvn_subr
856 sources = named_atomic-test.c
858 libs = libsvn_test libsvn_subr apr
860 [named_atomic-proc-test]
861 description = Sub-process for named atomics
863 path = subversion/tests/libsvn_subr
864 sources = named_atomic-test-proc.c
866 libs = libsvn_subr apr
869 description = Test path library
871 path = subversion/tests/libsvn_subr
872 sources = path-test.c
874 libs = libsvn_test libsvn_subr apriconv apr
877 description = Test revision library
879 path = subversion/tests/libsvn_subr
880 sources = revision-test.c
882 libs = libsvn_test libsvn_subr apr
885 description = Test skels in libsvn_subr
887 path = subversion/tests/libsvn_subr
888 sources = skel-test.c
890 libs = libsvn_test libsvn_subr apriconv apr
893 description = Test spillbuf in libsvn_subr
895 path = subversion/tests/libsvn_subr
896 sources = spillbuf-test.c
898 libs = libsvn_test libsvn_subr apriconv apr
901 description = Test stream library
903 path = subversion/tests/libsvn_subr
904 sources = stream-test.c
906 libs = libsvn_test libsvn_subr apriconv apr
909 description = Test svn_stringbuf_t utilities
911 path = subversion/tests/libsvn_subr
912 sources = string-test.c
914 libs = libsvn_test libsvn_subr apriconv apr
917 description = Test time functions
919 path = subversion/tests/libsvn_subr
920 sources = time-test.c
922 libs = libsvn_test libsvn_subr apriconv apr
925 description = Test UTF-8 functions
927 path = subversion/tests/libsvn_subr
930 libs = libsvn_test libsvn_subr apriconv apr
932 [subst_translate-test]
933 description = Test the svn_subst_translate* functions
935 path = subversion/tests/libsvn_subr
936 sources = subst_translate-test.c
938 libs = libsvn_test libsvn_subr apriconv apr
941 description = Test eol conversion and keyword substitution routines
943 path = subversion/tests/libsvn_subr
944 sources = translate-test.c
946 libs = libsvn_test libsvn_subr apriconv apr
948 # ----------------------------------------------------------------------------
949 # Tests for libsvn_delta
952 description = Use random data to test delta processing
954 path = subversion/tests/libsvn_delta
955 sources = random-test.c
957 libs = libsvn_test libsvn_delta libsvn_subr apriconv apr
960 description = Test delta window generation
962 path = subversion/tests/libsvn_delta
963 sources = window-test.c
965 libs = libsvn_test libsvn_delta libsvn_subr apriconv apr
967 # ----------------------------------------------------------------------------
968 # Tests for libsvn_client
971 description = Test low-level functionality in libsvn_client
973 path = subversion/tests/libsvn_client
974 sources = client-test.c
976 libs = libsvn_test libsvn_client libsvn_wc libsvn_repos libsvn_ra libsvn_fs libsvn_delta libsvn_subr apriconv apr
978 # ----------------------------------------------------------------------------
979 # Tests for libsvn_diff
982 description = Test the diff/diff3 library
984 path = subversion/tests/libsvn_diff
985 sources = diff-diff3-test.c
987 libs = libsvn_test libsvn_diff libsvn_subr apriconv apr
990 description = Test unidiff parsing
992 path = subversion/tests/libsvn_diff
993 sources = parse-diff-test.c
995 libs = libsvn_test libsvn_diff libsvn_subr apriconv apr
997 # ----------------------------------------------------------------------------
998 # Tests for libsvn_ra
1001 description = Test a few things in libsvn_ra
1003 path = subversion/tests/libsvn_ra
1006 libs = libsvn_test libsvn_ra libsvn_fs libsvn_delta libsvn_subr
1009 # ----------------------------------------------------------------------------
1010 # Tests for libsvn_ra_local
1013 description = Test a few things in libsvn_ra_local
1015 path = subversion/tests/libsvn_ra_local
1016 sources = ra-local-test.c
1018 libs = libsvn_test libsvn_ra_local libsvn_ra libsvn_fs libsvn_delta libsvn_subr
1021 # ----------------------------------------------------------------------------
1022 # Tests for libsvn_wc
1024 [conflict-data-test]
1025 description = Test the storage of tree conflict data
1027 path = subversion/tests/libsvn_wc
1028 sources = conflict-data-test.c utils.c
1030 libs = libsvn_client libsvn_test libsvn_wc libsvn_subr apriconv apr
1033 description = Test the wc-ng database subsystem
1035 path = subversion/tests/libsvn_wc
1036 sources = db-test.c utils.c
1038 libs = libsvn_client libsvn_test libsvn_wc libsvn_subr apriconv apr
1040 [pristine-store-test]
1041 description = Test the wc-ng pristine text storage subsystem
1043 path = subversion/tests/libsvn_wc
1044 sources = pristine-store-test.c utils.c
1046 libs = libsvn_client libsvn_test libsvn_wc libsvn_subr apriconv apr
1048 [entries-compat-test]
1049 description = Test backwards compat for the entry interface
1051 path = subversion/tests/libsvn_wc
1052 sources = entries-compat.c utils.c
1054 libs = libsvn_client libsvn_test libsvn_wc libsvn_subr apriconv apr
1057 description = Test layered tree changes
1059 path = subversion/tests/libsvn_wc
1060 sources = op-depth-test.c utils.c
1062 libs = libsvn_client libsvn_test libsvn_wc libsvn_subr apriconv apr
1065 description = Test Sqlite query evaluation
1067 path = subversion/tests/libsvn_wc
1068 sources = wc-queries-test.c
1070 libs = libsvn_test libsvn_subr apriconv apr sqlite
1073 description = Test the main WC API functions
1075 path = subversion/tests/libsvn_wc
1076 sources = wc-test.c utils.c
1078 libs = libsvn_client libsvn_test libsvn_wc libsvn_subr apriconv apr
1080 # ----------------------------------------------------------------------------
1081 # These are not unit tests at all, they are small programs that exercise
1082 # parts of the libsvn_delta API from the command line. They are stuck here
1083 # because of some historical association with the test-suite, but should
1084 # really be put somewhere else.
1086 # test our textdelta encoding
1089 path = subversion/tests/libsvn_delta
1090 sources = svndiff-test.c
1092 libs = libsvn_delta libsvn_subr apriconv apr
1095 # compare two files, print txdelta windows
1098 path = subversion/tests/libsvn_delta
1099 sources = vdelta-test.c
1101 libs = libsvn_delta libsvn_subr apriconv apr
1106 path = subversion/tests/cmdline
1107 sources = entries-dump.c
1109 libs = libsvn_wc libsvn_subr apriconv apr
1112 [atomic-ra-revprop-change]
1114 path = subversion/tests/cmdline
1115 sources = atomic-ra-revprop-change.c
1117 libs = libsvn_ra libsvn_subr apriconv apr
1122 path = subversion/tests/libsvn_wc
1123 sources = wc-lock-tester.c
1125 libs = libsvn_wc libsvn_subr apriconv apr
1128 [wc-incomplete-tester]
1130 path = subversion/tests/libsvn_wc
1131 sources = wc-incomplete-tester.c
1133 libs = libsvn_wc libsvn_subr apriconv apr
1136 # ----------------------------------------------------------------------------
1138 # EXTERNAL TARGETS (NO BUILD NEEDED)
1143 external-lib = $(SVN_APR_LIBS)
1144 msvc-libs = ws2_32.lib rpcrt4.lib mswsock.lib
1148 external-lib = $(SVN_APRUTIL_LIBS)
1152 external-lib = $(SVN_APRUTIL_LIBS)
1156 external-lib = $(SVN_DB_LIBS)
1160 external-lib = $(SVN_GNOME_KEYRING_LIBS)
1164 external-lib = $(SVN_KWALLET_LIBS)
1168 external-lib = $(SVN_MAGIC_LIBS)
1172 external-lib = $(SVN_SASL_LIBS)
1176 external-lib = $(SVN_ZLIB_LIBS)
1177 external-project = zlib
1182 external-lib = $(SVN_APR_MEMCACHE_LIBS)
1186 external-lib = $(SVN_SERF_LIBS)
1187 external-project = serf/serf
1188 libs = apr aprutil xml
1193 external-lib = $(SVN_SQLITE_LIBS)
1197 external-lib = $(SVN_XML_LIBS)
1201 external-lib = $(SVN_RA_LIB_LINK)
1202 libs = libsvn_ra_serf libsvn_ra_local libsvn_ra_svn
1206 external-lib = $(SVN_FS_LIB_LINK)
1207 libs = libsvn_fs_base libsvn_fs_fs
1212 libs = svn svnadmin svndumpfilter svnlook svnmucc svnserve svnrdump svnsync
1214 mod_authz_svn mod_dav_svn mod_dontdothat
1215 svnauthz svnauthz-validate svnraisetreeconflict
1221 fs-test fs-base-test fs-fsfs-test fs-pack-test skel-test
1222 strings-reps-test changes-test locks-test repos-test
1223 checksum-test compat-test config-test hashdump-test mergeinfo-test
1224 opt-test path-test stream-test string-test time-test utf-test
1225 error-test error-code-test cache-test spillbuf-test crypto-test
1226 named_atomic-test named_atomic-proc-test revision-test
1227 subst_translate-test io-test
1229 random-test window-test
1233 svndiff-test vdelta-test
1234 entries-dump atomic-ra-revprop-change wc-lock-tester wc-incomplete-tester
1236 conflict-data-test db-test pristine-store-test entries-compat-test
1237 op-depth-test dirent_uri-test wc-queries-test wc-test
1244 libs = __ALL_TESTS__
1245 diff diff3 diff4 fsfs-reorg fsfs-stats fsfs-access-map svn-bench
1246 svn-rep-sharing-stats svn-populate-node-origins-index
1251 libs = fs-libs ra-libs libsvn_client libsvn_subr libsvn_wc
1252 aprutil apriconv apr
1256 external-project = svn_config
1261 libs = swig_client swig_delta swig_diff swig_fs swig_ra swig_repos swig_wc swig_core
1267 libs = swig_client swig_delta swig_diff swig_fs swig_ra swig_repos swig_wc swig_core
1273 libs = swig_client swig_delta swig_diff swig_fs swig_ra swig_repos swig_wc swig_core
1279 libs = javahl-java javahl-javah libsvnjavahl
1284 libs = __JAVAHL__ javahl-tests javahl-compat-tests
1286 # ----------------------------------------------------------------------------
1292 sources = fsfs-reorg.c
1294 libs = libsvn_delta libsvn_subr apr
1298 path = tools/server-side
1299 sources = fsfs-stats.c
1301 libs = libsvn_delta libsvn_subr apr
1306 sources = fsfs-access-map.c
1308 libs = libsvn_subr apr
1315 libs = libsvn_diff libsvn_subr apriconv apr
1322 libs = libsvn_diff libsvn_subr apriconv apr
1329 libs = libsvn_diff libsvn_subr apriconv apr
1333 path = tools/client-side/svn-bench
1335 libs = libsvn_client libsvn_wc libsvn_ra libsvn_subr libsvn_delta
1339 description = Authz config file tool
1341 path = tools/server-side
1342 sources = svnauthz.c
1344 libs = libsvn_repos libsvn_fs libsvn_subr apr
1346 # svnauthz-validate is the compat mode of the new svnauthz tool. It is
1347 # exactly the same code as svnauthz. This duplicated target is needed
1348 # in order to easily test both commands as part of the build since libtool
1349 # does not provide a way to set argv[0] different from the commands actual
1350 # name in the wrapper script.
1352 description = Authz config file validator
1354 path = tools/server-side
1355 sources = svnauthz.c
1357 libs = libsvn_repos libsvn_fs libsvn_subr apr
1359 [svn-populate-node-origins-index]
1361 path = tools/server-side
1362 sources = svn-populate-node-origins-index.c
1364 libs = libsvn_repos libsvn_fs libsvn_subr apr
1366 [svnraisetreeconflict]
1367 description = Tool to Flag a Tree Conflict
1369 path = tools/dev/svnraisetreeconflict
1370 libs = libsvn_wc libsvn_subr apriconv apr
1373 [svn-rep-sharing-stats]
1375 path = tools/server-side
1376 sources = svn-rep-sharing-stats.c
1378 libs = libsvn_repos libsvn_fs libsvn_fs_fs libsvn_subr apriconv apr