1# This file contains the hooks to build and link LAMMPS with the VMD
2# molfile plugins described here:
3#
4# http://www.ks.uiuc.edu/Research/vmd/plugins/molfile
5#
6# When you build LAMMPS with the MOLFILE package installed, it will
7# use the 3 settings in this file.  They should be set as follows.
8#
9# The molfile_SYSINC setting is to point to the folder with the VMD
10# plugin headers. By default it points to bundled headers in this folder
11#
12# The molfile_SYSLIB setting is for a system dynamic loading library
13# that will be used to load the molfile plugins.  It contains functions
14# like dlopen(), dlsym() and so on for dynamic linking of executable
15# code into an executable.  For Linux and most current Unix-like
16# operating systems, the setting of "-ldl" will work.  On some platforms
17# you may need "-ldld".  For compilation on Windows, a different
18# mechanism is used that is part of the Windows programming environment
19# and thus molfile_SYSLIB can be left blank.
20#
21# The molfile_SYSINC and molfile_SYSPATH variables do not typically need
22# to be set.  If the dl library is not in a place the linker can find
23# it, specify its directory via the molfile_SYSPATH variable, e.g.
24# -Ldir.
25
26# -----------------------------------------------------------
27
28# Settings that the LAMMPS build will import when this package is installed
29
30# change this to -I/path/to/your/lib/vmd/plugins/include if the bundled
31# header files are incompatible with your VMD plugsins
32molfile_SYSINC =-I../../lib/molfile
33#
34ifneq ($(LIBOBJDIR),/Obj_mingw32)
35ifneq ($(LIBOBJDIR),/Obj_mingw64)
36ifneq ($(LIBOBJDIR),/Obj_mingw32-mpi)
37ifneq ($(LIBOBJDIR),/Obj_mingw64-mpi)
38molfile_SYSLIB = -ldl
39endif
40endif
41endif
42endif
43molfile_SYSPATH =
44