1 |
mmeineke |
275 |
#bookeeping |
2 |
mmeineke |
270 |
|
3 |
mmeineke |
275 |
INCLUDES = -I../libBASS -I@sprng_include@ -I@mpich_include@ -I@mpich_include@/mpi2c++ |
4 |
|
|
|
5 |
|
|
.F90.o: |
6 |
|
|
$(F77) $(AM_FFLAGS) $(FFLAGS) -I@mpich_include@/f90choice -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$< |
7 |
|
|
|
8 |
|
|
.F90.obj: |
9 |
|
|
$(F77) $(AM_FFLAGS) $(FFLAGS) -I@mpich_include@/f90choice -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi` |
10 |
|
|
|
11 |
mmeineke |
277 |
|
12 |
mmeineke |
275 |
#***************************************************************** |
13 |
|
|
# the single processor build |
14 |
|
|
# **************************************************************** |
15 |
|
|
|
16 |
|
|
|
17 |
mmeineke |
274 |
pkglib_LIBRARIES = libmdCode.a libMPImdCode.a |
18 |
mmeineke |
270 |
|
19 |
mmeineke |
300 |
pkginclude_HEADERS = AbstractClasses.hpp Atom.hpp ForceFields.hpp \ |
20 |
|
|
Integrator.hpp ReadWrite.hpp SimInfo.hpp SimSetup.hpp SRI.hpp \ |
21 |
|
|
Thermo.hpp Molecule.hpp randomSPRNG.hpp mpiForceField.h \ |
22 |
|
|
mpiSimulation.hpp mpiComponentPlan.h fSimulation.h fortranWrappers.hpp \ |
23 |
|
|
fortranWrapDefines.hpp |
24 |
mmeineke |
270 |
|
25 |
mmeineke |
300 |
libmdCode_a_SOURCES = forceFactory.hpp fortranFncs.h Bend.cpp \ |
26 |
|
|
BendExtensions.cpp Bond.cpp BondExtensions.cpp DipoleTestFF.cpp \ |
27 |
|
|
DirectionalAtom.cpp DumpWriter.cpp InitializeFromFile.cpp LJ_FF.cpp \ |
28 |
|
|
SimInfo.cpp SimSetup.cpp StatWriter.cpp Symplectic.cpp Thermo.cpp \ |
29 |
mmeineke |
367 |
GhostBend.cpp Torsion.cpp TorsionExtensions.cpp TraPPE_ExFF.cpp \ |
30 |
|
|
TraPPEFF.cpp Verlet.cpp randomSPRNG.cpp fortranWrappers.cpp \ |
31 |
|
|
ForceFields.cpp atype_module.F90 f_verlet_constrained.f \ |
32 |
|
|
calc_dipole_dipole.F90 calc_reaction_field.F90 calc_LJ_FF.F90 \ |
33 |
|
|
calc_sticky_pair.F90 do_Forces.F90 vector_class.F90 \ |
34 |
|
|
simulation_module.F90 wrappers.F90 neighborLists.F90 calc_gb.F90 \ |
35 |
|
|
force_globals.F90 |
36 |
mmeineke |
270 |
|
37 |
mmeineke |
321 |
libmdCode_a_CXXFLAGS = -DFRC_PATH="$(pkgdatadir)" $(AM_CXXFLAGS) |
38 |
mmeineke |
291 |
|
39 |
|
|
|
40 |
mmeineke |
275 |
#compiler and machine dependent fortran definitions |
41 |
|
|
|
42 |
|
|
EXTRA_libmdCode_a_SOURCES = Linux_ifc_machdep.F90 |
43 |
|
|
libmdCode_a_LIBADD = @fortran_machine_defs@ |
44 |
|
|
|
45 |
|
|
|
46 |
mmeineke |
291 |
#fortran module dependencies |
47 |
mmeineke |
270 |
|
48 |
mmeineke |
367 |
atype_module.o: atype_module.F90 @fortran_machine_defs@ vector_class.o calc_sticky_pair.o calc_gb.o |
49 |
mmeineke |
270 |
|
50 |
mmeineke |
367 |
simulation_module.o: simulation_module.F90 @fortran_machine_defs@ atype_module.o neighborLists.o |
51 |
mmeineke |
275 |
|
52 |
mmeineke |
355 |
wrappers.o: wrappers.F90 simulation_module.o @fortran_machine_defs@ \ |
53 |
|
|
do_Forces.o atype_module.o |
54 |
mmeineke |
277 |
|
55 |
mmeineke |
347 |
neighborLists.o: neighborLists.F90 @fortran_machine_defs@ |
56 |
mmeineke |
270 |
|
57 |
mmeineke |
365 |
force_globals.o: @fortran_machine_defs@ |
58 |
mmeineke |
287 |
|
59 |
mmeineke |
365 |
calc_dipole_dipole.o: calc_dipole_dipole.F90 @fortran_machine_defs@ atype_module.o force_globals.o vector_class.o |
60 |
mmeineke |
270 |
|
61 |
mmeineke |
365 |
calc_LJ_FF.o: calc_LJ_FF.F90 @fortran_machine_defs@ atype_module.o vector_class.o force_globals.o |
62 |
mmeineke |
285 |
|
63 |
mmeineke |
365 |
calc_reaction_field.o: calc_reaction_field.F90 @fortran_machine_defs@ vector_class.o atype_module.o force_globals.o |
64 |
mmeineke |
270 |
|
65 |
mmeineke |
365 |
calc_sticky_pair.o: calc_sticky_pair.F90 @fortran_machine_defs@ force_globals.o |
66 |
|
|
|
67 |
|
|
calc_gb.o: calc_gb.F90 @fortran_machine_defs@ force_globals.o |
68 |
|
|
|
69 |
mmeineke |
347 |
do_Forces.o: do_Forces.F90 @fortran_machine_defs@ simulation_module.o atype_module.o neighborLists.o calc_LJ_FF.o \ |
70 |
mmeineke |
365 |
calc_sticky_pair.o calc_dipole_dipole.o calc_reaction_field.o calc_gb.o force_globals.o |
71 |
mmeineke |
270 |
|
72 |
mmeineke |
274 |
#***************************************************************** |
73 |
|
|
# MPI build |
74 |
|
|
#**************************************************************** |
75 |
|
|
|
76 |
mmeineke |
277 |
libMPImdCode_a_SOURCES = forceFactory.hpp fortranFncs.h Bend.cpp \ |
77 |
|
|
BendExtensions.cpp Bond.cpp BondExtensions.cpp DipoleTestFF.cpp \ |
78 |
|
|
DirectionalAtom.cpp DumpWriter.cpp InitializeFromFile.cpp LJ_FF.cpp \ |
79 |
mmeineke |
291 |
SimInfo.cpp SimSetup.cpp StatWriter.cpp Symplectic.cpp Thermo.cpp \ |
80 |
mmeineke |
367 |
GhostBend.cpp Torsion.cpp TorsionExtensions.cpp TraPPE_ExFF.cpp \ |
81 |
|
|
TraPPEFF.cpp fortranWrappers.cpp ForceFields.cpp Verlet.cpp \ |
82 |
|
|
randomSPRNG.cpp f_verlet_constrained.f mpiForceField.c \ |
83 |
|
|
mpiSimulation.cpp mpiSimulation_module.F90 |
84 |
mmeineke |
274 |
|
85 |
mmeineke |
275 |
EXTRA_libMPImdCode_a_SOURCES = Linux_ifc_machdep.F90 |
86 |
|
|
|
87 |
mmeineke |
347 |
libMPImdCode_a_LIBADD = @fortran_machine_defs@ \ |
88 |
|
|
libMPImdCode_a-atype_module.$(OBJEXT) \ |
89 |
|
|
libMPImdCode_a-simulation_module.$(OBJEXT) \ |
90 |
|
|
libMPImdCode_a-neighborLists.$(OBJEXT) \ |
91 |
|
|
libMPImdCode_a-calc_dipole_dipole.$(OBJEXT) \ |
92 |
|
|
libMPImdCode_a-calc_LJ_FF.$(OBJEXT) \ |
93 |
|
|
libMPImdCode_a-calc_reaction_field.$(OBJEXT) \ |
94 |
|
|
libMPImdCode_a-calc_sticky_pair.$(OBJEXT) \ |
95 |
|
|
libMPImdCode_a-do_Forces.$(OBJEXT) \ |
96 |
|
|
libMPImdCode_a-wrappers.$(OBJEXT) \ |
97 |
mmeineke |
367 |
libMPImdCode_a-calc_gb.$(OBJEXT) \ |
98 |
|
|
libMPImdCode_a-force_globals.$(OBJEXT) \ |
99 |
mmeineke |
347 |
libMPImdCode_a-vector_class.$(OBJEXT) |
100 |
mmeineke |
277 |
|
101 |
mmeineke |
347 |
libMPImdCode_a_DEPENDENCIES = @fortran_machine_defs@ \ |
102 |
|
|
libMPImdCode_a-atype_module.$(OBJEXT) \ |
103 |
|
|
libMPImdCode_a-simulation_module.$(OBJEXT) \ |
104 |
|
|
libMPImdCode_a-neighborLists.$(OBJEXT) \ |
105 |
|
|
libMPImdCode_a-calc_dipole_dipole.$(OBJEXT) \ |
106 |
|
|
libMPImdCode_a-calc_LJ_FF.$(OBJEXT) \ |
107 |
|
|
libMPImdCode_a-calc_reaction_field.$(OBJEXT) \ |
108 |
|
|
libMPImdCode_a-calc_sticky_pair.$(OBJEXT) \ |
109 |
|
|
libMPImdCode_a-do_Forces.$(OBJEXT) \ |
110 |
|
|
libMPImdCode_a-wrappers.$(OBJEXT) \ |
111 |
mmeineke |
365 |
libMPImdCode_a-calc_gb.$(OBJEXT) \ |
112 |
|
|
libMPImdCode_a-force_globals.$(OBJEXT) \ |
113 |
mmeineke |
347 |
libMPImdCode_a-vector_class.$(OBJEXT) |
114 |
mmeineke |
277 |
|
115 |
mmeineke |
274 |
libMPImdCode_a_CFLAGS = -DIS_MPI $(AM_CFLAGS) |
116 |
mmeineke |
321 |
libMPImdCode_a_CXXFLAGS = -DFRC_PATH="$(pkgdatadir)" -DIS_MPI $(AM_CXXFLAGS) |
117 |
mmeineke |
274 |
libMPImdCode_a_FFLAGS = -DIS_MPI $(AM_FFLAGS) |
118 |
|
|
|
119 |
mmeineke |
291 |
#fortran module dependencies |
120 |
mmeineke |
275 |
|
121 |
mmeineke |
367 |
libMPImdCode_a-atype_module.o: atype_module.F90 @fortran_machine_defs@ libMPImdCode_a-vector_class.o libMPImdCode_a-calc_gb.o libMPImdCode_a-calc_sticky_pair.o |
122 |
mmeineke |
347 |
$(F77) $(libMPImdCode_a_FFLAGS) $(FFLAGS) -I@mpich_include@/f90choice -c -o libMPImdCode_a-atype_module.o `test -f 'atype_module.F90' || echo '$(srcdir)/'`atype_module.F90 |
123 |
mmeineke |
277 |
|
124 |
mmeineke |
347 |
libMPImdCode_a-simulation_module.o: simulation_module.F90 @fortran_machine_defs@ mpiSimulation_module.o \ |
125 |
mmeineke |
367 |
libMPImdCode_a-atype_module.o libMPImdCode_a-neighborLists.o libMPImdCode_a-force_globals.o |
126 |
mmeineke |
277 |
$(F77) $(libMPImdCode_a_FFLAGS) $(FFLAGS) -I@mpich_include@/f90choice -c -o libMPImdCode_a-simulation_module.o `test -f 'simulation_module.F90' || echo '$(srcdir)/'`simulation_module.F90 |
127 |
|
|
|
128 |
mmeineke |
367 |
libMPImdCode_a-force_globals.o: force_globals.F90 @fortran_machine_defs@ mpiSimulation_module.o |
129 |
mmeineke |
365 |
$(F77) $(libMPImdCode_a_FFLAGS) $(FFLAGS) -I@mpich_include@/f90choice -c -o libMPImdCode_a-force_globals.o `test -f 'force_globals.F90' || echo '$(srcdir)/'`force_globals.F90 |
130 |
|
|
|
131 |
mmeineke |
347 |
libMPImdCode_a-wrappers.o: wrappers.F90 libMPImdCode_a-simulation_module.o @fortran_machine_defs@ \ |
132 |
mmeineke |
355 |
mpiSimulation_module.o libMPImdCode_a-do_Forces.o libMPImdCode_a-atype_module.o |
133 |
mmeineke |
277 |
$(F77) $(libMPImdCode_a_FFLAGS) $(FFLAGS) -I@mpich_include@/f90choice -c -o libMPImdCode_a-wrappers.o `test -f 'wrappers.F90' || echo '$(srcdir)/'`wrappers.F90 |
134 |
mmeineke |
274 |
|
135 |
mmeineke |
347 |
libMPImdCode_a-neighborLists.o: neighborLists.F90 mpiSimulation_module.o @fortran_machine_defs@ |
136 |
mmeineke |
285 |
$(F77) $(libMPImdCode_a_FFLAGS) $(FFLAGS) -I@mpich_include@/f90choice -c -o libMPImdCode_a-neighborLists.o `test -f 'neighborLists.F90' || echo '$(srcdir)/'`neighborLists.F90 |
137 |
|
|
|
138 |
mmeineke |
278 |
mpiSimulation_module.o: mpiSimulation_module.F90 @fortran_machine_defs@ |
139 |
mmeineke |
277 |
$(F77) $(libMPImdCode_a_FFLAGS) $(FFLAGS) -I@mpich_include@/f90choice -c -o mpiSimulation_module.o `test -f 'mpiSimulation_module.F90' || echo '$(srcdir)/'`mpiSimulation_module.F90 |
140 |
mmeineke |
275 |
|
141 |
mmeineke |
347 |
libMPImdCode_a-calc_dipole_dipole.o: calc_dipole_dipole.F90 @fortran_machine_defs@ libMPImdCode_a-vector_class.o\ |
142 |
mmeineke |
365 |
libMPImdCode_a-force_globals.o mpiSimulation_module.o libMPImdCode_a-atype_module.o |
143 |
mmeineke |
347 |
$(F77) $(libMPImdCode_a_FFLAGS) $(FFLAGS) -I@mpich_include@/f90choice -c -o libMPImdCode_a-calc_dipole_dipole.o `test -f 'calc_dipole_dipole.F90' || echo '$(srcdir)/'`calc_dipole_dipole.F90 |
144 |
mmeineke |
289 |
|
145 |
mmeineke |
347 |
libMPImdCode_a-calc_LJ_FF.o: calc_LJ_FF.F90 @fortran_machine_defs@ libMPImdCode_a-vector_class.o\ |
146 |
mmeineke |
365 |
libMPImdCode_a-atype_module.o mpiSimulation_module.o libMPImdCode_a-force_globals.o |
147 |
mmeineke |
347 |
$(F77) $(libMPImdCode_a_FFLAGS) $(FFLAGS) -I@mpich_include@/f90choice -c -o libMPImdCode_a-calc_LJ_FF.o `test -f 'calc_LJ_FF.F90' || echo '$(srcdir)/'`calc_LJ_FF.F90 |
148 |
|
|
|
149 |
|
|
libMPImdCode_a-calc_reaction_field.o: calc_reaction_field.F90 @fortran_machine_defs@ libMPImdCode_a-vector_class.o\ |
150 |
mmeineke |
365 |
libMPImdCode_a-force_globals.o mpiSimulation_module.o libMPImdCode_a-atype_module.o |
151 |
mmeineke |
347 |
$(F77) $(libMPImdCode_a_FFLAGS) $(FFLAGS) -I@mpich_include@/f90choice -c -o libMPImdCode_a-calc_reaction_field.o `test -f 'calc_reaction_field.F90' || echo '$(srcdir)/'`calc_reaction_field.F90 |
152 |
|
|
|
153 |
|
|
libMPImdCode_a-calc_sticky_pair.o: calc_sticky_pair.F90 @fortran_machine_defs@ \ |
154 |
mmeineke |
365 |
libMPImdCode_a-force_globals.o mpiSimulation_module.o |
155 |
mmeineke |
347 |
$(F77) $(libMPImdCode_a_FFLAGS) $(FFLAGS) -I@mpich_include@/f90choice -c -o libMPImdCode_a-calc_sticky_pair.o `test -f 'calc_sticky_pair.F90' || echo '$(srcdir)/'`calc_sticky_pair.F90 |
156 |
|
|
|
157 |
mmeineke |
365 |
libMPImdCode_a-calc_gb.o: calc_gb.F90 @fortran_machine_defs@ \ |
158 |
|
|
libMPImdCode_a-force_globals.o mpiSimulation_module.o |
159 |
|
|
$(F77) $(libMPImdCode_a_FFLAGS) $(FFLAGS) -I@mpich_include@/f90choice -c -o libMPImdCode_a-calc_gb.o `test -f 'calc_gb.F90' || echo '$(srcdir)/'`calc_gb.F90 |
160 |
|
|
|
161 |
|
|
|
162 |
mmeineke |
347 |
libMPImdCode_a-do_Forces.o: do_Forces.F90 @fortran_machine_defs@ libMPImdCode_a-simulation_module.o mpiSimulation_module.o libMPImdCode_a-atype_module.o\ |
163 |
|
|
libMPImdCode_a-calc_sticky_pair.o libMPImdCode_a-calc_reaction_field.o libMPImdCode_a-calc_LJ_FF.o libMPImdCode_a-calc_dipole_dipole.o \ |
164 |
mmeineke |
365 |
libMPImdCode_a-neighborLists.o libMPImdCode_a-calc_gb.o libMPImdCode_a-force_globals.o |
165 |
mmeineke |
347 |
$(F77) $(libMPImdCode_a_FFLAGS) $(FFLAGS) -I@mpich_include@/f90choice -c -o libMPImdCode_a-do_Forces.o `test -f 'do_Forces.F90' || echo '$(srcdir)/'`do_Forces.F90 |
166 |
|
|
|
167 |
|
|
libMPImdCode_a-vector_class.o: vector_class.F90 |
168 |
|
|
$(F77) $(libMPImdCode_a_FFLAGS) $(FFLAGS) -I@mpich_include@/f90choice -c -o libMPImdCode_a-vector_class.o `test -f 'vector_class.F90' || echo '$(srcdir)/'`vector_class.F90 |