git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3240 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2009-10-29 20:55:35 +00:00
parent b4d72e83b2
commit 2bcd46f426
6 changed files with 27 additions and 27 deletions

View File

@ -6,10 +6,10 @@ if ($1 == 1) then
sed -i -e 's/[^ \t]*gpu //' ../Makefile.package
sed -i -e 's/[^ \t]*gpu_[^ \t]*) //' ../Makefile.package
sed -i -e 's|^PKGPATH =[ \t]*|&-L../../lib/gpu |' ../Makefile.package
sed -i -e 's|^PKGLIB =[ \t]*|&-lgpu |' ../Makefile.package
sed -i -e 's|^PKGPATHSYS =[ \t]*|&$(gpu_SYSLIBPATH) |' ../Makefile.package
sed -i -e 's|^PKGLIBSYS =[ \t]*|&$(gpu_SYSLIB) |' ../Makefile.package
sed -i -e 's|^PKG_PATH =[ \t]*|&-L../../lib/gpu |' ../Makefile.package
sed -i -e 's|^PKG_LIB =[ \t]*|&-lgpu |' ../Makefile.package
sed -i -e 's|^PKG_SYSPATH =[ \t]*|&$(gpu_SYSPATH) |' ../Makefile.package
sed -i -e 's|^PKG_SYSLIB =[ \t]*|&$(gpu_SYSLIB) |' ../Makefile.package
cp style_gpu.h tmp.h
if (! -e ../pair_gayberne.cpp) then

View File

@ -5,11 +5,11 @@ if ($1 == 1) then
sed -i -e 's/[^ \t]*meam //' ../Makefile.package
sed -i -e 's/[^ \t]*meam_[^ \t]*) //' ../Makefile.package
sed -i -e 's|^PKGINC =[ \t]*|&-I../../lib/meam |' ../Makefile.package
sed -i -e 's|^PKGPATH =[ \t]*|&-L../../lib/meam |' ../Makefile.package
sed -i -e 's|^PKGLIB =[ \t]*|&-lmeam |' ../Makefile.package
sed -i -e 's|^PKGPATHSYS =[ \t]*|&$(meam_SYSLIBPATH) |' ../Makefile.package
sed -i -e 's|^PKGLIBSYS =[ \t]*|&$(meam_SYSLIB) |' ../Makefile.package
sed -i -e 's|^PKG_INC =[ \t]*|&-I../../lib/meam |' ../Makefile.package
sed -i -e 's|^PKG_PATH =[ \t]*|&-L../../lib/meam |' ../Makefile.package
sed -i -e 's|^PKG_LIB =[ \t]*|&-lmeam |' ../Makefile.package
sed -i -e 's|^PKG_SYSPATH =[ \t]*|&$(meam_SYSPATH) |' ../Makefile.package
sed -i -e 's|^PKG_SYSLIB =[ \t]*|&$(meam_SYSLIB) |' ../Makefile.package
cp style_meam.h ..

View File

@ -1,9 +1,9 @@
# Settings for libraries used by specific LAMMPS packages
# this file is auto-edited when those packages are included/excluded
PKGINC = -I../../lib/reax -I../../lib/poems -I../../lib/meam
PKGPATH = -L../../lib/reax -L../../lib/poems -L../../lib/meam
PKGLIB = -lreax -lpoems -lmeam
PKG_INC = -I../../lib/reax -I../../lib/poems -I../../lib/meam
PKG_PATH = -L../../lib/reax -L../../lib/poems -L../../lib/meam
PKG_LIB = -lreax -lpoems -lmeam
PKGPATHSYS = $(reax_SYSLIBPATH) $(meam_SYSLIBPATH)
PKGLIBSYS = $(reax_SYSLIB) $(meam_SYSLIB)
PKG_SYSPATH = $(reax_SYSPATH) $(meam_SYSPATH)
PKG_SYSLIB = $(reax_SYSLIB) $(meam_SYSLIB)

View File

@ -4,9 +4,9 @@
if ($1 == 1) then
sed -i -e 's/[^ \t]*poems //' ../Makefile.package
sed -i -e 's|^PKGINC =[ \t]*|&-I../../lib/poems |' ../Makefile.package
sed -i -e 's|^PKGPATH =[ \t]*|&-L../../lib/poems |' ../Makefile.package
sed -i -e 's|^PKGLIB =[ \t]*|&-lpoems |' ../Makefile.package
sed -i -e 's|^PKG_INC =[ \t]*|&-I../../lib/poems |' ../Makefile.package
sed -i -e 's|^PKG_PATH =[ \t]*|&-L../../lib/poems |' ../Makefile.package
sed -i -e 's|^PKG_LIB =[ \t]*|&-lpoems |' ../Makefile.package
cp style_poems.h ..

View File

@ -5,11 +5,11 @@ if ($1 == 1) then
sed -i -e 's/[^ \t]*reax //' ../Makefile.package
sed -i -e 's/[^ \t]*reax_[^ \t]*) //' ../Makefile.package
sed -i -e 's|^PKGINC =[ \t]*|&-I../../lib/reax |' ../Makefile.package
sed -i -e 's|^PKGPATH =[ \t]*|&-L../../lib/reax |' ../Makefile.package
sed -i -e 's|^PKGLIB =[ \t]*|&-lreax |' ../Makefile.package
sed -i -e 's|^PKGPATHSYS =[ \t]*|&$(reax_SYSLIBPATH) |' ../Makefile.package
sed -i -e 's|^PKGLIBSYS =[ \t]*|&$(reax_SYSLIB) |' ../Makefile.package
sed -i -e 's|^PKG_INC =[ \t]*|&-I../../lib/reax |' ../Makefile.package
sed -i -e 's|^PKG_PATH =[ \t]*|&-L../../lib/reax |' ../Makefile.package
sed -i -e 's|^PKG_LIB =[ \t]*|&-lreax |' ../Makefile.package
sed -i -e 's|^PKG_SYSPATH =[ \t]*|&$(reax_SYSPATH) |' ../Makefile.package
sed -i -e 's|^PKG_SYSLIB =[ \t]*|&$(reax_SYSLIB) |' ../Makefile.package
cp style_reax.h ..

View File

@ -5,11 +5,11 @@ if ($1 == 1) then
sed -i -e 's/[^ \t]*atc //' ../Makefile.package
sed -i -e 's/[^ \t]*atc_[^ \t]*) //' ../Makefile.package
sed -i -e 's|^PKGINC =[ \t]*|&-I../../lib/atc |' ../Makefile.package
sed -i -e 's|^PKGPATH =[ \t]*|&-L../../lib/atc |' ../Makefile.package
sed -i -e 's|^PKGLIB =[ \t]*|&-latc |' ../Makefile.package
sed -i -e 's|^PKGPATHSYS =[ \t]*|&$(user-atc_SYSLIBPATH) |' ../Makefile.package
sed -i -e 's|^PKGLIBSYS =[ \t]*|&$(user-atc_SYSLIB) |' ../Makefile.package
sed -i -e 's|^PKG_INC =[ \t]*|&-I../../lib/atc |' ../Makefile.package
sed -i -e 's|^PKG_PATH =[ \t]*|&-L../../lib/atc |' ../Makefile.package
sed -i -e 's|^PKG_LIB =[ \t]*|&-latc |' ../Makefile.package
sed -i -e 's|^PKG_SYSPATH =[ \t]*|&$(user-atc_SYSPATH) |' ../Makefile.package
sed -i -e 's|^PKG_SYSLIB =[ \t]*|&$(user-atc_SYSLIB) |' ../Makefile.package
cp style_user_atc.h ..