Makefile.am 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. #
  2. # Licensed to the Apache Software Foundation (ASF) under one
  3. # or more contributor license agreements. See the NOTICE file
  4. # distributed with this work for additional information
  5. # regarding copyright ownership. The ASF licenses this file
  6. # to you under the Apache License, Version 2.0 (the
  7. # "License"); you may not use this file except in compliance
  8. # with the License. You may obtain a copy of the License at
  9. #
  10. # http://www.apache.org/licenses/LICENSE-2.0
  11. #
  12. # Unless required by applicable law or agreed to in writing,
  13. # software distributed under the License is distributed on an
  14. # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  15. # KIND, either express or implied. See the License for the
  16. # specific language governing permissions and limitations
  17. # under the License.
  18. #
  19. SUBDIRS = json xml
  20. PRECROSS_TARGET =
  21. if WITH_CPP
  22. # cpp dir is picked directly by plugin build
  23. if !WITH_PLUGIN
  24. SUBDIRS += cpp
  25. endif
  26. endif
  27. if WITH_C_GLIB
  28. SUBDIRS += c_glib
  29. endif
  30. if WITH_MONO
  31. SUBDIRS += csharp
  32. endif
  33. if WITH_JAVA
  34. SUBDIRS += java
  35. PRECROSS_TARGET += precross-java
  36. # JavaScript unit test depends on java
  37. # so test only if java, ant & co is available
  38. SUBDIRS += js
  39. endif
  40. if WITH_PYTHON
  41. SUBDIRS += py
  42. endif
  43. if WITH_ERLANG
  44. SUBDIRS += erl
  45. endif
  46. if WITH_RUBY
  47. SUBDIRS += rb
  48. endif
  49. if WITH_HASKELL
  50. SUBDIRS += hs
  51. endif
  52. if WITH_PERL
  53. SUBDIRS += perl
  54. endif
  55. if WITH_PHP
  56. SUBDIRS += php
  57. endif
  58. if WITH_DART
  59. SUBDIRS += dart
  60. endif
  61. if WITH_GO
  62. SUBDIRS += go
  63. endif
  64. if WITH_D
  65. SUBDIRS += d
  66. PRECROSS_TARGET += precross-d
  67. endif
  68. if WITH_NODEJS
  69. SUBDIRS += nodejs
  70. PRECROSS_TARGET += precross-nodejs
  71. endif
  72. if WITH_LUA
  73. SUBDIRS += lua
  74. endif
  75. # All of the libs that don't use Automake need to go in here
  76. # so they will end up in our release tarballs.
  77. EXTRA_DIST = \
  78. as3 \
  79. cocoa \
  80. d \
  81. dart \
  82. delphi \
  83. haxe \
  84. javame \
  85. js \
  86. ocaml \
  87. st \
  88. ts
  89. precross-%:
  90. $(MAKE) -C $* precross
  91. precross: $(PRECROSS_TARGET)