Add log-revprops capability, and use that to determine whether the
[svn.git] / build.conf
blob0f02a694b0f3d7506ad07278f70e94604120908f
2 # build.conf -- configuration information for building Subversion
4 ######################################################################
6 # Copyright (c) 2000-2006 CollabNet.  All rights reserved.
8 # This software is licensed as described in the file COPYING, which
9 # you should have received as part of this distribution.  The terms
10 # are also available at http://subversion.tigris.org/license-1.html.
11 # If newer versions of this license are posted there, you may use a
12 # newer version instead, at your option.
14 ######################################################################
16 # This file is processed by gen-make.py, creating build-outputs.mk
19 # ----------------------------------------------------------------------------
21 # PREDEFINED SECTION
23 # This [options] section is global in scope, providing information to the
24 # process, rather than defining a build target, as all other sections do.
27 [options]
28 includes = subversion/include/*.h
29 include-wildcards = *.h *.i *.swg
30 private-includes =
31         subversion/include/private/*.h
32         subversion/bindings/swig/include/*.swg
33         subversion/libsvn_delta/compose_delta.c
34 private-built-includes =
35         subversion/svn_private_config.h
36         subversion/bindings/swig/proxy/swig_python_external_runtime.swg
37         subversion/bindings/swig/proxy/swig_perl_external_runtime.swg
38         subversion/bindings/swig/proxy/swig_ruby_external_runtime.swg
39         subversion/bindings/javahl/include/org_tigris_subversion_javahl_CommitItemStateFlags.h
40         subversion/bindings/javahl/include/org_tigris_subversion_javahl_ConflictDescriptor_Kind.h
41         subversion/bindings/javahl/include/org_tigris_subversion_javahl_ConflictDescriptor_Action.h
42         subversion/bindings/javahl/include/org_tigris_subversion_javahl_ConflictDescriptor_Reason.h
43         subversion/bindings/javahl/include/org_tigris_subversion_javahl_ConflictResult.h
44         subversion/bindings/javahl/include/org_tigris_subversion_javahl_LockStatus.h
45         subversion/bindings/javahl/include/org_tigris_subversion_javahl_NodeKind.h
46         subversion/bindings/javahl/include/org_tigris_subversion_javahl_NotifyAction.h
47         subversion/bindings/javahl/include/org_tigris_subversion_javahl_NotifyStatus.h
48         subversion/bindings/javahl/include/org_tigris_subversion_javahl_NativeResources.h
49         subversion/bindings/javahl/include/org_tigris_subversion_javahl_Path.h
50         subversion/bindings/javahl/include/org_tigris_subversion_javahl_PromptUserPassword2.h
51         subversion/bindings/javahl/include/org_tigris_subversion_javahl_Revision.h
52         subversion/bindings/javahl/include/org_tigris_subversion_javahl_RevisionKind.h
53         subversion/bindings/javahl/include/org_tigris_subversion_javahl_SVNAdmin.h
54         subversion/bindings/javahl/include/org_tigris_subversion_javahl_SVNClient.h
55         subversion/bindings/javahl/include/org_tigris_subversion_javahl_SVNClientLogLevel.h
56         subversion/bindings/javahl/include/org_tigris_subversion_javahl_ScheduleKind.h
57         subversion/bindings/javahl/include/org_tigris_subversion_javahl_StatusKind.h
58         subversion/bindings/javahl/include/org_tigris_subversion_javahl_Version.h
61 # Makefile.in and config.m4 (omit README)
62 static-apache-files = subversion/mod_dav_svn/static/[Mc]*
64 test-scripts =
65         subversion/tests/libsvn_subr/target-test.py
66         subversion/tests/cmdline/getopt_tests.py
67         subversion/tests/cmdline/basic_tests.py
68         subversion/tests/cmdline/checkout_tests.py
69         subversion/tests/cmdline/commit_tests.py
70         subversion/tests/cmdline/update_tests.py
71         subversion/tests/cmdline/switch_tests.py
72         subversion/tests/cmdline/prop_tests.py
73         subversion/tests/cmdline/schedule_tests.py
74         subversion/tests/cmdline/log_tests.py
75         subversion/tests/cmdline/copy_tests.py
76         subversion/tests/cmdline/diff_tests.py
77         subversion/tests/cmdline/export_tests.py
78         subversion/tests/cmdline/externals_tests.py
79         subversion/tests/cmdline/merge_tests.py
80         subversion/tests/cmdline/merge_authz_tests.py
81         subversion/tests/cmdline/revert_tests.py
82         subversion/tests/cmdline/stat_tests.py
83         subversion/tests/cmdline/trans_tests.py
84         subversion/tests/cmdline/autoprop_tests.py
85         subversion/tests/cmdline/blame_tests.py
86         subversion/tests/cmdline/special_tests.py
87         subversion/tests/cmdline/svnadmin_tests.py
88         subversion/tests/cmdline/svnlook_tests.py
89         subversion/tests/cmdline/svnversion_tests.py
90         subversion/tests/cmdline/utf8_tests.py
91         subversion/tests/cmdline/history_tests.py
92         subversion/tests/cmdline/lock_tests.py
93         subversion/tests/cmdline/cat_tests.py
94         subversion/tests/cmdline/import_tests.py
95         subversion/tests/cmdline/svnsync_tests.py
96         subversion/tests/cmdline/authz_tests.py
97         subversion/tests/cmdline/depth_tests.py
99 bdb-test-scripts =
101 swig-python-opts = -python -classic
102 swig-perl-opts = -perl -nopm -noproxy
103 swig-ruby-opts = -ruby
104 swig-languages = python perl ruby
105 swig-dirs = 
106         subversion/bindings/swig/python
107         subversion/bindings/swig/perl
108         subversion/bindings/swig/ruby
109         subversion/bindings/swig/proxy
111 swig-proxy-dir = subversion/bindings/swig/proxy
112 swig-checkout-files = common.swg swigrun.swg runtime.swg
113                       ruby/rubydef.swg ruby/rubyhead.swg ruby/rubytracking.swg
114                       perl5/perlrun.swg python/pyrun.swg python/python.swg
116 # ----------------------------------------------------------------------------
118 # BUILD TARGETS
121 # Explanation for the seemingly-spurious mention of 'neon' in the libs lines
122 # for svn, svnsync, ra-local-test, svn-push and svnmucc:
123 # This is a workaround for a libtool bug, which manifests on Linux and similar
124 # ELF platforms, when linking to an installed Neon, and there are old
125 # Subversion libraries in the same directory as the installed Neon.  In such
126 # cases, the run-before-installing version of the executables (.libs/lt-foo),
127 # gets given an ELF RPATH which includes the install directory *before* all the
128 # uninstalled libsvn_foo/.libs directories have been mentioned.  This occurs
129 # because when libtool is at the point of handling Neon, it adds an RPATH entry
130 # pointing to its directory, but fails to correctly consider that it should
131 # prioritize all the RPATH entries for *un*installed libraries before all those
132 # for installed libraries, to avoid this bug.  As a kludgy workaround, we add
133 # a mention of 'neon' to the end of the libs lines for executables which
134 # indirectly link to libsvn_ra_neon, which has the effect of 'pulling' the
135 # harmful RPATH entry toward the end of RPATH, enabling the executables to run
136 # correctly before installation, even when old versions of the Subversion
137 # libraries are present.
138 # This bug was last confirmed to be present in libtool 1.5.22.
140 # The subversion command-line client
141 [svn]
142 description = Subversion Client
143 type = exe
144 path = subversion/svn
145 libs = libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_diff libsvn_subr
146        apriconv apr neon
147 manpages = subversion/svn/svn.1
148 install = bin
150 # The subversion repository administration tool
151 [svnadmin]
152 description = Subversion Repository Administrator
153 type = exe
154 path = subversion/svnadmin
155 install = bin
156 manpages = subversion/svnadmin/svnadmin.1
157 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr apriconv apr sqlite
159 # The subversion repository dump filtering tool
160 [svndumpfilter]
161 description = Subversion Dumpfile Filter
162 type = exe
163 path = subversion/svndumpfilter
164 install = bin
165 manpages = subversion/svndumpfilter/svndumpfilter.1
166 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr apriconv apr sqlite
168 # The subversion repository inspection tool
169 [svnlook]
170 description = Subversion Repository Browser
171 type = exe
172 path = subversion/svnlook
173 install = bin
174 manpages = subversion/svnlook/svnlook.1
175 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_diff libsvn_subr apriconv apr 
176        sqlite
178 [svnserve]
179 description = Subversion Server
180 type = exe
181 path = subversion/svnserve
182 install = bin
183 manpages = subversion/svnserve/svnserve.8 subversion/svnserve/svnserve.conf.5
184 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr libsvn_ra_svn
185        apriconv apr sasl
186 msvc-libs = advapi32.lib ws2_32.lib
188 [svnsync]
189 description = Subversion repository replicator
190 type = exe
191 path = subversion/svnsync
192 libs = libsvn_ra libsvn_delta libsvn_subr apr neon
193 install = bin
194 manpages = subversion/svnsync/svnsync.1
196 [svnversion]
197 description = Subversion Revision Extractor
198 type = exe
199 path = subversion/svnversion
200 libs = libsvn_wc libsvn_subr apriconv apr
201 install = bin
202 manpages = subversion/svnversion/svnversion.1
204 # Library needed by all subversion clients
205 [libsvn_client]
206 description = Subversion Client Library
207 type = lib
208 path = subversion/libsvn_client
209 libs = libsvn_wc libsvn_ra libsvn_delta libsvn_diff libsvn_subr apriconv apr
210 install = lib
211 msvc-export = svn_client.h
213 # Routines for binary diffing and tree-deltas
214 [libsvn_delta]
215 description = Subversion Delta Library
216 type = lib
217 install = fsmod-lib
218 path = subversion/libsvn_delta
219 libs = libsvn_subr aprutil apriconv apr zlib
220 msvc-export = svn_delta.h
222 # Routines for diffing
223 [libsvn_diff]
224 description = Subversion Diff Library
225 type = lib
226 path = subversion/libsvn_diff
227 libs = libsvn_subr apriconv apr
228 install = lib
229 msvc-export = svn_diff.h
231 # The repository filesystem library
232 [libsvn_fs]
233 description = Subversion Repository Filesystem Library
234 type = lib
235 path = subversion/libsvn_fs
236 install = ramod-lib
237 libs = libsvn_subr fs-libs apr sqlite
238 # conditionally add more dependencies
239 add-deps = $(SVN_FS_LIB_DEPS)
240 add-install-deps = $(SVN_FS_LIB_INSTALL_DEPS)
241 msvc-export = svn_fs.h
243 [libsvn_fs_base]
244 type = fs-module
245 path = subversion/libsvn_fs_base
246 sources = *.c bdb/*.c util/*.c
247 install = bdb-lib
248 libs = libsvn_delta libsvn_subr aprutil apriconv apr bdb libsvn_fs_util
249 msvc-static = yes
251 [libsvn_fs_fs]
252 type = fs-module
253 path = subversion/libsvn_fs_fs
254 install = fsmod-lib
255 libs = libsvn_delta libsvn_subr aprutil apriconv apr libsvn_fs_util
256 msvc-static = yes
258 # General API for accessing repositories
259 [libsvn_ra]
260 description = Subversion Repository Access Library
261 type = lib
262 path = subversion/libsvn_ra
263 libs = libsvn_subr ra-libs apriconv apr
264 # conditionally add more dependencies
265 add-deps = $(SVN_RA_LIB_DEPS)
266 add-install-deps = $(SVN_RA_LIB_INSTALL_DEPS)
267 install = lib
268 msvc-export = svn_ra.h
270 # Accessing repositories via DAV through neon
271 [libsvn_ra_neon]
272 type = ra-module
273 path = subversion/libsvn_ra_neon
274 install = neon-lib
275 libs = libsvn_delta libsvn_subr aprutil apriconv apr neon
276 msvc-static = yes
278 # Accessing repositories via DAV through serf
279 [libsvn_ra_serf]
280 type = ra-module
281 path = subversion/libsvn_ra_serf
282 install = serf-lib
283 libs = libsvn_delta libsvn_subr aprutil apriconv apr serf
284 msvc-static = yes
286 # Accessing repositories via SVN
287 [libsvn_ra_svn]
288 type = ra-module
289 path = subversion/libsvn_ra_svn
290 install = ramod-lib
291 libs = libsvn_delta libsvn_subr aprutil apriconv apr sasl
292 msvc-static = yes
294 # Accessing repositories via direct libsvn_fs
295 [libsvn_ra_local]
296 type = ra-module
297 path = subversion/libsvn_ra_local
298 install = ramod-lib
299 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr apriconv apr
300 msvc-static = yes
302 # Routines built on top of libsvn_fs
303 [libsvn_repos]
304 description = Subversion Repository Library
305 type = lib
306 path = subversion/libsvn_repos
307 install = ramod-lib
308 libs = libsvn_fs libsvn_delta libsvn_subr apriconv apr
309 msvc-export = svn_repos.h
311 # Low-level grab bag of utilities
312 [libsvn_subr]
313 description = Subversion General Utility Library
314 type = lib
315 install = fsmod-lib
316 path = subversion/libsvn_subr
317 libs = aprutil apriconv apr xml zlib
318 msvc-libs = advapi32.lib shfolder.lib ole32.lib
319 msvc-export = svn_auth.h svn_base64.h svn_cmdline.h svn_compat.h svn_config.h svn_ctype.h svn_dso.h svn_error.h svn_hash.h svn_io.h svn_md5.h svn_nls.h svn_opt.h svn_mergeinfo.h svn_path.h svn_pools.h svn_props.h svn_quoprint.h svn_sorts.h svn_string.h svn_subst.h svn_time.h svn_types.h svn_user.h svn_utf.h svn_version.h svn_xml.h private\svn_atomic.h private\svn_mergeinfo_private.h svn_iter.h
321 # Low-level grab bag of utilities
322 [libsvn_fs_util]
323 type = lib
324 install = fsmod-lib
325 path = subversion/libsvn_fs_util
326 libs = libsvn_subr aprutil apriconv apr sqlite
327 msvc-libs = advapi32.lib shfolder.lib
328 msvc-static = yes
330 # Working copy management lib
331 [libsvn_wc]
332 description = Subversion Working Copy Library
333 type = lib
334 path = subversion/libsvn_wc
335 libs = libsvn_delta libsvn_diff libsvn_subr aprutil apriconv apr
336 install = lib
337 msvc-export = svn_wc.h private\svn_wc_private.h
339 # Subversion plugin for Apache's mod_dav
340 [mod_dav_svn]
341 description = Subversion plug-in for the Apache DAV module
342 type = apache-mod
343 path = subversion/mod_dav_svn
344 sources = *.c reports/*.c
345 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr
346 nonlibs = apr aprutil
347 install = apache-mod
348 msvc-libs = mod_dav.lib libhttpd.lib
350 [mod_authz_svn]
351 description = Subversion path-based authorization module for Apache
352 type = apache-mod
353 path = subversion/mod_authz_svn
354 nonlibs = mod_dav_svn apr aprutil
355 libs = libsvn_repos libsvn_subr
356 install = apache-mod
357 msvc-libs = libhttpd.lib
359 # ----------------------------------------------------------------------------
361 # TARGETS FOR I18N SUPPORT
363 [locale]
364 type = i18n
365 path = subversion/po
366 install = locale
367 external-project = build/win32/svn_locale
369 # ----------------------------------------------------------------------------
371 # TARGETS FOR SWIG SUPPORT
374 [swig_core]
375 type = swig
376 path = subversion/bindings/swig
377 sources = core.i
378 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
379        libsvn_diff libsvn_subr apr
380 description = Subversion core library bindings
381 include-runtime = yes
383 [swig_client]
384 type = swig
385 path = subversion/bindings/swig
386 sources = svn_client.i
387 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
388        libsvn_client libsvn_subr apr
389 nonlibs = swig_core
390 description = Subversion client library bindings
392 [swig_delta]
393 type = swig
394 path = subversion/bindings/swig
395 sources = svn_delta.i
396 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
397        libsvn_delta libsvn_subr apr
398 nonlibs = swig_core
399 description = Subversion delta library bindings
401 [swig_fs]
402 type = swig
403 path = subversion/bindings/swig
404 sources = svn_fs.i
405 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
406        libsvn_fs libsvn_subr apr
407 nonlibs = swig_core
408 description = Subversion FS library bindings
410 [swig_ra]
411 type = swig
412 path = subversion/bindings/swig
413 sources = svn_ra.i
414 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
415        libsvn_ra libsvn_subr apr
416 nonlibs = swig_core
417 description = Subversion RA library bindings
419 [swig_repos]
420 type = swig
421 path = subversion/bindings/swig
422 sources = svn_repos.i
423 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
424        libsvn_repos libsvn_subr apr
425 nonlibs = swig_core
426 description = Subversion repository library bindings
428 [swig_wc]
429 type = swig
430 path = subversion/bindings/swig
431 sources = svn_wc.i
432 libs = libsvn_swig_py libsvn_swig_perl libsvn_swig_ruby
433        libsvn_wc libsvn_subr apr
434 nonlibs = swig_core
435 description = Subversion WC library bindings
437 # SWIG utility library for Python modules
438 [libsvn_swig_py]
439 type = swig_lib
440 lang = python
441 path = subversion/bindings/swig/python/libsvn_swig_py
442 libs = libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_subr apriconv apr
443 link-cmd = $(LINK) $(SWIG_PY_LIBS)
444 install = swig-py-lib
445 # need special build rule to include -DSWIGPYTHON
446 compile-cmd = $(COMPILE_SWIG_PY)
447 msvc-static = no
449 # SWIG utility library for Perl modules
450 [libsvn_swig_perl]
451 type = swig_lib
452 lang = perl
453 path = subversion/bindings/swig/perl/libsvn_swig_perl
454 libs = libsvn_delta libsvn_subr apriconv apr
455 install = swig-pl-lib
456 # need special build rule to include
457 compile-cmd = $(COMPILE_SWIG_PL)
458 msvc-static = yes
460 # SWIG utility library for Ruby modules
461 [libsvn_swig_ruby]
462 type = swig_lib
463 lang = ruby
464 path = subversion/bindings/swig/ruby/libsvn_swig_ruby
465 libs = libsvn_client libsvn_wc libsvn_delta libsvn_subr apriconv apr
466 link-cmd = $(LINK) $(SWIG_RB_LIBS)
467 install = swig-rb-lib
468 # need special build rule to include
469 compile-cmd = $(COMPILE_SWIG_RB)
470 msvc-static = no
472 # ----------------------------------------------------------------------------
474 # JavaHL targets
476 [javahl-java]
477 type = java
478 path = subversion/bindings/javahl/src/org/tigris/subversion/javahl
479 sources = *.java
480 install = javahl-java
481 link-cmd = $(COMPILE_JAVAHL_JAVAC)
482 classes = subversion/bindings/javahl/classes
483 ### Replace JAR call in INSTALL_EXTRA_JAVAHL_JAVA macro Makefile.in.
484 #jar = svn-javahl.jar
485 package-roots = org
487 [javahl-tests]
488 type = java
489 path = subversion/bindings/javahl/tests/org/tigris/subversion/javahl
490 sources = *.java
491 install = javahl-java
492 link-cmd = $(COMPILE_JAVAHL_JAVAC)
493 classes = subversion/bindings/javahl/classes
494 package-roots = org
495 ### Java targets don't do up-to-date checks yet.
496 #add-deps = javahl-java
498 [javahl-javah]
499 type = javah 
500 path = subversion/bindings/javahl/src/org/tigris/subversion/javahl
501 classes = subversion/bindings/javahl/classes
502 headers = subversion/bindings/javahl/include
503 package = org.tigris.subversion.javahl
504 sources = *.java
505 add-deps = $(javahl_java_DEPS)
506 install = javahl-javah
507 link-cmd = $(COMPILE_JAVAHL_JAVAH) -force
509 [libsvnjavahl]
510 description = Subversion Java HighLevel binding
511 type = lib
512 path = subversion/bindings/javahl/native
513 libs = libsvn_repos libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_diff 
514        libsvn_subr libsvn_fs aprutil apriconv apr neon
515 sources = *.cpp *.c
516 add-deps = $(javahl_javah_DEPS) $(javahl_java_DEPS)
517 install = javahl-lib
518 # need special build rule to include -I$(JDK)/include/jni.h
519 compile-cmd = $(COMPILE_JAVAHL_CXX)
520 link-cmd = $(LINK_JAVAHL_CXX)
522 # ----------------------------------------------------------------------------
524 # TESTING TARGETS
527 # general library:  our C testing framework
528 [libsvn_test]
529 type = lib
530 path = subversion/tests
531 install = test
532 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr aprutil apriconv apr
533 msvc-static = yes
534 undefined-lib-symbols = yes
536 # ----------------------------------------------------------------------------
537 # Tests for libsvn_fs_base
539 [fs-base-test]
540 description = Tests for *public* fs API (svn_fs.h)
541 type = exe
542 path = subversion/tests/libsvn_fs_base
543 sources = fs-base-test.c
544 install = bdb-test
545 libs = libsvn_test libsvn_fs libsvn_fs_base libsvn_delta
546        libsvn_fs_util libsvn_subr apriconv apr
548 [skel-test]
549 description = Test skels in libsvn_fs_base
550 type = exe
551 path = subversion/tests/libsvn_fs_base
552 sources = skel-test.c
553 install = bdb-test
554 libs = libsvn_test libsvn_fs_base libsvn_subr apriconv apr
556 [key-test]
557 description = Test keygen funcs in libsvn_fs_base
558 type = exe
559 path = subversion/tests/libsvn_fs_base
560 sources = key-test.c
561 install = bdb-test
562 libs = libsvn_test libsvn_fs_base libsvn_subr apriconv apr 
564 [strings-reps-test]
565 description = Test strings/reps in libsvn_fs_base
566 type = exe
567 path = subversion/tests/libsvn_fs_base
568 sources = strings-reps-test.c
569 install = bdb-test
570 libs = libsvn_test libsvn_fs libsvn_fs_base libsvn_delta
571        libsvn_subr apriconv apr
573 [changes-test]
574 description = Test changes in libsvn_fs_base
575 type = exe
576 path = subversion/tests/libsvn_fs_base
577 sources = changes-test.c
578 install = bdb-test
579 libs = libsvn_test libsvn_fs libsvn_fs_base libsvn_delta
580        libsvn_subr apriconv apr
582 # ----------------------------------------------------------------------------
583 # Tests for libsvn_fs
585 [locks-test]
586 description = Test locks in libsvn_fs
587 type = exe
588 path = subversion/tests/libsvn_fs
589 sources = locks-test.c
590 install = test
591 libs = libsvn_test libsvn_fs libsvn_delta libsvn_subr apriconv apr
593 [fs-test]
594 description = Test locks in libsvn_fs
595 type = exe
596 path = subversion/tests/libsvn_fs
597 sources = fs-test.c
598 install = test
599 libs = libsvn_test libsvn_fs libsvn_delta
600        libsvn_subr aprutil apriconv apr
602 # ----------------------------------------------------------------------------
603 # Tests for libsvn_repos
605 [repos-test]
606 description = Test svn_repos_update() is libsvn_repos
607 type = exe
608 path = subversion/tests/libsvn_repos
609 sources = repos-test.c dir-delta-editor.c
610 install = test
611 libs = libsvn_test libsvn_repos libsvn_fs libsvn_delta libsvn_subr apriconv apr
613 # ----------------------------------------------------------------------------
614 # Tests for libsvn_subr
616 [compat-test]
617 description = Test compatibility functions
618 type = exe
619 path = subversion/tests/libsvn_subr
620 sources = compat-test.c
621 install = test
622 libs = libsvn_test libsvn_subr apr
624 [config-test]
625 description = Test svn_config utilities
626 type = exe
627 path = subversion/tests/libsvn_subr
628 sources = config-test.c
629 install = test
630 libs = libsvn_test libsvn_subr apriconv apr
632 [error-test]
633 description = Test error library
634 type = exe
635 path = subversion/tests/libsvn_subr
636 sources = error-test.c
637 install = test
638 libs = libsvn_test libsvn_subr apriconv apr
640 [hashdump-test]
641 description = Test hashfile format for props
642 type = exe
643 path = subversion/tests/libsvn_subr
644 sources = hashdump-test.c
645 install = test
646 libs = libsvn_test libsvn_subr apriconv apr
648 [opt-test]
649 description = Test options library
650 type = exe
651 path = subversion/tests/libsvn_subr
652 sources = opt-test.c
653 install = test
654 libs = libsvn_test libsvn_subr apr
656 [mergeinfo-test]
657 description = Test mergeinfo library
658 type = exe
659 path = subversion/tests/libsvn_subr
660 sources = mergeinfo-test.c
661 install = test
662 libs = libsvn_test libsvn_subr apr
664 [path-test]
665 description = Test path library
666 type = exe
667 path = subversion/tests/libsvn_subr
668 sources = path-test.c
669 install = test
670 libs = libsvn_test libsvn_subr apriconv apr
672 [revision-test]
673 description = Test revision library
674 type = exe
675 path = subversion/tests/libsvn_subr
676 sources = revision-test.c
677 install = test
678 libs = libsvn_test libsvn_subr apr
680 [stream-test]
681 description = Test stream library
682 type = exe
683 path = subversion/tests/libsvn_subr
684 sources = stream-test.c
685 install = test
686 libs = libsvn_test libsvn_subr apriconv apr
688 [string-test]
689 description = Test svn_stringbuf_t utilities
690 type = exe
691 path = subversion/tests/libsvn_subr
692 sources = string-test.c
693 install = test
694 libs = libsvn_test libsvn_subr apriconv apr
696 [time-test]
697 description = Test time functions
698 type = exe
699 path = subversion/tests/libsvn_subr
700 sources = time-test.c
701 install = test
702 libs = libsvn_test libsvn_subr apriconv apr
704 [utf-test]
705 description = Test UTF-8 functions
706 type = exe
707 path = subversion/tests/libsvn_subr
708 sources = utf-test.c
709 install = test
710 libs = libsvn_test libsvn_subr apriconv apr
712 [target-test]
713 description = Utility used by target-test.py to test svn_path_condense_targets()
714 type = exe
715 path = subversion/tests/libsvn_subr
716 sources = target-test.c
717 install = test
718 libs = libsvn_subr apriconv apr
719 # target-test.py will run this for us
720 testing = skip
722 [translate-test]
723 description = Test eol conversion and keyword substitution routines
724 type = exe
725 path = subversion/tests/libsvn_subr
726 sources = translate-test.c
727 install = test
728 libs = libsvn_test libsvn_subr apriconv apr
730 # ----------------------------------------------------------------------------
731 # Tests for libsvn_delta
733 [random-test]
734 description = Use random data to test delta processing
735 type = exe
736 path = subversion/tests/libsvn_delta
737 sources = random-test.c
738 install = test
739 libs = libsvn_test libsvn_delta libsvn_subr apriconv apr
741 # ----------------------------------------------------------------------------
742 # Tests for libsvn_diff
744 [diff-diff3-test]
745 description = Test the diff/diff3 library
746 type = exe
747 path = subversion/tests/libsvn_diff
748 sources = diff-diff3-test.c
749 install = test
750 libs = libsvn_test libsvn_diff libsvn_subr apriconv apr
752 # ----------------------------------------------------------------------------
753 # Tests for libsvn_ra_local
755 [ra-local-test]
756 description = Test a few things in libsvn_ra_local
757 type = exe
758 path = subversion/tests/libsvn_ra_local
759 sources = ra-local-test.c
760 install = test
761 libs = libsvn_test libsvn_ra_local libsvn_ra libsvn_fs libsvn_delta libsvn_subr
762        apriconv apr neon
764 # ----------------------------------------------------------------------------
765 # These are not unit tests at all, they are small programs that exercise
766 # parts of the libsvn_delta API from the command line.  They are stuck here
767 # because of some historical association with the test-suite, but should
768 # really be put somewhere else.
770 # test our textdelta encoding
771 [svndiff-test]
772 type = exe
773 path = subversion/tests/libsvn_delta
774 sources = svndiff-test.c
775 install = test
776 libs = libsvn_delta libsvn_subr apriconv apr
777 testing = skip
779 # compare two files, print txdelta windows
780 [vdelta-test]
781 type = exe
782 path = subversion/tests/libsvn_delta
783 sources = vdelta-test.c
784 install = test
785 libs = libsvn_delta libsvn_subr apriconv apr
786 testing = skip
789 # ----------------------------------------------------------------------------
791 # EXTERNAL TARGETS (NO BUILD NEEDED)
794 [apr]
795 type = lib
796 external-lib = $(SVN_APR_LIBS)
798 [aprutil]
799 type = lib
800 external-lib = $(SVN_APRUTIL_LIBS)
802 [apriconv]
803 type = lib
804 external-lib = $(SVN_APRUTIL_LIBS)
806 [bdb]
807 type = lib
808 external-lib = $(SVN_DB_LIBS)
810 [sasl]
811 type = lib
812 external-lib = $(SVN_SASL_LIBS)
814 [zlib]
815 type = lib
816 external-lib = $(SVN_ZLIB_LIBS)
817 external-project = build/win32/zlib
818 msvc-static = yes
820 [neon]
821 type = lib
822 external-lib = $(NEON_LIBS)
823 external-project = neon/neon
824 libs = xml
825 msvc-libs = ws2_32.lib
826 msvc-static = yes
828 [sqlite]
829 type = lib
830 external-lib = $(SVN_SQLITE_LIBS)
832 [serf]
833 type = lib
834 external-lib = $(SVN_SERF_LIBS)
835 external-project = serf/serf
836 libs = apr aprutil xml
837 msvc-static = yes
839 [xml]
840 type = lib
841 external-lib = $(SVN_XML_LIBS)
843 [ra-libs]
844 type = lib
845 external-lib = $(SVN_RA_LIB_LINK)
846 libs = libsvn_ra_neon libsvn_ra_serf libsvn_ra_local libsvn_ra_svn
848 [fs-libs]
849 type = lib
850 external-lib = $(SVN_FS_LIB_LINK)
851 libs = libsvn_fs_base libsvn_fs_fs
853 [__ALL__]
854 type = project
855 path = build/win32
856 libs = svn svnserve svnadmin svnlook svnversion svndumpfilter
857        mod_authz_svn mod_dav_svn svnsync
859 [__ALL_TESTS__]
860 type = project
861 path = build/win32
862 libs = __ALL__
863        fs-test fs-base-test skel-test key-test strings-reps-test changes-test locks-test
864        repos-test
865        compat-test config-test hashdump-test mergeinfo-test opt-test path-test stream-test
866        string-test time-test utf-test target-test error-test
867        revision-test
868        translate-test
869        random-test
870        diff-diff3-test
871        ra-local-test
872        svndiff-test vdelta-test
873        diff-test diff3-test diff4-test
875 [__LIBS__]
876 type = project
877 path = build/win32
878 libs = fs-libs ra-libs libsvn_client libsvn_subr libsvn_wc
879        aprutil apriconv apr neon
881 [__CONFIG__]
882 type = lib
883 external-project = build/win32/svn_config
885 [__SWIG_PYTHON__]
886 type = swig_project
887 path = build/win32
888 libs = swig_client swig_delta swig_fs swig_ra swig_repos swig_wc swig_core
889 lang = python
891 [__SWIG_PERL__]
892 type = swig_project
893 path = build/win32
894 libs = swig_client swig_delta swig_fs swig_ra swig_repos swig_wc swig_core
895 lang = perl
897 [__SWIG_RUBY__]
898 type = swig_project
899 path = build/win32
900 libs = swig_client swig_delta swig_fs swig_ra swig_repos swig_wc swig_core
901 lang = ruby
903 [__JAVAHL__]
904 type = project
905 path = build/win32
906 libs = javahl-java javahl-javah libsvnjavahl
908 # ----------------------------------------------------------------------------
909 # Contrib and tools, build-only targets: compile, but don't install
911 [svn-push]
912 type = exe
913 path = contrib/client-side/svn-push
914 sources = svn-push.c
915 install = contrib
916 libs = libsvn_ra libsvn_delta libsvn_subr apriconv apr neon
918 [svnmucc]
919 type = exe
920 path = contrib/client-side/svnmucc
921 sources = svnmucc.c
922 install = contrib
923 libs = libsvn_client libsvn_ra libsvn_subr libsvn_delta apriconv apr neon
925 [diff]
926 type = exe
927 path = tools/diff
928 sources = diff.c
929 install = contrib
930 libs = libsvn_diff libsvn_subr apriconv apr
932 [diff3]
933 type = exe
934 path = tools/diff
935 sources = diff3.c
936 install = contrib
937 libs = libsvn_diff libsvn_subr apriconv apr
939 [diff4]
940 type = exe
941 path = tools/diff
942 sources = diff4.c
943 install = contrib
944 libs = libsvn_diff libsvn_subr apriconv apr
946 [svnauthz-validate]
947 description = Authz config file validator
948 type = exe
949 path = tools/server-side
950 sources = svnauthz-validate.c
951 install = contrib
952 libs = libsvn_repos libsvn_subr apr