Makefile.am 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. #----------------------------------------------------------------
  2. #
  3. # Makefile.am
  4. #
  5. # Automake source file for Boundary Element MMTL (bem).
  6. # This file, along with aclocal, configure.ac autoconf,
  7. # and automake can produce a highly functional configuration
  8. # script and Makefile.
  9. #
  10. # Sharon Zahn, Bob Techentin
  11. # October 3, 2002
  12. #
  13. # Copyright 2002-2004 Mayo Foundation. All Rights Reserved.
  14. # $Id: Makefile.am,v 1.5 2004/04/22 20:07:12 techenti Exp $
  15. #
  16. #----------------------------------------------------------------
  17. #----------------------------------------------------------------
  18. # Just for the record, this isn't a GNU project, and
  19. # doesn't have all the support files like LICENSE and
  20. # ChangeLog. We're also compiling in a subdirectory, so
  21. # we supply a couple of options to automake.
  22. #
  23. # Note that this package _does_ require some of the support
  24. # files like install-sh, so if you're running aclocal,
  25. # autoconf, and automake for the first time, you'll need to
  26. # supply command line switches --add-missing --copy.
  27. #----------------------------------------------------------------
  28. AUTOMAKE_OPTIONS = foreign
  29. #---------------------------------------------------------------
  30. # tcl/tk scripts that may need to be installed.
  31. #---------------------------------------------------------------
  32. blahlib_SCRIPTS = \
  33. lib/bem.tcl \
  34. lib/bem_gpge.itcl \
  35. lib/bem_graphs.itcl \
  36. lib/bem_iterate.tcl \
  37. lib/bem_parameters.tcl \
  38. lib/bem_sweep.tcl \
  39. lib/bem_view.tcl \
  40. lib/bem_welement.itcl \
  41. lib/pkgIndex.tcl
  42. #---------------------------------------------------------------
  43. # Define an installation directory that includes
  44. # the version number (from AC_INIT) like "bltmath1.0"
  45. #---------------------------------------------------------------
  46. blahlibdir = $(libdir)/$(PACKAGE)$(PACKAGE_VERSION)
  47. #----------------------------------------------------------------
  48. # nmmtl is our main target
  49. #----------------------------------------------------------------
  50. bin_PROGRAMS = bem
  51. #----------------------------------------------------------------
  52. # The old "New MMTL", named nmmtl, reads old-fashioned MagiCAD
  53. # GPGE graphics files instead of the newer cross section
  54. # descriptions.
  55. # Build nmmtl just for testing - don't install it.
  56. #----------------------------------------------------------------
  57. noinst_PROGRAMS = nmmtl
  58. #----------------------------------------------------------------
  59. # This package has its own test suite
  60. #----------------------------------------------------------------
  61. bem_TESTS = tests/test_bem.tcl
  62. #----------------------------------------------------------------
  63. # Each program depends on (mostly the same) source files
  64. #----------------------------------------------------------------
  65. bem_SOURCES = $(cpp_SOURCES) $(fortran_SOURCES) \
  66. src/nmmtl_parse_xsctn.cpp
  67. bem_LDADD = $(FLIBS)
  68. nmmtl_SOURCES = $(cpp_SOURCES) $(fortran_SOURCES) \
  69. src/nmmtl_parse_graphic.cpp
  70. nmmtl_LDADD = $(FLIBS)
  71. #----------------------------------------------------------------
  72. # Most of nmmtl is written in C++
  73. #----------------------------------------------------------------
  74. cpp_SOURCES = \
  75. src/assemble.cpp \
  76. src/assemble_free_space.cpp \
  77. src/dim2.cpp \
  78. src/electro_read_icon_section.cpp \
  79. src/error_location.cpp \
  80. src/free2.cpp \
  81. src/in_string.cpp \
  82. src/math_library.cpp \
  83. src/nmmtl_add_to_sorted_list.cpp \
  84. src/nmmtl_angle_of_intersection.cpp \
  85. src/nmmtl_build_gnd_die_list.cpp \
  86. src/nmmtl_charge.cpp \
  87. src/nmmtl_circle_segments.cpp \
  88. src/nmmtl_charimp_propvel_calculate.cpp \
  89. src/nmmtl_combine_die.cpp \
  90. src/nmmtl_containment.cpp \
  91. src/nmmtl_det_arc_intersections.cpp \
  92. src/nmmtl_det_intersections.cpp \
  93. src/nmmtl_dump.cpp \
  94. src/nmmtl_dump_geometry.cpp \
  95. src/nmmtl_eval_circles.cpp \
  96. src/nmmtl_eval_conductors.cpp \
  97. src/nmmtl_eval_polygons.cpp \
  98. src/nmmtl_eval_rectangles.cpp \
  99. src/nmmtl_fill_die_gaps.cpp \
  100. src/nmmtl_find_ground_planes.cpp \
  101. src/nmmtl_find_nu.cpp \
  102. src/nmmtl_form_die_subseg.cpp \
  103. src/nmmtl_gen_netlist_from_icon.cpp \
  104. src/nmmtl_genel.cpp \
  105. src/nmmtl_genel_ccs.cpp \
  106. src/nmmtl_genel_cls.cpp \
  107. src/nmmtl_genel_die.cpp \
  108. src/nmmtl_genel_gnd.cpp \
  109. src/nmmtl_intersections.cpp \
  110. src/nmmtl_interval.cpp \
  111. src/nmmtl_jacobian.cpp \
  112. src/nmmtl_load.cpp \
  113. src/nmmtl_merge_die_subseg.cpp \
  114. src/nmmtl_new_die_seg.cpp \
  115. src/nmmtl_nl_expand.cpp \
  116. src/nmmtl_orphans.cpp \
  117. src/nmmtl_output_headers.cpp \
  118. src/nmmtl_output_matrices.cpp \
  119. src/nmmtl_overlap_parallel_seg.cpp \
  120. src/nmmtl_dc_resistance.cpp \
  121. src/nmmtl_qsp_calculate.cpp \
  122. src/nmmtl_qsp_kernel.cpp \
  123. src/nmmtl_retrieve.cpp \
  124. src/nmmtl_set_offset.cpp \
  125. src/nmmtl_shape.cpp \
  126. src/nmmtl_spout_off.cpp \
  127. src/nmmtl_sort_gnd_die_list.cpp \
  128. src/nmmtl_unload.cpp \
  129. src/nmmtl_write_plot_data.cpp \
  130. src/nmmtl_xtk_calculate.cpp \
  131. src/output_charimp_propvel.cpp \
  132. src/output_crosstalk.cpp \
  133. src/plotFileInitialization.cpp \
  134. src/remove_all_spaces.cpp \
  135. src/units.cpp \
  136. src/nmmtl.cpp
  137. #----------------------------------------------------------------
  138. # The math library (math_library.cpp) makes calls to the NSWC
  139. # math library. But since we only use a few of the hundreds
  140. # of modules in NSWC, we just include them here. It saves
  141. # having a big library hanging around.
  142. #----------------------------------------------------------------
  143. fortran_SOURCES = \
  144. src/fft.F \
  145. src/cmtms.F \
  146. src/mtms.F \
  147. src/cmslv1.F \
  148. src/mslv.F \
  149. src/dmslv.F \
  150. src/dcmslv.F \
  151. src/sgefa.F \
  152. src/sgeco.F \
  153. src/dgefa.F \
  154. src/sgesl.F \
  155. src/dgesl.F \
  156. src/fmin.F \
  157. src/daxpy.F \
  158. src/ddot.F \
  159. src/saxpy.F \
  160. src/sdot.F \
  161. src/idamax.F \
  162. src/dscal.F \
  163. src/sasum.F \
  164. src/sscal.F \
  165. src/isamax.F \
  166. src/dcfact.F \
  167. src/dcsol.F \
  168. src/dcminv.F \
  169. src/dgeco.F \
  170. src/dgedi.F \
  171. src/cbal.F \
  172. src/sgedi.F \
  173. src/cgefa.F \
  174. src/cgesl.F \
  175. src/comqr2.F \
  176. src/cbabk2.F \
  177. src/sfft.F \
  178. src/spmpar.F \
  179. src/cdivid.F \
  180. src/dswap.F \
  181. src/dasum.F \
  182. src/cgedi.F \
  183. src/sswap.F \
  184. src/caxpy.F \
  185. src/cdotc.F \
  186. src/icamax.F \
  187. src/cscal.F \
  188. src/ipmpar.F \
  189. src/cswap.F \
  190. src/dpmpar.F