ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/Makefile.in
(Generate patch)

Comparing trunk/OOPSE/libmdtools/Makefile.in (file contents):
Revision 785 by gezelter, Thu Sep 25 16:42:34 2003 UTC vs.
Revision 999 by chrisfen, Fri Jan 30 15:01:09 2004 UTC

# Line 46 | Line 46 | MPI_INC=@MPI_INC@
46   # MPICH include path
47   MPI_INC=@MPI_INC@
48  
49 < # MPI F90 Module path
50 < MPI_F90_MODS=@MPI_F90_MODS@
49 > # MODDIRFLAG
50 > MODDIRFLAG=@MODDIRFLAG@
51  
52   # Compiler dependent Fortran module
53   FLIBS_EXTRA = @F90LIBS@
# Line 95 | Line 95 | CXXFLAGS_C=@CXXFLAGS@
95   # C++ flags
96   CXXFLAGS_C=@CXXFLAGS@
97  
98 + # C++ template flags
99 + OOPSE_TEMPLATE_FLAGS=@OOPSE_TEMPLATE_FLAGS@
100 +
101 + # C++ namespace flags
102 + EXTRA_CC_FLAG=@EXTRA_CC_FLAG@
103 +
104   # Preprocessor flag for fortran
105   PREPFLAG=@PREPFLAG@
106  
# Line 118 | Line 124 | MPI_INCLUDES= -I$(MPI_INC) $(MPI_F90_MODS)
124   # include paths starting with "." are all relative to the SUBDIRS!!!
125  
126   INCLUDES= -I.. -I../../libBASS $(SPRNG_INC)
127 < MPI_INCLUDES= -I$(MPI_INC) $(MPI_F90_MODS)
127 > MPI_INCLUDES= -I$(MPI_INC)
128 > F90_INCLUDES= -I/usr/local/include
129  
130   CFLAGS=$(CFLAGS_C) $(INCLUDES) $(DECLARE) $(MPI_INCLUDES) $(FUNCWRAP)
131 < CXXFLAGS=$(CXXFLAGS_C) $(INCLUDES) $(DECLARE) $(FUNCWRAP)
131 > CXXFLAGS=$(CXXFLAGS_C) $(OOPSE_TEMPLATE_FLAGS) $(EXTRA_CC_FLAG) $(INCLUDES) $(DECLARE) $(FUNCWRAP)
132   FFLAGS=$(PREPFLAG) $(FFLAGS_C)
133 < F90FLAGS=$(PREPFLAG) $(F90FLAGS_C)
133 > F90FLAGS=$(PREPFLAG) $(F90FLAGS_C) $(F90_INCLUDES)
134   DEPFLAGS=$(CFLAGS_C) -I. -I../libBASS $(SPRNG_INC) $(MPI_INCLUDES)
135  
136   MPI_CFLAGS=$(CFLAGS) $(MPI_INCLUDES) $(MPI_DECLARE)
137   MPI_CXXFLAGS=$(CXXFLAGS) $(MPI_INCLUDES) $(MPI_DECLARE)
138   MPI_F90FLAGS=$(F90FLAGS) $(PREPDEFFLAG)$(MPI_DECLARE) $(MPI_INCLUDES)
139  
140 < SRC_DIR := $(PWD)
140 > SRC_DIR := ..
141  
142   # Then do the compile rules:
143  
# Line 166 | Line 173 | CXX_FILES = \
173          $(DIR)/BondExtensions.cpp \
174          $(DIR)/DirectionalAtom.cpp \
175          $(DIR)/DumpWriter.cpp \
176 +        $(DIR)/DumpReader.cpp \
177          $(DIR)/Exclude.cpp \
178          $(DIR)/InitializeFromFile.cpp \
179          $(DIR)/LJFF.cpp \
180          $(DIR)/EAM_FF.cpp \
181 +        $(DIR)/WATER.cpp \
182          $(DIR)/SimInfo.cpp \
183          $(DIR)/SimSetup.cpp \
184          $(DIR)/StatWriter.cpp \
# Line 182 | Line 191 | CXX_FILES = \
191          $(DIR)/randomSPRNG.cpp \
192          $(DIR)/fortranWrappers.cpp \
193          $(DIR)/ForceFields.cpp \
185        $(DIR)/mpiSimulation.cpp \
194          $(DIR)/Molecule.cpp \
195          $(DIR)/NPTf.cpp \
196          $(DIR)/NPTi.cpp \
197 <        $(DIR)/NPTxym.cpp \
190 <        $(DIR)/NPTzm.cpp \
197 >        $(DIR)/NPTxyz.cpp \
198          $(DIR)/NVT.cpp \
199          $(DIR)/SimState.cpp \
200          $(DIR)/ZConstraint.cpp \
201          $(DIR)/ZConsWriter.cpp \
202 <        $(DIR)/GenericData.cpp
202 >        $(DIR)/mdProfile.cpp \
203 >        $(DIR)/GenericData.cpp \
204 >        $(DIR)/mpiSimulation.cpp
205  
206   F90_FILES= \
207          $(DIR)/definitions_module.F90 \
208          $(DIR)/status_module.F90 \
209          $(DIR)/atype_module.F90 \
210          $(DIR)/calc_dipole_dipole.F90 \
211 +        $(DIR)/calc_charge_charge.F90 \
212          $(DIR)/calc_reaction_field.F90 \
213          $(DIR)/calc_LJ_FF.F90 \
214          $(DIR)/calc_eam.F90 \
# Line 211 | Line 221 | F90_FILES= \
221          $(DIR)/calc_gb.F90 \
222          $(DIR)/force_globals.F90 \
223          $(DIR)/mpiSimulation_module.F90 \
224 <        $(DIR)/notifyCutoffs.F90
224 >        $(DIR)/notifyCutoffs.F90 \
225 >        $(DIR)/timing.F90 \
226 >        $(DIR)/oopseMPI_module.F90
227  
228   DIR:=.
229   C_SRCS   :=     $(C_FILES)
# Line 351 | Line 363 | obj/do_Forces$(O): ./do_Forces.F90 \
363          obj/force_globals$(O) \
364          obj/vector_class$(O)
365  
366 + obj/calc_charge_charge$(O): ./calc_charge_charge.F90 \
367 +        obj/definitions_module$(O) \
368 +        obj/atype_module$(O) \
369 +        obj/simulation_module$(O) \
370 +        obj/force_globals$(O) \
371 +        obj/vector_class$(O)
372 +
373   obj/do_Forces$(O): ./do_Forces.F90 \
374          obj/definitions_module$(O) \
375          obj/atype_module$(O) \
# Line 382 | Line 401 | obj/wrappers$(O): ./wrappers.F90 \
401          obj/do_Forces$(O) \
402          obj/notifyCutoffs$(O)
403  
404 + obj/timing$(O): ./timing.F90 \
405 +        obj/do_Forces$(O)
406  
407  
408  
388
389
409   #MPI dependencies:
410  
411   MPIobj/definitions_module$(O): ./definitions_module.F90
# Line 395 | Line 414 | MPIobj/mpiSimulation_module$(O): ./mpiSimulation_modul
414  
415   MPIobj/status_module$(O): ./status_module.F90
416  
417 < MPIobj/mpiSimulation_module$(O): ./mpiSimulation_module.F90
417 > MPIobj/oopseMPI_module$(O): ./oopseMPI_module.F90
418  
419 + MPIobj/mpiSimulation_module$(O): ./mpiSimulation_module.F90 \
420 +        MPIobj/oopseMPI_module$(O)
421 +
422   MPIobj/force_globals$(O): ./force_globals.F90 \
423          MPIobj/mpiSimulation_module$(O) \
424          MPIobj/definitions_module$(O)
# Line 465 | Line 487 | MPIobj/do_Forces$(O): ./do_Forces.F90 \
487          MPIobj/force_globals$(O) \
488          MPIobj/vector_class$(O)
489  
490 + MPIobj/calc_charge_charge$(O): ./calc_charge_charge.F90 \
491 +        MPIobj/definitions_module$(O) \
492 +        MPIobj/atype_module$(O) \
493 +        MPIobj/simulation_module$(O) \
494 +        MPIobj/mpiSimulation_module$(O) \
495 +        MPIobj/force_globals$(O) \
496 +        MPIobj/vector_class$(O)
497 +
498   MPIobj/do_Forces$(O): ./do_Forces.F90 \
499          MPIobj/definitions_module$(O) \
500          MPIobj/mpiSimulation_module$(O) \
# Line 498 | Line 528 | MPIobj/wrappers$(O): ./wrappers.F90 \
528          MPIobj/do_Forces$(O) \
529          MPIobj/notifyCutoffs$(O)  
530  
531 + MPIobj/timing$(O): ./timing.F90 \
532 +        MPIobj/do_Forces$(O) \
533 +        MPIobj/mpiSimulation_module$(O)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines