2 # @
(#
) Makefile.def
1.33 8/16/96
5 # GROMACS
- Groningen Machine for Chemical Simulation
6 #
Copyright (c
) 1990-1994, Groningen University
8 # Global definitions for gromacs
11 CUR
:=$
(shell basename `pwd`
)
13 MKDIR
:=$
(SRCDIR
)/makef
15 #LIB
:=$
(LIBDIR
)/libgmx.$
(GMXCPU
).a
16 #SONAME
:=libgmx.$
(GMXCPU
).so
17 #SOLIB
:=$
(LIBDIR
)/$
(SONAME
)
18 STDTARGET
:=$
(MKDIR
)/Makefile.std
22 # Machine dependent stuff
24 include $
(MKDIR
)/Makefile.$
(GMXCPU
)
28 ifeq ($
(USE_PVM3
),yes
)
34 ifneq ($
(PARALLEL_ONLY_MDRUN
),yes
)
35 OBJDIR
:=$
(ROOT
)/obj
/$
(GMXCPU
)
36 LIBDIR
:=$
(ROOT
)/lib
/$
(GMXCPU
)
37 BINDIR
:=$
(ROOT
)/bin
/$
(GMXCPU
)
41 OBJDIR
:=$
(ROOT
)/obj
/$
(GMXCPU
)_mpi
42 LIBDIR
:=$
(ROOT
)/lib
/$
(GMXCPU
)_mpi
43 BINDIR
:=$
(ROOT
)/bin
/$
(GMXCPU
)_mpi
45 ifeq ($
(USE_PVM3
),yes
)
46 OBJDIR
:=$
(ROOT
)/obj
/$
(GMXCPU
)_pvm
47 LIBDIR
:=$
(ROOT
)/lib
/$
(GMXCPU
)_pvm
48 BINDIR
:=$
(ROOT
)/bin
/$
(GMXCPU
)_pvm
52 RUNSYSLIBS
:= $
(LINKSTATIC
) -lmd.$
(GMXCPU
) -lgmx.$
(GMXCPU
) -lfftw.$
(GMXCPU
) $
(LINKDYNAMIC
) $
(SYSLIBS
)
53 SYSLIBS
:= -lgmx.$
(GMXCPU
) $
(SYSLIBS
)
55 # System independent definitions
65 INCS
= -I.
-I$
(SRCDIR
)/$
(INCDIR
) $
(X11INC
)
66 ADDFLAGS
= -D_$
(GMXCPU
)_ $
(DEFS
) $
(SYSDEFS
) $
(INCS
)
67 C
-FLAGS
= $
(CFLAGS
) $
(ADDFLAGS
)
68 CC
-FLAGS
= $
(CCFLAGS
) $
(ADDFLAGS
) -DCPLUSPLUS