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