PageRenderTime 56ms CodeModel.GetById 19ms RepoModel.GetById 1ms app.codeStats 0ms

/interfaces/Java/jni/Makefile.am

#
Makefile | 183 lines | 135 code | 24 blank | 24 comment | 3 complexity | 16804af6192c67216f70a8bad489ba3e MD5 | raw file
Possible License(s): GPL-3.0, CC-BY-SA-3.0
  1. # Automake source file for the Parma Polyhedra Library.
  2. # Copyright (C) 2001-2009 Roberto Bagnara <bagnara@cs.unipr.it>
  3. #
  4. # This file is part of the Parma Polyhedra Library (PPL).
  5. #
  6. # The PPL is free software; you can redistribute it and/or modify it
  7. # under the terms of the GNU General Public License as published by the
  8. # Free Software Foundation; either version 3 of the License, or (at your
  9. # option) any later version.
  10. #
  11. # The PPL is distributed in the hope that it will be useful, but WITHOUT
  12. # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13. # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  14. # for more details.
  15. #
  16. # You should have received a copy of the GNU General Public License
  17. # along with this program; if not, write to the Free Software Foundation,
  18. # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1307, USA.
  19. #
  20. # For the most up-to-date information see the Parma Polyhedra Library
  21. # site: http://www.cs.unipr.it/ppl/ .
  22. interface_generator_files = \
  23. ppl_interface_generator_java_classes_cc_files.m4 \
  24. ppl_interface_generator_java_classes_cc_code.m4
  25. interface_generator_dependencies = \
  26. $(top_builddir)/interfaces/ppl_interface_instantiations.m4 \
  27. ../../ppl_interface_generator_common.m4 \
  28. ../../ppl_interface_generator_common_dat.m4 \
  29. ../../ppl_interface_generator_copyright \
  30. ../../ppl_interface_generator_common_procedure_generators.m4 \
  31. ../ppl_interface_generator_java_procedure_generators.m4 \
  32. $(interface_generator_files)
  33. EXTRA_DIST = \
  34. $(interface_generator_files)
  35. AM_CPPFLAGS = \
  36. -I$(top_srcdir)/interfaces \
  37. -I$(top_builddir)/src \
  38. -I../parma_polyhedra_library \
  39. -I$(top_srcdir)/src \
  40. @extra_includes@ @JNIFLAGS@
  41. BUILT_SOURCES = \
  42. ppl_java_implementation_domains.cc.stamp
  43. pkglib_LTLIBRARIES = libppl_java.la
  44. # There is no point in generating the static version.
  45. AM_LIBTOOLFLAGS = --tag=disable-static
  46. if NO_UNDEFINED
  47. NO_UNDEFINED_FLAG = -no-undefined
  48. endif NO_UNDEFINED
  49. if HOST_OS_DARWIN
  50. libppl_java_la_LDFLAGS = \
  51. $(NO_UNDEFINED_FLAG) \
  52. -avoid-version \
  53. -shrext .jnilib
  54. else !HOST_OS_DARWIN
  55. libppl_java_la_LDFLAGS = \
  56. $(NO_UNDEFINED_FLAG) \
  57. -module \
  58. -avoid-version
  59. endif !HOST_OS_DARWIN
  60. libppl_java_la_SOURCES = \
  61. ppl_java_common.defs.hh \
  62. ppl_java_common.inlines.hh \
  63. ppl_java_common.cc \
  64. ppl_java_globals.cc
  65. nodist_EXTRA_libppl_java_la_SOURCES = \
  66. ppl_java_Int8_Box.cc \
  67. ppl_java_Int16_Box.cc \
  68. ppl_java_Int32_Box.cc \
  69. ppl_java_Int64_Box.cc \
  70. ppl_java_Uint8_Box.cc \
  71. ppl_java_Uint16_Box.cc \
  72. ppl_java_Uint32_Box.cc \
  73. ppl_java_Uint64_Box.cc \
  74. ppl_java_Float_Box.cc \
  75. ppl_java_Double_Box.cc \
  76. ppl_java_Long_Double_Box.cc \
  77. ppl_java_Rational_Box.cc \
  78. ppl_java_Z_Box.cc \
  79. ppl_java_BD_Shape_int8_t.cc \
  80. ppl_java_BD_Shape_int16_t.cc \
  81. ppl_java_BD_Shape_int32_t.cc \
  82. ppl_java_BD_Shape_int64_t.cc \
  83. ppl_java_BD_Shape_float.cc \
  84. ppl_java_BD_Shape_double.cc \
  85. ppl_java_BD_Shape_long_double.cc \
  86. ppl_java_BD_Shape_mpq_class.cc \
  87. ppl_java_BD_Shape_mpz_class.cc \
  88. ppl_java_Octagonal_Shape_int8_t.cc \
  89. ppl_java_Octagonal_Shape_int16_t.cc \
  90. ppl_java_Octagonal_Shape_int32_t.cc \
  91. ppl_java_Octagonal_Shape_int64_t.cc \
  92. ppl_java_Octagonal_Shape_float.cc \
  93. ppl_java_Octagonal_Shape_double.cc \
  94. ppl_java_Octagonal_Shape_long_double.cc \
  95. ppl_java_Octagonal_Shape_mpq_class.cc \
  96. ppl_java_Octagonal_Shape_mpz_class.cc \
  97. ppl_java_Polyhedron.cc \
  98. ppl_java_Grid.cc \
  99. ppl_java_Pointset_Powerset_Int8_Box.cc \
  100. ppl_java_Pointset_Powerset_Int16_Box.cc \
  101. ppl_java_Pointset_Powerset_Int32_Box.cc \
  102. ppl_java_Pointset_Powerset_Int64_Box.cc \
  103. ppl_java_Pointset_Powerset_Uint8_Box.cc \
  104. ppl_java_Pointset_Powerset_Uint16_Box.cc \
  105. ppl_java_Pointset_Powerset_Uint32_Box.cc \
  106. ppl_java_Pointset_Powerset_Uint64_Box.cc \
  107. ppl_java_Pointset_Powerset_Float_Box.cc \
  108. ppl_java_Pointset_Powerset_Double_Box.cc \
  109. ppl_java_Pointset_Powerset_Long_Double_Box.cc \
  110. ppl_java_Pointset_Powerset_Rational_Box.cc \
  111. ppl_java_Pointset_Powerset_Z_Box.cc \
  112. ppl_java_Pointset_Powerset_BD_Shape_int8_t.cc \
  113. ppl_java_Pointset_Powerset_BD_Shape_int16_t.cc \
  114. ppl_java_Pointset_Powerset_BD_Shape_int32_t.cc \
  115. ppl_java_Pointset_Powerset_BD_Shape_int64_t.cc \
  116. ppl_java_Pointset_Powerset_BD_Shape_float.cc \
  117. ppl_java_Pointset_Powerset_BD_Shape_double.cc \
  118. ppl_java_Pointset_Powerset_BD_Shape_long_double.cc \
  119. ppl_java_Pointset_Powerset_BD_Shape_mpq_class.cc \
  120. ppl_java_Pointset_Powerset_BD_Shape_mpz_class.cc \
  121. ppl_java_Pointset_Powerset_Octagonal_Shape_int8_t.cc \
  122. ppl_java_Pointset_Powerset_Octagonal_Shape_int16_t.cc \
  123. ppl_java_Pointset_Powerset_Octagonal_Shape_int32_t.cc \
  124. ppl_java_Pointset_Powerset_Octagonal_Shape_int64_t.cc \
  125. ppl_java_Pointset_Powerset_Octagonal_Shape_float.cc \
  126. ppl_java_Pointset_Powerset_Octagonal_Shape_double.cc \
  127. ppl_java_Pointset_Powerset_Octagonal_Shape_long_double.cc \
  128. ppl_java_Pointset_Powerset_Octagonal_Shape_mpq_class.cc \
  129. ppl_java_Pointset_Powerset_Octagonal_Shape_mpz_class.cc \
  130. ppl_java_Pointset_Powerset_C_Polyhedron.cc \
  131. ppl_java_Pointset_Powerset_NNC_Polyhedron.cc \
  132. ppl_java_Pointset_Powerset_Grid.cc \
  133. ppl_java_Constraints_Product_C_Polyhedron_Grid.cc \
  134. ppl_java_Constraints_Product_NNC_Polyhedron_Grid.cc \
  135. ppl_java_Constraints_Product_Grid_C_Polyhedron.cc \
  136. ppl_java_Constraints_Product_Grid_NNC_Polyhedron.cc
  137. libppl_java_la_LIBADD = \
  138. @required_instantiations_java_cxx_objects@ \
  139. $(top_builddir)/src/libppl.la \
  140. @extra_libraries@
  141. libppl_java_la_DEPENDENCIES = \
  142. @required_instantiations_java_cxx_objects@
  143. ppl_java_implementation_domains.cc.stamp: $(interface_generator_dependencies)
  144. $(M4) --prefix-builtin -I../.. \
  145. -I$(srcdir) -I$(srcdir)/.. -I$(srcdir)/../.. \
  146. $(srcdir)/ppl_interface_generator_java_classes_cc_files.m4 \
  147. > ppl_java_cc_blob
  148. $(top_srcdir)/utils/cm_cleaner.sh < ppl_java_cc_blob
  149. $(top_srcdir)/utils/cm_splitter.sh < ppl_java_cc_blob
  150. rm -f ppl_java_cc_blob
  151. echo timestamp >$@
  152. CLEANFILES = \
  153. @required_instantiations_java_cxx_sources@ \
  154. ppl_java_implementation_domains.cc.stamp
  155. $(top_builddir)/interfaces/ppl_interface_instantiations.m4:
  156. $(MAKE) $(AM_MAKEFLAGS) -C $(top_builddir)/interfaces ppl_interface_instantiations.m4
  157. # A selection of these files, which depends on the configure options,
  158. # is built by the `ppl_java_implementation_domains.cc.stamp' target.
  159. $(nodist_EXTRA_libppl_java_la_SOURCES):