From 3a535848559490bee9e25f3dbe19664858981445 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Wed, 11 Mar 2015 15:16:57 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13221 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/Makefile.shlib | 80 ---------------------------------------------- 1 file changed, 80 deletions(-) delete mode 100644 src/Makefile.shlib diff --git a/src/Makefile.shlib b/src/Makefile.shlib deleted file mode 100644 index 5c4ba9659a..0000000000 --- a/src/Makefile.shlib +++ /dev/null @@ -1,80 +0,0 @@ -# LAMMPS shared library multiple-machine -*- Makefile -*- - -SHELL = /bin/sh - -# Definitions - -ROOT = lammps -EXE = lib$(ROOT)_$@.so - -SRC = angle.cpp angle_charmm.cpp angle_cosine.cpp angle_cosine_delta.cpp angle_cosine_periodic.cpp angle_cosine_squared.cpp angle_harmonic.cpp angle_hybrid.cpp angle_table.cpp atom.cpp atom_map.cpp atom_vec.cpp atom_vec_angle.cpp atom_vec_atomic.cpp atom_vec_body.cpp atom_vec_bond.cpp atom_vec_charge.cpp atom_vec_ellipsoid.cpp atom_vec_full.cpp atom_vec_hybrid.cpp atom_vec_line.cpp atom_vec_molecular.cpp atom_vec_sphere.cpp atom_vec_template.cpp atom_vec_tri.cpp balance.cpp body.cpp bond.cpp bond_fene.cpp bond_fene_expand.cpp bond_harmonic.cpp bond_hybrid.cpp bond_morse.cpp bond_nonlinear.cpp bond_quartic.cpp bond_table.cpp change_box.cpp citeme.cpp comm.cpp comm_brick.cpp comm_tiled.cpp compute.cpp compute_angle_local.cpp compute_atom_molecule.cpp compute_bond_local.cpp compute_centro_atom.cpp compute_cluster_atom.cpp compute_cna_atom.cpp compute_com.cpp compute_com_molecule.cpp compute_contact_atom.cpp compute_coord_atom.cpp compute_dihedral_local.cpp compute_displace_atom.cpp compute_erotate_rigid.cpp compute_erotate_sphere.cpp compute_erotate_sphere_atom.cpp compute_group_group.cpp compute_gyration.cpp compute_gyration_molecule.cpp compute_heat_flux.cpp compute_improper_local.cpp compute_inertia_molecule.cpp compute_ke.cpp compute_ke_atom.cpp compute_ke_rigid.cpp compute_msd.cpp compute_msd_molecule.cpp compute_pair.cpp compute_pair_local.cpp compute_pe.cpp compute_pe_atom.cpp compute_pressure.cpp compute_property_atom.cpp compute_property_local.cpp compute_property_molecule.cpp compute_rdf.cpp compute_reduce.cpp compute_reduce_region.cpp compute_slice.cpp compute_stress_atom.cpp compute_temp.cpp compute_temp_com.cpp compute_temp_deform.cpp compute_temp_partial.cpp compute_temp_profile.cpp compute_temp_ramp.cpp compute_temp_region.cpp compute_temp_sphere.cpp compute_vacf.cpp create_atoms.cpp create_box.cpp delete_atoms.cpp delete_bonds.cpp dihedral.cpp dihedral_charmm.cpp dihedral_harmonic.cpp dihedral_helix.cpp dihedral_hybrid.cpp dihedral_multi_harmonic.cpp dihedral_opls.cpp displace_atoms.cpp domain.cpp dump.cpp dump_atom.cpp dump_cfg.cpp dump_custom.cpp dump_dcd.cpp dump_image.cpp dump_local.cpp dump_movie.cpp dump_xyz.cpp error.cpp finish.cpp fix.cpp fix_adapt.cpp fix_addforce.cpp fix_ave_atom.cpp fix_ave_correlate.cpp fix_ave_histo.cpp fix_ave_spatial.cpp fix_ave_time.cpp fix_aveforce.cpp fix_balance.cpp fix_box_relax.cpp fix_deform.cpp fix_drag.cpp fix_dt_reset.cpp fix_enforce2d.cpp fix_external.cpp fix_freeze.cpp fix_gravity.cpp fix_group.cpp fix_heat.cpp fix_indent.cpp fix_langevin.cpp fix_lineforce.cpp fix_minimize.cpp fix_momentum.cpp fix_move.cpp fix_nh.cpp fix_nh_sphere.cpp fix_nph.cpp fix_nph_sphere.cpp fix_npt.cpp fix_npt_sphere.cpp fix_nve.cpp fix_nve_limit.cpp fix_nve_noforce.cpp fix_nve_sphere.cpp fix_nvt.cpp fix_nvt_sllod.cpp fix_nvt_sphere.cpp fix_planeforce.cpp fix_pour.cpp fix_press_berendsen.cpp fix_print.cpp fix_property_atom.cpp fix_qeq_comb.cpp fix_read_restart.cpp fix_recenter.cpp fix_respa.cpp fix_restrain.cpp fix_rigid.cpp fix_rigid_nh.cpp fix_rigid_nh_small.cpp fix_rigid_nph.cpp fix_rigid_nph_small.cpp fix_rigid_npt.cpp fix_rigid_npt_small.cpp fix_rigid_nve.cpp fix_rigid_nve_small.cpp fix_rigid_nvt.cpp fix_rigid_nvt_small.cpp fix_rigid_small.cpp fix_setforce.cpp fix_shake.cpp fix_shear_history.cpp fix_spring.cpp fix_spring_rg.cpp fix_spring_self.cpp fix_store.cpp fix_store_force.cpp fix_store_state.cpp fix_temp_berendsen.cpp fix_temp_csvr.cpp fix_temp_rescale.cpp fix_tmd.cpp fix_vector.cpp fix_viscous.cpp fix_wall.cpp fix_wall_gran.cpp fix_wall_harmonic.cpp fix_wall_lj1043.cpp fix_wall_lj126.cpp fix_wall_lj93.cpp fix_wall_reflect.cpp fix_wall_region.cpp force.cpp group.cpp image.cpp improper.cpp improper_cvff.cpp improper_harmonic.cpp improper_hybrid.cpp improper_umbrella.cpp input.cpp integrate.cpp irregular.cpp kspace.cpp lammps.cpp lattice.cpp library.cpp math_extra.cpp memory.cpp min.cpp min_cg.cpp min_fire.cpp min_hftn.cpp min_linesearch.cpp min_quickmin.cpp min_sd.cpp minimize.cpp modify.cpp molecule.cpp neigh_bond.cpp neigh_derive.cpp neigh_full.cpp neigh_gran.cpp neigh_half_bin.cpp neigh_half_multi.cpp neigh_half_nsq.cpp neigh_list.cpp neigh_request.cpp neigh_respa.cpp neigh_stencil.cpp neighbor.cpp output.cpp pair.cpp pair_adp.cpp pair_airebo.cpp pair_beck.cpp pair_bop.cpp pair_born.cpp pair_born_coul_wolf.cpp pair_buck.cpp pair_buck_coul_cut.cpp pair_comb.cpp pair_comb3.cpp pair_coul_cut.cpp pair_coul_debye.cpp pair_coul_dsf.cpp pair_coul_wolf.cpp pair_dipole_cut.cpp pair_dpd.cpp pair_dpd_tstat.cpp pair_eam.cpp pair_eam_alloy.cpp pair_eam_fs.cpp pair_eim.cpp pair_gauss.cpp pair_gran_hertz_history.cpp pair_gran_hooke.cpp pair_gran_hooke_history.cpp pair_hbond_dreiding_lj.cpp pair_hbond_dreiding_morse.cpp pair_hybrid.cpp pair_hybrid_overlay.cpp pair_lcbop.cpp pair_lj96_cut.cpp pair_lj_charmm_coul_charmm.cpp pair_lj_charmm_coul_charmm_implicit.cpp pair_lj_cubic.cpp pair_lj_cut.cpp pair_lj_cut_coul_cut.cpp pair_lj_cut_coul_debye.cpp pair_lj_cut_coul_dsf.cpp pair_lj_cut_tip4p_cut.cpp pair_lj_expand.cpp pair_lj_gromacs.cpp pair_lj_gromacs_coul_gromacs.cpp pair_lj_smooth.cpp pair_lj_smooth_linear.cpp pair_mie_cut.cpp pair_morse.cpp pair_nb3b_harmonic.cpp pair_rebo.cpp pair_soft.cpp pair_sw.cpp pair_table.cpp pair_tersoff.cpp pair_tersoff_mod.cpp pair_tersoff_zbl.cpp pair_tip4p_cut.cpp pair_yukawa.cpp pair_zbl.cpp procmap.cpp random_mars.cpp random_park.cpp rcb.cpp read_data.cpp read_dump.cpp read_restart.cpp reader.cpp reader_native.cpp reader_xyz.cpp region.cpp region_block.cpp region_cone.cpp region_cylinder.cpp region_intersect.cpp region_plane.cpp region_prism.cpp region_sphere.cpp region_union.cpp replicate.cpp rerun.cpp respa.cpp run.cpp set.cpp special.cpp thermo.cpp timer.cpp universe.cpp update.cpp variable.cpp velocity.cpp verlet.cpp write_data.cpp write_dump.cpp write_restart.cpp - -INC = accelerator_cuda.h accelerator_intel.h accelerator_kokkos.h accelerator_omp.h angle.h angle_charmm.h angle_cosine.h angle_cosine_delta.h angle_cosine_periodic.h angle_cosine_squared.h angle_harmonic.h angle_hybrid.h angle_table.h atom.h atom_map.h atom_masks.h atom_vec.h atom_vec_angle.h atom_vec_atomic.h atom_vec_body.h atom_vec_bond.h atom_vec_charge.h atom_vec_ellipsoid.h atom_vec_full.h atom_vec_hybrid.h atom_vec_line.h atom_vec_molecular.h atom_vec_sphere.h atom_vec_template.h atom_vec_tri.h balance.h body.h bond.h bond_fene.h bond_fene_expand.h bond_harmonic.h bond_hybrid.h bond_morse.h bond_nonlinear.h bond_quartic.h bond_table.h change_box.h citeme.h comm.h comm_brick.h comm_tiled.h compute.h compute_angle_local.h compute_atom_molecule.h compute_bond_local.h compute_centro_atom.h compute_cluster_atom.h compute_cna_atom.h compute_com.h compute_com_molecule.h compute_contact_atom.h compute_coord_atom.h compute_dihedral_local.h compute_displace_atom.h compute_erotate_rigid.h compute_erotate_sphere.h compute_erotate_sphere_atom.h compute_group_group.h compute_gyration.h compute_gyration_molecule.h compute_heat_flux.h compute_improper_local.h compute_inertia_molecule.h compute_ke.h compute_ke_atom.h compute_ke_rigid.h compute_msd.h compute_msd_molecule.h compute_pair.h compute_pair_local.h compute_pe.h compute_pe_atom.h compute_pressure.h compute_property_atom.h compute_property_local.h compute_property_molecule.h compute_rdf.h compute_reduce.h compute_reduce_region.h compute_slice.h compute_stress_atom.h compute_temp.h compute_temp_com.h compute_temp_deform.h compute_temp_partial.h compute_temp_profile.h compute_temp_ramp.h compute_temp_region.h compute_temp_sphere.h compute_vacf.h create_atoms.h create_box.h delete_atoms.h delete_bonds.h dihedral.h dihedral_charmm.h dihedral_harmonic.h dihedral_helix.h dihedral_hybrid.h dihedral_multi_harmonic.h dihedral_opls.h displace_atoms.h domain.h dump.h dump_atom.h dump_cfg.h dump_custom.h dump_dcd.h dump_image.h dump_local.h dump_movie.h dump_xyz.h error.h finish.h fix.h fix_adapt.h fix_addforce.h fix_ave_atom.h fix_ave_correlate.h fix_ave_histo.h fix_ave_spatial.h fix_ave_time.h fix_aveforce.h fix_balance.h fix_box_relax.h fix_deform.h fix_drag.h fix_dt_reset.h fix_enforce2d.h fix_external.h fix_freeze.h fix_gravity.h fix_group.h fix_heat.h fix_indent.h fix_langevin.h fix_lineforce.h fix_minimize.h fix_momentum.h fix_move.h fix_nh.h fix_nh_sphere.h fix_nph.h fix_nph_sphere.h fix_npt.h fix_npt_sphere.h fix_nve.h fix_nve_limit.h fix_nve_noforce.h fix_nve_sphere.h fix_nvt.h fix_nvt_sllod.h fix_nvt_sphere.h fix_planeforce.h fix_pour.h fix_press_berendsen.h fix_print.h fix_property_atom.h fix_qeq_comb.h fix_read_restart.h fix_recenter.h fix_respa.h fix_restrain.h fix_rigid.h fix_rigid_nh.h fix_rigid_nh_small.h fix_rigid_nph.h fix_rigid_nph_small.h fix_rigid_npt.h fix_rigid_npt_small.h fix_rigid_nve.h fix_rigid_nve_small.h fix_rigid_nvt.h fix_rigid_nvt_small.h fix_rigid_small.h fix_setforce.h fix_shake.h fix_shear_history.h fix_spring.h fix_spring_rg.h fix_spring_self.h fix_store.h fix_store_force.h fix_store_state.h fix_temp_berendsen.h fix_temp_csvr.h fix_temp_rescale.h fix_tmd.h fix_vector.h fix_viscous.h fix_wall.h fix_wall_gran.h fix_wall_harmonic.h fix_wall_lj1043.h fix_wall_lj126.h fix_wall_lj93.h fix_wall_reflect.h fix_wall_region.h force.h group.h image.h improper.h improper_cvff.h improper_harmonic.h improper_hybrid.h improper_umbrella.h input.h integrate.h irregular.h kspace.h lammps.h lattice.h library.h lmptype.h lmpwindows.h math_complex.h math_const.h math_extra.h math_special.h math_vector.h memory.h min.h min_cg.h min_fire.h min_hftn.h min_linesearch.h min_quickmin.h min_sd.h minimize.h modify.h molecule.h mpiio.h my_page.h my_pool_chunk.h neigh_bond.h neigh_derive.h neigh_full.h neigh_gran.h neigh_half_bin.h neigh_half_multi.h neigh_half_nsq.h neigh_list.h neigh_request.h neigh_respa.h neighbor.h output.h pack.h pair.h pair_adp.h pair_airebo.h pair_beck.h pair_bop.h pair_born.h pair_born_coul_wolf.h pair_buck.h pair_buck_coul_cut.h pair_comb.h pair_comb3.h pair_coul_cut.h pair_coul_debye.h pair_coul_dsf.h pair_coul_wolf.h pair_dipole_cut.h pair_dpd.h pair_dpd_tstat.h pair_eam.h pair_eam_alloy.h pair_eam_fs.h pair_eim.h pair_gauss.h pair_gran_hertz_history.h pair_gran_hooke.h pair_gran_hooke_history.h pair_hbond_dreiding_lj.h pair_hbond_dreiding_morse.h pair_hybrid.h pair_hybrid_overlay.h pair_lcbop.h pair_lj96_cut.h pair_lj_charmm_coul_charmm.h pair_lj_charmm_coul_charmm_implicit.h pair_lj_cubic.h pair_lj_cut.h pair_lj_cut_coul_cut.h pair_lj_cut_coul_debye.h pair_lj_cut_coul_dsf.h pair_lj_cut_tip4p_cut.h pair_lj_expand.h pair_lj_gromacs.h pair_lj_gromacs_coul_gromacs.h pair_lj_smooth.h pair_lj_smooth_linear.h pair_mie_cut.h pair_morse.h pair_nb3b_harmonic.h pair_rebo.h pair_soft.h pair_sw.h pair_table.h pair_tersoff.h pair_tersoff_mod.h pair_tersoff_zbl.h pair_tip4p_cut.h pair_yukawa.h pair_zbl.h pointers.h procmap.h random_mars.h random_park.h rcb.h read_data.h read_dump.h read_restart.h reader.h reader_native.h reader_xyz.h region.h region_block.h region_cone.h region_cylinder.h region_intersect.h region_plane.h region_prism.h region_sphere.h region_union.h replicate.h rerun.h respa.h run.h set.h special.h style_angle.h style_atom.h style_body.h style_bond.h style_command.h style_compute.h style_dihedral.h style_dump.h style_fix.h style_improper.h style_integrate.h style_kspace.h style_minimize.h style_pair.h style_reader.h style_region.h suffix.h thermo.h timer.h universe.h update.h variable.h velocity.h verlet.h version.h write_data.h write_dump.h write_restart.h - -OBJ = $(SRC:.cpp=.o) - -# Targets - -help: - @echo 'Type "make -f Makefile.shlib target" where target is one of:' - @echo '' - @files="`ls MAKE/Makefile.*`"; \ - for file in $$files; do head -1 $$file; done - @echo '' - @echo 'or one of these from src/MAKE/OPTIONS:' - @echo '' - @files="`ls MAKE/OPTIONS/Makefile.*`"; \ - for file in $$files; do head -1 $$file; done - @echo '' - @echo 'or one of these from src/MAKE/MACHINES:' - @echo '' - @files="`ls MAKE/MACHINES/Makefile.*`"; \ - for file in $$files; do head -1 $$file; done - @echo '' - @echo 'or one of these from src/MAKE/MINE:' - @echo '' - @files="`ls MAKE/MINE/Makefile.* 2>/dev/null`"; \ - for file in $$files; do head -1 $$file; done - @echo '' - - -.DEFAULT: - @if [ $@ = "serial" -a ! -f STUBS/libmpi_stubs.a ]; \ - then $(MAKE) stubs; fi - @test -f MAKE/Makefile.$@ -o -f MAKE/OPTIONS/Makefile.$@ -o \ - -f MAKE/MACHINES/Makefile.$@ -o -f MAKE/MINE/Makefile.$@ - @if [ ! -d Obj_shlib_$@ ]; then mkdir Obj_shlib_$@; fi - @$(SHELL) Make.sh style - @if [ -f MAKE/MACHINES/Makefile.$@ ]; \ - then cp MAKE/MACHINES/Makefile.$@ Obj_shlib_$@/Makefile; fi - @if [ -f MAKE/OPTIONS/Makefile.$@ ]; \ - then cp MAKE/OPTIONS/Makefile.$@ Obj_shlib_$@/Makefile; fi - @if [ -f MAKE/Makefile.$@ ]; \ - then cp MAKE/Makefile.$@ Obj_shlib_$@/Makefile; fi - @if [ -f MAKE/MINE/Makefile.$@ ]; \ - then cp MAKE/MINE/Makefile.$@ Obj_shlib_$@/Makefile; fi - @if [ ! -e Makefile.package ]; \ - then cp Makefile.package.empty Makefile.package; fi - @if [ ! -e Makefile.package.settings ]; \ - then cp Makefile.package.settings.empty Makefile.package.settings; fi - @cp Makefile.package Makefile.package.settings Obj_shlib_$@ - @cd Obj_shlib_$@; \ - $(MAKE) $(MFLAGS) "OBJ = $(OBJ)" \ - "INC = $(INC)" "EXE = ../$(EXE)" shlib - @rm -f liblammps.so - @ln -s $(EXE) liblammps.so - @if [ -d Obj_shlib_$@ ]; then cd Obj_shlib_$@; \ - rm -f $(SRC) $(INC) Makefile*; fi - -# Remove machine-specific object files - -clean: - @echo 'make clean-all delete all object files' - @echo 'make clean-machine delete object files for one machine' - -clean-all: - rm -rf Obj_shlib_* - -clean-%: - rm -rf Obj_shlib_$(@:clean-%=%) -