ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/oopse-1.0/Makefile
Revision: 1447
Committed: Fri Jul 30 21:01:35 2004 UTC (19 years, 11 months ago) by gezelter
File size: 2933 byte(s)
Log Message:
Initial import of OOPSE sources into cvs tree

File Contents

# User Rev Content
1 gezelter 1447 #####################################################
2     # Top-level Makefile for OOPSE #
3     #####################################################
4     # You should not change anything here. #
5     #####################################################
6    
7     # No make rules by default
8     .SUFFIXES:
9    
10     # Extension of object files
11     O=.o
12    
13     # Extension of executables
14     EXE=
15    
16     # Extension of modules
17     MOD=mod
18    
19     # Bourn shell
20     SHELL=/bin/sh
21    
22     # Path prefix for installation links
23     PREFIX=/usr/local
24    
25     # List of subdirectories
26     SUBDIRS=libBASS libmdtools src forceFields samples utils utils/sysbuilder third-party
27    
28     # Location of the oopse home
29     OOPSE_HOME=/usr/local/oopse
30    
31     FORCE_PARAM_DIR=/usr/local/oopse/share/forceFields/
32     SAMPLE_SIM_DIR=/usr/local/oopse/share/samples/
33    
34     # SPRNG library path
35     SPRNG_LIBDIR=@SPRNG_LIBDIR@
36    
37     # SPRNG library
38     SPRNG_LIB=-lsprng
39    
40     # SPRNG include path
41     SPRNG_INC=@SPRNG_INC@
42    
43     # MPICH library path
44     MPI_LIBDIR=@MPI_LIBDIR@
45    
46     # MPICH library
47     MPI_LIB=-lmpich
48    
49     # MPICH include path
50     MPI_INC=@MPI_INC@
51    
52     # MPI F90 Module path
53     MPI_F90_MODS=@MPI_F90_MODS@
54    
55     # Compiler dependent Fortran module
56     FLIBS_EXTRA = -L/usr/local/intel/compiler80/lib -L/usr/lib -lifport -lifcoremt -limf -lm -lcxa -lunwind -lpthread -lirc
57    
58     # Location of yacc (or its substitution)
59     YACC=bison -y
60    
61     #location of lex
62     LEX=flex
63    
64     # C compiler
65     CC=icc
66    
67     # C++ compiler
68    
69     CXX=icpc
70    
71     # F90 compiler
72     F90=ifort
73    
74     # ar
75     AR=ar
76    
77     # ranlib
78     RANLIB=ranlib
79    
80     # rm
81     RM=rm -f
82    
83     # soft link
84     LN_S=ln -s
85    
86     # BSD install
87     INSTALL=/usr/bin/install -c
88     INSTALL_PROGRAM=${INSTALL}
89     INSTALL_DATA=${INSTALL} -m 644
90     MKINSTALLDIRS=/home/maul/gezelter/gezelter/OOPSE-1.0/ac-tools/shtool mkdir -p -f
91    
92     # CPP flags
93     CPPFLAGS=
94    
95     # C flags
96     CFLAGS=-O
97    
98     # C++ flags
99     CXXFLAGS=-O
100    
101     # Fortran flags
102     FFLAGS=
103    
104     # MOD Dir flag
105     MODDIRFLAG=-I
106    
107     # Fortran90 flags
108     F90FLAGS=-O -fpp1
109    
110     # LDFLAGS
111     LDFLAGS= -L/usr/local/mpich/lib -L/usr/local/lib
112    
113     subdirs :
114     @set -e; for i in $(SUBDIRS); do (cd $$i; $(MAKE)) || exit 1; done
115    
116     all : subdirs
117    
118     install : subdirs
119     @set -e; for i in $(SUBDIRS); do (cd $$i; $(MAKE) install) || exit 1; done
120     $(MKINSTALLDIRS) $(OOPSE_HOME)
121     $(INSTALL_DATA) README $(OOPSE_HOME)
122     $(INSTALL_DATA) LICENSE $(OOPSE_HOME)
123     $(INSTALL_DATA) AUTHORS $(OOPSE_HOME)
124     $(INSTALL_DATA) ChangeLog $(OOPSE_HOME)
125    
126     tests : subdirs
127     @set -e; for i in $(SUBDIRS); do (cd $$i; $(MAKE) tests) || exit 1; done
128    
129     check : tests
130    
131     links : subdirs
132     @set -e; for i in $(SUBDIRS); do (cd $$i; $(MAKE) links) || exit 1; done
133    
134     clean :
135     @set -e; for i in $(SUBDIRS); do (cd $$i; $(MAKE) clean) || exit 1; done
136    
137     distclean :
138     @set -e; for i in $(SUBDIRS); do (cd $$i; $(MAKE) distclean) || exit 1; done
139     $(RM) config.log config.status config.cache Make.conf
140    
141     devclean :
142     @set -e; for i in $(SUBDIRS); do (cd $$i; $(MAKE) devclean) || exit 1; done
143     $(RM) config.log config.status config.cache configure
144    
145     texts : CHANGES ChangeLog
146    
147     CHANGES : doc/CHANGES.html
148     @lynx -dump $? > CHANGES
149    
150     ChangeLog :
151     ./scripts/cvs2cl.pl
152    
153     dummy :
154