~ubuntu-branches/debian/sid/lammps/sid

« back to all changes in this revision

Viewing changes to lib/molfile/Makefile.lammps

  • Committer: Package Import Robot
  • Author(s): Anton Gladky
  • Date: 2015-04-29 23:44:49 UTC
  • mfrom: (5.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20150429234449-mbhy9utku6hp6oq8
Tags: 0~20150313.gitfa668e1-1
Upload into unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 USER-MOLFILE package installed, it will
 
7
# use the 3 settings in this file.  They should be set as follows.
 
8
 
9
# The molfile_SYSLIB setting is for a system dynamic loading library
 
10
# that will be used to load the molfile plugins.  It contains functions
 
11
# like dlopen(), dlsym() and so on for dynamic linking of executable
 
12
# code into an executable.  For Linux and most current Unix-like
 
13
# operating systems, the setting of "-ldl" will work.  On some platforms
 
14
# you may need "-ldld".  For compilation on Windows, a different
 
15
# mechanism is used that is part of the Windows programming environment
 
16
# and thus molfile_SYSLIB can be left blank.
 
17
 
18
# The molfile_SYSINC and molfile_SYSPATH variables do not typically need
 
19
# to be set.  If the dl library is not in a place the linker can find
 
20
# it, specify its directory via the molfile_SYSPATH variable, e.g.
 
21
# -Ldir.
 
22
 
 
23
# -----------------------------------------------------------
 
24
 
 
25
# Settings that the LAMMPS build will import when this package is installed
 
26
 
 
27
molfile_SYSINC =
 
28
ifneq ($(LIBOBJDIR),/Obj_mingw32)
 
29
ifneq ($(LIBOBJDIR),/Obj_mingw64)
 
30
ifneq ($(LIBOBJDIR),/Obj_mingw32-mpi)
 
31
ifneq ($(LIBOBJDIR),/Obj_mingw64-mpi)
 
32
molfile_SYSLIB = -ldl
 
33
endif
 
34
endif
 
35
endif
 
36
endif
 
37
molfile_SYSPATH =