Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Makefile.am

    r920c70 r6f646d  
    1 # PLEASE adhere to the alphabetical ordering in this Makefile!
    2 # Also indentation by a single tab
    3 
    4 SUBDIRS = Actions UIElements
    5 
    61# this includes source files that need to be present at multiple points
    7 HELPERSOURCE =  \
    8   Helpers/Assert.cpp \
    9   Helpers/MemDebug.cpp
     2HELPERSOURCE =  Helpers/Assert.cpp \
     3                                Helpers/MemDebug.cpp
    104                       
    11 ATOMSOURCE = \
    12   atom.cpp \
    13   atom_atominfo.cpp \
    14   atom_bondedparticle.cpp \
    15   atom_bondedparticleinfo.cpp \
    16   atom_graphnode.cpp \
    17   atom_graphnodeinfo.cpp \
    18   atom_particleinfo.cpp \
    19   atom_trajectoryparticle.cpp \
    20   atom_trajectoryparticleinfo.cpp
    21 ATOMHEADER = \
    22   atom.hpp \
    23   atom_atominfo.hpp \
    24   atom_bondedparticle.hpp \
    25   atom_bondedparticleinfo.hpp \
    26   atom_graphnode.hpp \
    27   atom_graphnodeinfo.hpp \
    28   atom_particleinfo.hpp \
    29   atom_trajectoryparticle.hpp \
    30   atom_trajectoryparticleinfo.hpp
    31 
    32 LINALGSOURCE = \
    33   ${HELPERSOURCE} \
    34   gslmatrix.cpp \
    35   gslvector.cpp \
    36   linearsystemofequations.cpp \
    37   Space.cpp \
    38   vector.cpp
     5ATOMSOURCE = atom.cpp atom_atominfo.cpp atom_bondedparticle.cpp atom_bondedparticleinfo.cpp atom_graphnode.cpp atom_graphnodeinfo.cpp atom_particleinfo.cpp atom_trajectoryparticle.cpp atom_trajectoryparticleinfo.cpp
     6ATOMHEADER = atom.hpp atom_atominfo.hpp atom_bondedparticle.hpp atom_bondedparticleinfo.hpp atom_graphnode.hpp atom_graphnodeinfo.hpp atom_particleinfo.hpp atom_trajectoryparticle.hpp atom_trajectoryparticleinfo.hpp
     7
     8LINALGSOURCE = ${HELPERSOURCE} \
     9               gslmatrix.cpp \
     10                           gslvector.cpp \
     11                           linearsystemofequations.cpp \
     12                           Space.cpp \
     13                           vector.cpp
    3914                           
    4015LINALGHEADER = gslmatrix.hpp \
    41   gslvector.hpp \
    42   linearsystemofequations.hpp \
    43   Space.hpp \
    44   vector.hpp
     16                           gslvector.hpp \
     17                           linearsystemofequations.hpp \
     18                           Space.hpp \
     19                           vector.hpp
    4520                           
    46 ANALYSISSOURCE = \
    47   analysis_bonds.cpp \
    48   analysis_correlation.cpp
    49 ANALYSISHEADER = \
    50   analysis_bonds.hpp \
    51   analysis_correlation.hpp
    52 
    53 ACTIONSSOURCE = \
    54   Actions/Action.cpp \
    55   Actions/ActionHistory.cpp \
    56   Actions/ActionRegistry.cpp \
    57   Actions/ActionSequence.cpp \
    58   Actions/ErrorAction.cpp \
    59   Actions/MakroAction.cpp \
    60   Actions/ManipulateAtomsProcess.cpp \
    61   Actions/MethodAction.cpp \
    62   Actions/Process.cpp
    63 
    64 ACTIONSHEADER = \
    65   ${ANALYSISACTIONHEADER} \
    66   ${ATOMACTIONHEADER} \
    67   ${CMDACTIONHEADER} \
    68   ${FRAGMENTATIONACTIONHEADER} \
    69   ${MOLECULEACTIONHEADER} \
    70   ${PARSERACTIONHEADER} \
    71   ${TESSELATIONACTIONHEADER} \
    72   ${WORLDACTIONHEADER} \
    73   Actions/Action.hpp \
    74   Actions/ActionHistory.hpp \
    75   Actions/ActionRegistry.hpp \
    76   Actions/ActionSequence.hpp \
    77   Actions/Calculation.hpp \
    78   Actions/Calculation_impl.hpp \
    79   Actions/ErrorAction.hpp \
    80   Actions/MakroAction.hpp \
    81   Actions/ManipulateAtomsProcess.hpp \
    82   Actions/MapOfActions.hpp \
    83   Actions/MethodAction.hpp \
    84   Actions/Process.hpp
    85  
    86 
    87 PARSERSOURCE = \
    88   Parser/ChangeTracker.cpp \
    89   Parser/FormatParser.cpp \
    90   Parser/TremoloParser.cpp \
    91   Parser/XyzParser.cpp
    92 PARSERHEADER = \
    93   Parser/ChangeTracker.hpp \
    94   Parser/FormatParser.hpp \
    95   Parser/TremoloParser.hpp \
    96   Parser/XyzParser.hpp
    97 
    98 PATTERNSOURCE = \
    99   Patterns/Observer.cpp
    100 PATTERNHEADER = \
    101   Patterns/Cacheable.hpp \
    102   Patterns/Observer.hpp \
    103   Patterns/Singleton.hpp
     21
     22ANALYSISSOURCE = analysis_bonds.cpp analysis_correlation.cpp
     23ANALYSISHEADER = analysis_bonds.hpp analysis_correlation.hpp
     24
     25ACTIONSSOURCE = Actions/Action.cpp \
     26                                Actions/ActionHistory.cpp \
     27                                Actions/ActionRegistry.cpp \
     28                                Actions/ActionSequence.cpp \
     29                                Actions/ErrorAction.cpp \
     30                                Actions/MakroAction.cpp \
     31                                Actions/ManipulateAtomsProcess.cpp \
     32                                Actions/MethodAction.cpp \
     33                Actions/Process.cpp \
     34                Actions/small_actions.cpp
     35               
     36                 
     37ACTIONSHEADER = Actions/Action.hpp \
     38                                Actions/ActionHistory.hpp \
     39                                Actions/ActionRegistry.hpp \
     40                                Actions/ActionSequence.hpp \
     41                            Actions/Calculation.hpp \
     42                            Actions/Calculation_impl.hpp \
     43                            Actions/ErrorAction.hpp \
     44                            Actions/MakroAction.hpp \
     45                            Actions/ManipulateAtomsProcess.hpp \
     46                            Actions/MethodAction.hpp \
     47                            Actions/Process.hpp \
     48                            Actions/small_actions.hpp
     49                           
     50                           
     51
     52PATTERNSOURCE = Patterns/Observer.cpp
     53PATTERNHEADER = Patterns/Cacheable.hpp \
     54                                Patterns/Observer.hpp \
     55                Patterns/Singleton.hpp
     56
     57VIEWSOURCE = Views/View.cpp Views/StringView.cpp Views/MethodStringView.cpp Views/StreamStringView.cpp
     58VIEWHEADER = Views/View.hpp Views/StringView.hpp Views/MethodStringView.hpp Views/StreamStringView.hpp
     59
     60MENUSOURCE = Menu/Menu.cpp Menu/TextMenu.cpp Menu/MenuItem.cpp Menu/SubMenuItem.cpp Menu/ActionMenuItem.cpp Menu/SeperatorItem.cpp Menu/DisplayMenuItem.cpp
     61MENUHEADER = Menu/Menu.hpp Menu/TextMenu.hpp Menu/MenuItem.hpp Menu/SubMenuItem.hpp Menu/ActionMenuItem.hpp Menu/SeperatorItem.hpp Menu/DisplayMenuItem.hpp
     62
     63UISOURCE = ${ACTIONSSOURCE} ${VIEWSOURCE} ${MENUSOURCE} UIElements/UIFactory.cpp UIElements/TextUIFactory.cpp UIElements/MainWindow.cpp UIElements/TextWindow.cpp UIElements/TextStatusIndicator.cpp UIElements/Dialog.cpp UIElements/TextDialog.cpp
     64UIHEADER = ${ACTIONSHEADER} ${VIEWHEADER} ${MENUHEADER} UIElements/UIFactory.hpp UIElements/TextUIFactory.hpp UIElements/MainWindow.hpp UIElements/TextWindow.hpp UIElements/TextStatusIndicator.hpp UIElements/Dialog.hpp UIElements/TextDialog.hpp
    10465
    10566# all these files are only used for legacy reasons while the transition is in progress
     
    11071
    11172DESCRIPTORSOURCE = Descriptors/AtomDescriptor.cpp \
    112   Descriptors/AtomIdDescriptor.cpp \
    113   Descriptors/AtomTypeDescriptor.cpp \
    114   Descriptors/MoleculeDescriptor.cpp \
    115   Descriptors/MoleculeIdDescriptor.cpp
     73                                   Descriptors/AtomIdDescriptor.cpp \
     74                                   Descriptors/AtomTypeDescriptor.cpp \
     75                                   Descriptors/MoleculeDescriptor.cpp \
     76                                   Descriptors/MoleculeIdDescriptor.cpp
    11677                                   
    11778                                   
    11879DESCRIPTORHEADER = Descriptors/AtomDescriptor.hpp \
    119   Descriptors/AtomIdDescriptor.hpp \
    120   Descriptors/AtomTypeDescriptor.hpp \
    121   Descriptors/MoleculeDescriptor.hpp \
    122   Descriptors/MoleculeIdDescriptor.hpp
     80                                   Descriptors/AtomIdDescriptor.hpp \
     81                                   Descriptors/AtomTypeDescriptor.hpp \
     82                                   Descriptors/MoleculeDescriptor.hpp \
     83                                   Descriptors/MoleculeIdDescriptor.hpp
    12384                                   
     85
     86
    12487EXCEPTIONSOURCE = Exceptions/CustomException.cpp \
    125   Exceptions/LinearDependenceException.cpp \
    126   Exceptions/MathException.cpp \
    127   Exceptions/ZeroVectorException.cpp
     88                                  Exceptions/LinearDependenceException.cpp \
     89                                  Exceptions/MathException.cpp \
     90                                  Exceptions/ZeroVectorException.cpp
    12891                                 
    12992EXCEPTIONHEADER = Exceptions/CustomException.hpp \
    130   Exceptions/LinearDependenceException.hpp \
    131   Exceptions/MathException.hpp \
    132   Exceptions/ZeroVectorException.hpp
    133 
    134 SOURCE = \
    135   ${ANALYSISSOURCE} \
    136   ${ACTIONSSOURCE} \
    137   ${ATOMSOURCE} \
    138   ${PATTERNSOURCE} \
    139   ${PARSERSOURCE} \
    140   ${DESCRIPTORSOURCE} \
    141   ${HELPERSOURCE} \
    142   ${LEGACYSOURCE} \
    143   ${EXCEPTIONSOURCE} \
    144   bond.cpp \
    145   bondgraph.cpp \
    146   boundary.cpp \
    147   CommandLineParser.cpp \
    148   config.cpp \
    149   element.cpp \
    150   elements_db.cpp \
    151   ellipsoid.cpp \
    152   errorlogger.cpp \
    153   graph.cpp \
    154   helpers.cpp \
    155   info.cpp \
    156   leastsquaremin.cpp \
    157   Line.cpp \
    158   linkedcell.cpp \
    159   lists.cpp \
    160   log.cpp \
    161   logger.cpp \
    162   moleculelist.cpp \
    163   molecule.cpp \
    164   molecule_dynamics.cpp \
    165   molecule_fragmentation.cpp \
    166   molecule_geometry.cpp \
    167   molecule_graph.cpp \
    168   molecule_pointcloud.cpp \
    169   parser.cpp \
    170   periodentafel.cpp \
    171   Plane.cpp \
    172   tesselation.cpp \
    173   tesselationhelpers.cpp \
    174   triangleintersectionlist.cpp \
    175   verbose.cpp \
    176   vector_ops.cpp \
    177   World.cpp
     93                                  Exceptions/LinearDependenceException.hpp \
     94                                  Exceptions/MathException.hpp \
     95                                  Exceptions/ZeroVectorException.hpp
     96
     97SOURCE = ${ANALYSISSOURCE} \
     98                 ${ATOMSOURCE} \
     99                 ${PATTERNSOURCE} \
     100                 ${UISOURCE} \
     101                 ${DESCRIPTORSOURCE} \
     102                 ${HELPERSOURCE} \
     103                 ${LEGACYSOURCE} \
     104                 ${EXCEPTIONSOURCE} \
     105                 bond.cpp \
     106                 bondgraph.cpp \
     107                 boundary.cpp \
     108                 config.cpp \
     109                 element.cpp \
     110                 ellipsoid.cpp \
     111                 errorlogger.cpp \
     112                 graph.cpp \
     113                 helpers.cpp \
     114                 info.cpp \
     115                 leastsquaremin.cpp \
     116                 Line.cpp \
     117                 linkedcell.cpp \
     118                 lists.cpp \
     119                 log.cpp \
     120                 logger.cpp \
     121                 memoryusageobserver.cpp \
     122                 moleculelist.cpp \
     123                 molecule.cpp \
     124                 molecule_dynamics.cpp \
     125                 molecule_fragmentation.cpp \
     126                 molecule_geometry.cpp \
     127                 molecule_graph.cpp \
     128                 molecule_pointcloud.cpp \
     129                 parser.cpp \
     130                 periodentafel.cpp \
     131                 Plane.cpp \
     132                 tesselation.cpp \
     133                 tesselationhelpers.cpp \
     134                 triangleintersectionlist.cpp \
     135                 verbose.cpp \
     136                 vector_ops.cpp \
     137                 World.cpp
    178138
    179139HEADER = \
    180   ${ANALYSISHEADER} \
    181   ${ACTIONSHEADER} \
    182   ${ATOMHEADER} \
    183   ${PARSERHEADER} \
    184   ${PATTERNHEADER} \
    185   ${DESCRIPTORHEADER} \
    186   ${EXCEPTIONHEADER} \
    187   ${LEGACYHEADER} \
    188   bond.hpp \
    189   bondgraph.hpp \
    190   boundary.hpp \
    191   CommandLineParser.hpp \
    192   config.hpp \
    193   defs.hpp \
    194   element.hpp \
    195   elements_db.hpp \
    196   ellipsoid.hpp \
    197   errorlogger.hpp \
    198   graph.hpp \
    199   helpers.hpp \
    200   info.hpp \
    201   leastsquaremin.hpp \
    202   Line.hpp \
    203   linkedcell.hpp \
    204   lists.hpp \
    205   log.hpp \
    206   logger.hpp \
    207   molecule.hpp \
    208   molecule_template.hpp \
    209   parser.hpp \
    210   periodentafel.hpp \
    211   Plane.hpp \
    212   stackclass.hpp \
    213   tesselation.hpp \
    214   tesselationhelpers.hpp \
    215   triangleintersectionlist.hpp \
    216   verbose.hpp \
    217   vector_ops.hpp \
    218   World.hpp
    219 
    220 # the following files are no longer used:
    221 #  memoryallocator.hpp \
    222 #  memoryusageobserver.hpp \
    223 #  memoryusageobserver.cpp
     140          ${ANALYSISHEADER} \
     141          ${ATOMHEADER} \
     142          ${PATTERNHEADER} \
     143          ${UIHEADER} \
     144          ${DESCRIPTORHEADER} \
     145          ${EXCEPTIONHEADER} \
     146          ${LEGACYHEADER} \
     147          bond.hpp \
     148          bondgraph.hpp \
     149          boundary.hpp \
     150          config.hpp \
     151          defs.hpp \
     152          element.hpp \
     153          ellipsoid.hpp \
     154          errorlogger.hpp \
     155          graph.hpp \
     156          helpers.hpp \
     157          info.hpp \
     158          leastsquaremin.hpp \
     159          Line.hpp \
     160          linkedcell.hpp \
     161          lists.hpp \
     162          log.hpp \
     163          logger.hpp \
     164          memoryallocator.hpp \
     165          memoryusageobserver.hpp \
     166          molecule.hpp \
     167          molecule_template.hpp \
     168          parser.hpp \
     169          periodentafel.hpp \
     170          Plane.hpp \
     171          stackclass.hpp \
     172          tesselation.hpp \
     173          tesselationhelpers.hpp \
     174          triangleintersectionlist.hpp \
     175          verbose.hpp \
     176          vector_ops.hpp \
     177          World.hpp
    224178
    225179BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB)
    226 INCLUDES = -I$(top_srcdir)/src/unittests -I$(top_srcdir)/src/Actions -I$(top_srcdir)/src/UIElements
     180INCLUDES = -I$(top_srcdir)/src/unittests
    227181
    228182noinst_LIBRARIES = libmolecuilder.a libgslwrapper.a
     
    231185libmolecuilder_a_SOURCES = ${SOURCE} ${HEADER}
    232186libgslwrapper_a_SOURCES = ${LINALGSOURCE} ${LINALGHEADER}
     187molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
    233188molecuilder_LDFLAGS = $(BOOST_LDFLAGS)
    234189molecuilder_SOURCES = builder.cpp
    235 molecuilder_LDADD =  UIElements/libMolecuilderUI.a Actions/libMolecuilderActions.a libmolecuilder.a libgslwrapper.a $(BOOST_LIB) ${BOOST_THREAD_LIB} ${BOOST_PROGRAM_OPTIONS_LIB}
     190molecuilder_LDADD = libmolecuilder.a libgslwrapper.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
    236191joiner_SOURCES = joiner.cpp datacreator.cpp parser.cpp datacreator.hpp helpers.hpp parser.hpp periodentafel.hpp
    237192joiner_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
    238193analyzer_SOURCES = analyzer.cpp datacreator.cpp parser.cpp helpers.hpp periodentafel.hpp parser.hpp datacreator.hpp
    239194analyzer_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
     195
     196#EXTRA_DIST = ${molecuilder_DATA}
    240197
    241198FORCE:
Note: See TracChangeset for help on using the changeset viewer.