ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-1.0/Makefile
Revision: 1344
Committed: Fri Jul 16 20:54:36 2004 UTC (19 years, 11 months ago) by gezelter
File size: 2947 byte(s)
Log Message:
Makefiles don't belong in repository

File Contents

# Content
1 #####################################################
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 staticProps 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=/usr/local/lib
36
37 # SPRNG library
38 SPRNG_LIB=-lsprng
39
40 # SPRNG include path
41 SPRNG_INC=-I/usr/local/include/sprng
42
43 # MPICH library path
44 MPI_LIBDIR=@MPI_LIBDIR@
45
46 # MPICH library
47 MPI_LIB=
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=
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) NEWS $(OOPSE_HOME)
124 $(INSTALL_DATA) AUTHORS $(OOPSE_HOME)
125 $(INSTALL_DATA) ChangeLog $(OOPSE_HOME)
126
127 tests : subdirs
128 @set -e; for i in $(SUBDIRS); do (cd $$i; $(MAKE) tests) || exit 1; done
129
130 check : tests
131
132 links : subdirs
133 @set -e; for i in $(SUBDIRS); do (cd $$i; $(MAKE) links) || exit 1; done
134
135 clean :
136 @set -e; for i in $(SUBDIRS); do (cd $$i; $(MAKE) clean) || exit 1; done
137
138 distclean :
139 @set -e; for i in $(SUBDIRS); do (cd $$i; $(MAKE) distclean) || exit 1; done
140 $(RM) config.log config.status config.cache Make.conf
141
142 devclean :
143 @set -e; for i in $(SUBDIRS); do (cd $$i; $(MAKE) devclean) || exit 1; done
144 $(RM) config.log config.status config.cache configure
145
146 texts : CHANGES ChangeLog
147
148 CHANGES : doc/CHANGES.html
149 @lynx -dump $? > CHANGES
150
151 ChangeLog :
152 ./scripts/cvs2cl.pl
153
154 dummy :
155