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