mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
Creation of OpenFOAM-dev repository 15/04/2008
This commit is contained in:
7
wmake/rules/General/CGAL
Normal file
7
wmake/rules/General/CGAL
Normal file
@ -0,0 +1,7 @@
|
||||
CGAL_PATH = ${WM_PROJECT_INST_DIR}/${WM_ARCH}/CGAL-${CGAL_VERSION}
|
||||
|
||||
CGAL_INC = \
|
||||
-Wno-old-style-cast \
|
||||
-I${CGAL_SRC}/include \
|
||||
-I${CGAL_PATH} \
|
||||
-I${BOOST_SRC}
|
||||
11
wmake/rules/General/bison
Normal file
11
wmake/rules/General/bison
Normal file
@ -0,0 +1,11 @@
|
||||
.SUFFIXES: .y .Y
|
||||
|
||||
ytoo = bison -v $(YYPREFIX) -d $$SOURCE ; mv $$SOURCE_DIR/*.tab.c $*.c ; mv $$SOURCE_DIR/*.tab.h $*.h ; $(cc) $(cFLAGS) -c $*.c -o $@
|
||||
|
||||
Ytoo = bison -v $(YYPREFIX) -d $$SOURCE ; mv $$SOURCE_DIR/*.tab.c $*.C ; mv $$SOURCE_DIR/*.tab.h $*.H ; $(CC) $(c++FLAGS) -c $*.C -o $@
|
||||
|
||||
.y.dep:
|
||||
$(MAKE_DEP)
|
||||
|
||||
.Y.dep:
|
||||
$(MAKE_DEP)
|
||||
6
wmake/rules/General/btyacc
Normal file
6
wmake/rules/General/btyacc
Normal file
@ -0,0 +1,6 @@
|
||||
.SUFFIXES: .y
|
||||
|
||||
ytoo = btyacc -v -d $(SKELETON) $$SOURCE ; mv y_tab.c $*.C ; mv y_tab.h $*.H ; $(CC) $(c++FLAGS) -c $*.C -o $@
|
||||
|
||||
.y.dep:
|
||||
$(MAKE_DEP)
|
||||
6
wmake/rules/General/btyacc++
Normal file
6
wmake/rules/General/btyacc++
Normal file
@ -0,0 +1,6 @@
|
||||
.SUFFIXES: .Y
|
||||
|
||||
Ytoo = btyacc++ -v -d $(SKELETON) $$SOURCE ; mv y_tab.c $*.C ; mv y_tab.h $*.H ; $(CC) $(c++FLAGS) -c $*.C -o $@
|
||||
|
||||
.Y.dep:
|
||||
$(MAKE_DEP)
|
||||
6
wmake/rules/General/byacc
Normal file
6
wmake/rules/General/byacc
Normal file
@ -0,0 +1,6 @@
|
||||
.SUFFIXES: .y
|
||||
|
||||
ytoo = byacc -v $(YYPREFIX) -d $$SOURCE ; mv y.tab.c $*.C ; mv y.tab.h $*.H ; $(CC) $(c++FLAGS) -c $*.C -o $@
|
||||
|
||||
.y.dep:
|
||||
$(MAKE_DEP)
|
||||
12
wmake/rules/General/cint
Normal file
12
wmake/rules/General/cint
Normal file
@ -0,0 +1,12 @@
|
||||
.SUFFIXES: .ldf
|
||||
|
||||
ifeq ($(origin WM_SCHEDULER), undefined)
|
||||
EVAL_LDF = eval
|
||||
else
|
||||
EVAL_LDF = $(WM_SCHEDULER)
|
||||
endif
|
||||
|
||||
ldftoo = $(EVAL_LDF) m4 $$SOURCE \> $*.H \; cint -n$*.C -N$(*F) -p -c-1 -A -I${CINTSYSDIR}/inc -I${WM_PROJECT_DIR}/src/OpenFOAM/lnInclude -D__MAKECINT__ -DG__MAKECINT -DG__SHAREDLIB -DG__OSFDLL -DG__ANSI -DG__ERRORCALLBACK -DG__SIGNEDCHAR -DG__NEWSTDHEADER -DG__CINT_VER6 -DG__NATIVELONGLONG -DG__P2FCAST -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DDP -D__restrict__= -Y0 -DNoInline $*.H \; $(CC) $(c++FLAGS) -c $*.C -o $@
|
||||
|
||||
.ldf.dep:
|
||||
$(MAKE_DEP)
|
||||
6
wmake/rules/General/flex
Normal file
6
wmake/rules/General/flex
Normal file
@ -0,0 +1,6 @@
|
||||
.SUFFIXES: .l
|
||||
|
||||
ltoo = flex $$SOURCE ; mv lex.yy.c $*.C ; $(CC) $(c++FLAGS) -c $*.C -o $@
|
||||
|
||||
.l.dep:
|
||||
$(MAKE_DEP)
|
||||
6
wmake/rules/General/flex++
Normal file
6
wmake/rules/General/flex++
Normal file
@ -0,0 +1,6 @@
|
||||
.SUFFIXES: .L
|
||||
|
||||
Ltoo = flex++ -f $$SOURCE ; mv lex.yy.cc $*.C ; $(CC) $(c++FLAGS) -c $*.C -o $@
|
||||
|
||||
.L.dep:
|
||||
$(MAKE_DEP)
|
||||
6
wmake/rules/General/flex++.test
Normal file
6
wmake/rules/General/flex++.test
Normal file
@ -0,0 +1,6 @@
|
||||
.SUFFIXES: .L
|
||||
|
||||
Ltoo = flex++ $$SOURCE ; mv lex.yy.cc $*.C ; $(CC) $(c++FLAGS) -c $*.C -o $@
|
||||
|
||||
.L.dep:
|
||||
$(MAKE_DEP)
|
||||
9
wmake/rules/General/general
Normal file
9
wmake/rules/General/general
Normal file
@ -0,0 +1,9 @@
|
||||
AR = ar
|
||||
ARFLAGS = cr
|
||||
RANLIB = ranlib
|
||||
LD = ld
|
||||
|
||||
GFLAGS = -D$(WM_ARCH) -D$(WM_PRECISION_OPTION)
|
||||
GINC =
|
||||
GLIBS = -lm
|
||||
GLIB_LIBS =
|
||||
10
wmake/rules/General/java
Normal file
10
wmake/rules/General/java
Normal file
@ -0,0 +1,10 @@
|
||||
.SUFFIXES: .java .class
|
||||
|
||||
javac = javac
|
||||
|
||||
include $(GENERAL_RULES)/java$(WM_JAVAC_OPTION)
|
||||
|
||||
javaFLAGS = -classpath $(CLASS_PATH):$(CLASSES_DIR):. $(EXE_INC) $(javaOPT) $(javaDBUG) -d $(CLASSES_DIR) -deprecation
|
||||
|
||||
javatoclass = mkdir -p $(CLASSES_DIR) ; \
|
||||
( $(javac) $(javaFLAGS) $$SOURCE || ( rm -f $@ ) )
|
||||
2
wmake/rules/General/javaDebug
Normal file
2
wmake/rules/General/javaDebug
Normal file
@ -0,0 +1,2 @@
|
||||
javaDBUG = -g
|
||||
javaOPT =
|
||||
2
wmake/rules/General/javaOpt
Normal file
2
wmake/rules/General/javaOpt
Normal file
@ -0,0 +1,2 @@
|
||||
javaDBUG =
|
||||
javaOPT = -O
|
||||
6
wmake/rules/General/moc
Normal file
6
wmake/rules/General/moc
Normal file
@ -0,0 +1,6 @@
|
||||
.SUFFIXES: .qt
|
||||
|
||||
qttoo = $(QTDIR)/bin/moc -f $$SOURCE -o $*.C ; $(CC) $(c++FLAGS) -c $*.C -o $@
|
||||
|
||||
.qt.dep:
|
||||
$(MAKE_DEP)
|
||||
3
wmake/rules/General/mplibMPICH
Normal file
3
wmake/rules/General/mplibMPICH
Normal file
@ -0,0 +1,3 @@
|
||||
PFLAGS =
|
||||
PINC = -I$(MPICH_ARCH_PATH)/include
|
||||
PLIBS = -L$(MPICH_ARCH_PATH)/lib -lmpich -lrt
|
||||
27
wmake/rules/General/sourceToDep
Normal file
27
wmake/rules/General/sourceToDep
Normal file
@ -0,0 +1,27 @@
|
||||
.SUFFIXES: .c .cc .cxx .cpp .C .java .F .f .dep
|
||||
|
||||
MKDEP = $(RULES)/wmkdep -I$(*D) $(LIB_HEADER_DIRS)
|
||||
|
||||
.c.dep:
|
||||
$(MAKE_DEP)
|
||||
|
||||
.cc.dep:
|
||||
$(MAKE_DEP)
|
||||
|
||||
.cxx.dep:
|
||||
$(MAKE_DEP)
|
||||
|
||||
.cpp.dep:
|
||||
$(MAKE_DEP)
|
||||
|
||||
.C.dep:
|
||||
$(MAKE_DEP)
|
||||
|
||||
.java.dep:
|
||||
$(MAKE_DEP)
|
||||
|
||||
.F.dep:
|
||||
$(MAKE_DEP)
|
||||
|
||||
.f.dep:
|
||||
$(MAKE_DEP)
|
||||
10
wmake/rules/General/standard
Normal file
10
wmake/rules/General/standard
Normal file
@ -0,0 +1,10 @@
|
||||
include $(GENERAL_RULES)/version
|
||||
|
||||
include $(GENERAL_RULES)/sourceToDep
|
||||
|
||||
include $(GENERAL_RULES)/java
|
||||
include $(GENERAL_RULES)/flex
|
||||
include $(GENERAL_RULES)/flex++
|
||||
include $(GENERAL_RULES)/byacc
|
||||
include $(GENERAL_RULES)/btyacc++
|
||||
include $(GENERAL_RULES)/moc
|
||||
6
wmake/rules/General/version
Normal file
6
wmake/rules/General/version
Normal file
@ -0,0 +1,6 @@
|
||||
.SUFFIXES: .Cver
|
||||
|
||||
Cvertoo = sed s/WM_PROJECT_VERSION/\"$(WM_PROJECT_VERSION)\"/ $$SOURCE > $*.C ; $(CC) $(c++FLAGS) -c $*.C -o $@
|
||||
|
||||
.Cver.dep:
|
||||
$(MAKE_DEP)
|
||||
11
wmake/rules/General/yacc
Normal file
11
wmake/rules/General/yacc
Normal file
@ -0,0 +1,11 @@
|
||||
.SUFFIXES: .y .Y
|
||||
|
||||
ytoo = yacc -v -d $$SOURCE ; mv y.tab.c $*.c ; mv y.tab.h $(@D)/parser.h ; $(CC) $(c++FLAGS) -c $*.c -o $@
|
||||
|
||||
Ytoo = yacc -v -d $$SOURCE ; mv y.tab.c $*.C ; mv y.tab.h $(@D)/parser.H ; $(CC) $(c++FLAGS) -c $*.C -o $@
|
||||
|
||||
.y.dep:
|
||||
$(MAKE_DEP)
|
||||
|
||||
.Y.dep:
|
||||
$(MAKE_DEP)
|
||||
3
wmake/rules/linux64Gcc/X
Normal file
3
wmake/rules/linux64Gcc/X
Normal file
@ -0,0 +1,3 @@
|
||||
XFLAGS =
|
||||
XINC = $(XFLAGS) -I/usr/X11R6/include
|
||||
XLIBS = -L/usr/X11R6/lib64 -lXext -lX11
|
||||
16
wmake/rules/linux64Gcc/c
Normal file
16
wmake/rules/linux64Gcc/c
Normal file
@ -0,0 +1,16 @@
|
||||
.SUFFIXES: .c .h
|
||||
|
||||
cWARN = -Wall
|
||||
|
||||
cc = gcc -m64
|
||||
|
||||
include $(RULES)/c$(WM_COMPILE_OPTION)
|
||||
|
||||
cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC
|
||||
|
||||
ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@
|
||||
|
||||
LINK_LIBS = $(cDBUG)
|
||||
|
||||
LINKLIBSO = $(cc) -shared
|
||||
LINKEXE = $(cc) -Xlinker -z -Xlinker nodefs
|
||||
21
wmake/rules/linux64Gcc/c++
Normal file
21
wmake/rules/linux64Gcc/c++
Normal file
@ -0,0 +1,21 @@
|
||||
.SUFFIXES: .C .cxx .cc .cpp
|
||||
|
||||
c++WARN = -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast
|
||||
|
||||
CC = g++ -m64
|
||||
|
||||
include $(RULES)/c++$(WM_COMPILE_OPTION)
|
||||
|
||||
ptFLAGS = -DNoRepository -ftemplate-depth-40
|
||||
|
||||
c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC
|
||||
|
||||
Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@
|
||||
cxxtoo = $(Ctoo)
|
||||
cctoo = $(Ctoo)
|
||||
cpptoo = $(Ctoo)
|
||||
|
||||
LINK_LIBS = $(c++DBUG)
|
||||
|
||||
LINKLIBSO = $(CC) $(c++FLAGS) -shared
|
||||
LINKEXE = $(CC) $(c++FLAGS)
|
||||
2
wmake/rules/linux64Gcc/c++Debug
Normal file
2
wmake/rules/linux64Gcc/c++Debug
Normal file
@ -0,0 +1,2 @@
|
||||
c++DBUG = -ggdb3 -DFULLDEBUG
|
||||
c++OPT = -O0 -fdefault-inline
|
||||
4
wmake/rules/linux64Gcc/c++Opt
Normal file
4
wmake/rules/linux64Gcc/c++Opt
Normal file
@ -0,0 +1,4 @@
|
||||
c++DBUG =
|
||||
c++OPT = -march=opteron -O3
|
||||
#c++OPT = -march=nocona -O3
|
||||
# -ftree-vectorize -ftree-vectorizer-verbose=3
|
||||
2
wmake/rules/linux64Gcc/c++Prof
Normal file
2
wmake/rules/linux64Gcc/c++Prof
Normal file
@ -0,0 +1,2 @@
|
||||
c++DBUG = -pg
|
||||
c++OPT = -O2
|
||||
2
wmake/rules/linux64Gcc/cDebug
Normal file
2
wmake/rules/linux64Gcc/cDebug
Normal file
@ -0,0 +1,2 @@
|
||||
cDBUG = -ggdb -DFULLDEBUG
|
||||
cOPT = -O1 -fdefault-inline -finline-functions
|
||||
2
wmake/rules/linux64Gcc/cOpt
Normal file
2
wmake/rules/linux64Gcc/cOpt
Normal file
@ -0,0 +1,2 @@
|
||||
cDBUG =
|
||||
cOPT = -march=opteron -O3 -fno-gcse
|
||||
2
wmake/rules/linux64Gcc/cProf
Normal file
2
wmake/rules/linux64Gcc/cProf
Normal file
@ -0,0 +1,2 @@
|
||||
cDBUG = -pg
|
||||
cOPT = -O2
|
||||
BIN
wmake/rules/linux64Gcc/dirToString
Executable file
BIN
wmake/rules/linux64Gcc/dirToString
Executable file
Binary file not shown.
11
wmake/rules/linux64Gcc/general
Normal file
11
wmake/rules/linux64Gcc/general
Normal file
@ -0,0 +1,11 @@
|
||||
CPP = /lib/cpp $(GFLAGS)
|
||||
LD = ld -A64
|
||||
|
||||
PROJECT_LIBS = -l$(WM_PROJECT) -liberty -ldl
|
||||
|
||||
include $(GENERAL_RULES)/standard
|
||||
|
||||
include $(RULES)/X
|
||||
include $(RULES)/c
|
||||
include $(RULES)/c++
|
||||
include $(GENERAL_RULES)/cint
|
||||
3
wmake/rules/linux64Gcc/mplib
Normal file
3
wmake/rules/linux64Gcc/mplib
Normal file
@ -0,0 +1,3 @@
|
||||
PFLAGS =
|
||||
PINC =
|
||||
PLIBS =
|
||||
3
wmake/rules/linux64Gcc/mplibGAMMA
Normal file
3
wmake/rules/linux64Gcc/mplibGAMMA
Normal file
@ -0,0 +1,3 @@
|
||||
PFLAGS =
|
||||
PINC = -I$(GAMMA_ARCH_PATH)/include
|
||||
PLIBS = -L$(GAMMA_ARCH_PATH)/lib -lgamma
|
||||
3
wmake/rules/linux64Gcc/mplibLAM
Normal file
3
wmake/rules/linux64Gcc/mplibLAM
Normal file
@ -0,0 +1,3 @@
|
||||
PFLAGS =
|
||||
PINC = -I$(LAM_ARCH_PATH)/include
|
||||
PLIBS = -L$(LAM_ARCH_PATH)/lib -lmpi -llam -lpthread -lutil
|
||||
3
wmake/rules/linux64Gcc/mplibMPICH
Normal file
3
wmake/rules/linux64Gcc/mplibMPICH
Normal file
@ -0,0 +1,3 @@
|
||||
PFLAGS =
|
||||
PINC = -I$(MPICH_ARCH_PATH)/include
|
||||
PLIBS = -L$(MPICH_ARCH_PATH)/lib -lmpich -lrt
|
||||
3
wmake/rules/linux64Gcc/mplibMPICH-GM
Normal file
3
wmake/rules/linux64Gcc/mplibMPICH-GM
Normal file
@ -0,0 +1,3 @@
|
||||
PFLAGS =
|
||||
PINC = -I$(MPICH_ARCH_PATH)/include
|
||||
PLIBS = -L$(MPICH_ARCH_PATH)/lib -lmpich -L$(GM_LIB_PATH) -lgm
|
||||
3
wmake/rules/linux64Gcc/mplibOPENMPI
Normal file
3
wmake/rules/linux64Gcc/mplibOPENMPI
Normal file
@ -0,0 +1,3 @@
|
||||
PFLAGS = -DOMPI_SKIP_MPICXX
|
||||
PINC = -I$(OPENMPI_ARCH_PATH)/include
|
||||
PLIBS = -L$(OPENMPI_ARCH_PATH)/lib -lmpi
|
||||
BIN
wmake/rules/linux64Gcc/wmkdep
Executable file
BIN
wmake/rules/linux64Gcc/wmkdep
Executable file
Binary file not shown.
3
wmake/rules/linux64I64/X
Normal file
3
wmake/rules/linux64I64/X
Normal file
@ -0,0 +1,3 @@
|
||||
XFLAGS =
|
||||
XINC = $(XFLAGS) -I/usr/X11R6/include
|
||||
XLIBS = -L/usr/X11R6/lib64 -lXext -lX11
|
||||
16
wmake/rules/linux64I64/c
Normal file
16
wmake/rules/linux64I64/c
Normal file
@ -0,0 +1,16 @@
|
||||
.SUFFIXES: .c .h
|
||||
|
||||
cWARN =
|
||||
|
||||
cc = icc
|
||||
|
||||
include $(RULES)/c$(WM_COMPILE_OPTION)
|
||||
|
||||
cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC
|
||||
|
||||
ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@
|
||||
|
||||
LINK_LIBS = $(cDBUG) -L$(IA32ROOT)/lib
|
||||
|
||||
LINKLIBSO = $(cc) $(cFLAGS) -shared
|
||||
LINKEXE = $(cc) $(cFLAGS)
|
||||
21
wmake/rules/linux64I64/c++
Normal file
21
wmake/rules/linux64I64/c++
Normal file
@ -0,0 +1,21 @@
|
||||
.SUFFIXES: .C .cxx .cc .cpp
|
||||
|
||||
c++WARN = -wd654,819,1125,1476,1505,1572
|
||||
|
||||
CC = icpc
|
||||
|
||||
include $(RULES)/c++$(WM_COMPILE_OPTION)
|
||||
|
||||
ptFLAGS = -DNoRepository
|
||||
|
||||
c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC
|
||||
|
||||
Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@
|
||||
cxxtoo = $(Ctoo)
|
||||
cctoo = $(Ctoo)
|
||||
cpptoo = $(Ctoo)
|
||||
|
||||
LINK_LIBS = $(c++DBUG) -L$(IA64ROOT)/lib
|
||||
|
||||
LINKLIBSO = $(CC) $(c++FLAGS) -shared
|
||||
LINKEXE = $(CC) $(c++FLAGS)
|
||||
2
wmake/rules/linux64I64/c++Debug
Normal file
2
wmake/rules/linux64I64/c++Debug
Normal file
@ -0,0 +1,2 @@
|
||||
c++DBUG = -g -DFULLDEBUG -O0
|
||||
c++OPT =
|
||||
2
wmake/rules/linux64I64/c++Opt
Normal file
2
wmake/rules/linux64I64/c++Opt
Normal file
@ -0,0 +1,2 @@
|
||||
c++DBUG =
|
||||
c++OPT = -xT -O3 -no-prec-div
|
||||
2
wmake/rules/linux64I64/c++Prof
Normal file
2
wmake/rules/linux64I64/c++Prof
Normal file
@ -0,0 +1,2 @@
|
||||
c++DBUG = -pg
|
||||
c++OPT = -O2
|
||||
2
wmake/rules/linux64I64/cDebug
Normal file
2
wmake/rules/linux64I64/cDebug
Normal file
@ -0,0 +1,2 @@
|
||||
cDBUG = -g -DFULLDEBUG -O0
|
||||
cOPT =
|
||||
2
wmake/rules/linux64I64/cOpt
Normal file
2
wmake/rules/linux64I64/cOpt
Normal file
@ -0,0 +1,2 @@
|
||||
cDBUG =
|
||||
cOPT = -O3 -no-prec-div
|
||||
2
wmake/rules/linux64I64/cProf
Normal file
2
wmake/rules/linux64I64/cProf
Normal file
@ -0,0 +1,2 @@
|
||||
cDBUG = -pg
|
||||
cOPT = -O2
|
||||
BIN
wmake/rules/linux64I64/dirToString
Executable file
BIN
wmake/rules/linux64I64/dirToString
Executable file
Binary file not shown.
10
wmake/rules/linux64I64/general
Normal file
10
wmake/rules/linux64I64/general
Normal file
@ -0,0 +1,10 @@
|
||||
CPP = /lib/cpp $(GFLAGS)
|
||||
LD = ld
|
||||
|
||||
PROJECT_LIBS = -l$(WM_PROJECT) -liberty -ldl
|
||||
|
||||
include $(GENERAL_RULES)/standard
|
||||
|
||||
include $(RULES)/X
|
||||
include $(RULES)/c
|
||||
include $(RULES)/c++
|
||||
3
wmake/rules/linux64I64/mplib
Normal file
3
wmake/rules/linux64I64/mplib
Normal file
@ -0,0 +1,3 @@
|
||||
PFLAGS =
|
||||
PINC =
|
||||
PLIBS =
|
||||
3
wmake/rules/linux64I64/mplibLAM
Normal file
3
wmake/rules/linux64I64/mplibLAM
Normal file
@ -0,0 +1,3 @@
|
||||
PFLAGS =
|
||||
PINC = -I$(LAM_ARCH_PATH)/include
|
||||
PLIBS = -L$(LAM_ARCH_PATH)/lib -lmpi -llam -lutil
|
||||
3
wmake/rules/linux64I64/mplibMPICH
Normal file
3
wmake/rules/linux64I64/mplibMPICH
Normal file
@ -0,0 +1,3 @@
|
||||
PFLAGS =
|
||||
PINC = -I$(MPICH_ARCH_PATH)/include
|
||||
PLIBS = -L$(MPICH_ARCH_PATH)/lib -lmpich -lrt
|
||||
3
wmake/rules/linux64I64/mplibOPENMPI
Normal file
3
wmake/rules/linux64I64/mplibOPENMPI
Normal file
@ -0,0 +1,3 @@
|
||||
PFLAGS = -DOMPI_SKIP_MPICXX
|
||||
PINC = -I$(OPENMPI_ARCH_PATH)/include
|
||||
PLIBS = -L$(OPENMPI_ARCH_PATH)/lib -lmpi
|
||||
BIN
wmake/rules/linux64I64/wmkdep
Executable file
BIN
wmake/rules/linux64I64/wmkdep
Executable file
Binary file not shown.
3
wmake/rules/linuxGcc/X
Normal file
3
wmake/rules/linuxGcc/X
Normal file
@ -0,0 +1,3 @@
|
||||
XFLAGS =
|
||||
XINC = $(XFLAGS) -I/usr/X11R6/include
|
||||
XLIBS = -L/usr/X11R6/lib -lXext -lX11
|
||||
16
wmake/rules/linuxGcc/c
Normal file
16
wmake/rules/linuxGcc/c
Normal file
@ -0,0 +1,16 @@
|
||||
.SUFFIXES: .c .h
|
||||
|
||||
cWARN = -Wall
|
||||
|
||||
cc = gcc -m32
|
||||
|
||||
include $(RULES)/c$(WM_COMPILE_OPTION)
|
||||
|
||||
cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC
|
||||
|
||||
ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@
|
||||
|
||||
LINK_LIBS = $(cDBUG)
|
||||
|
||||
LINKLIBSO = $(cc) -shared
|
||||
LINKEXE = $(cc) -Xlinker -z -Xlinker nodefs
|
||||
21
wmake/rules/linuxGcc/c++
Normal file
21
wmake/rules/linuxGcc/c++
Normal file
@ -0,0 +1,21 @@
|
||||
.SUFFIXES: .C .cxx .cc .cpp
|
||||
|
||||
c++WARN = -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast
|
||||
|
||||
CC = g++ -m32
|
||||
|
||||
include $(RULES)/c++$(WM_COMPILE_OPTION)
|
||||
|
||||
ptFLAGS = -DNoRepository -ftemplate-depth-40
|
||||
|
||||
c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC -pthread
|
||||
|
||||
Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@
|
||||
cxxtoo = $(Ctoo)
|
||||
cctoo = $(Ctoo)
|
||||
cpptoo = $(Ctoo)
|
||||
|
||||
LINK_LIBS = $(c++DBUG)
|
||||
|
||||
LINKLIBSO = $(CC) $(c++FLAGS) -shared
|
||||
LINKEXE = $(CC) $(c++FLAGS)
|
||||
2
wmake/rules/linuxGcc/c++Debug
Normal file
2
wmake/rules/linuxGcc/c++Debug
Normal file
@ -0,0 +1,2 @@
|
||||
c++DBUG = -ggdb3 -DFULLDEBUG
|
||||
c++OPT = -O0 -fdefault-inline
|
||||
2
wmake/rules/linuxGcc/c++Opt
Normal file
2
wmake/rules/linuxGcc/c++Opt
Normal file
@ -0,0 +1,2 @@
|
||||
c++DBUG =
|
||||
c++OPT = -O3
|
||||
2
wmake/rules/linuxGcc/c++Prof
Normal file
2
wmake/rules/linuxGcc/c++Prof
Normal file
@ -0,0 +1,2 @@
|
||||
c++DBUG = -pg
|
||||
c++OPT = -O2
|
||||
2
wmake/rules/linuxGcc/cDebug
Normal file
2
wmake/rules/linuxGcc/cDebug
Normal file
@ -0,0 +1,2 @@
|
||||
cDBUG = -ggdb -DFULLDEBUG
|
||||
cOPT = -O1 -finline-functions
|
||||
2
wmake/rules/linuxGcc/cOpt
Normal file
2
wmake/rules/linuxGcc/cOpt
Normal file
@ -0,0 +1,2 @@
|
||||
cDBUG =
|
||||
cOPT = -O3
|
||||
2
wmake/rules/linuxGcc/cProf
Normal file
2
wmake/rules/linuxGcc/cProf
Normal file
@ -0,0 +1,2 @@
|
||||
cDBUG = -pg
|
||||
cOPT = -O2
|
||||
BIN
wmake/rules/linuxGcc/dirToString
Executable file
BIN
wmake/rules/linuxGcc/dirToString
Executable file
Binary file not shown.
10
wmake/rules/linuxGcc/general
Normal file
10
wmake/rules/linuxGcc/general
Normal file
@ -0,0 +1,10 @@
|
||||
CPP = /lib/cpp $(GFLAGS)
|
||||
LD = ld -melf_i386
|
||||
|
||||
PROJECT_LIBS = -l$(WM_PROJECT) -ldl
|
||||
|
||||
include $(GENERAL_RULES)/standard
|
||||
|
||||
include $(RULES)/X
|
||||
include $(RULES)/c
|
||||
include $(RULES)/c++
|
||||
3
wmake/rules/linuxGcc/mplib
Normal file
3
wmake/rules/linuxGcc/mplib
Normal file
@ -0,0 +1,3 @@
|
||||
PFLAGS =
|
||||
PINC =
|
||||
PLIBS =
|
||||
3
wmake/rules/linuxGcc/mplibGAMMA
Normal file
3
wmake/rules/linuxGcc/mplibGAMMA
Normal file
@ -0,0 +1,3 @@
|
||||
PFLAGS =
|
||||
PINC = -I$(GAMMA_ARCH_PATH)/include
|
||||
PLIBS = -L$(GAMMA_ARCH_PATH)/lib -lgamma
|
||||
3
wmake/rules/linuxGcc/mplibLAM
Normal file
3
wmake/rules/linuxGcc/mplibLAM
Normal file
@ -0,0 +1,3 @@
|
||||
PFLAGS =
|
||||
PINC = -I$(LAM_ARCH_PATH)/include
|
||||
PLIBS = -L$(LAM_ARCH_PATH)/lib -lmpi -llam -lpthread -lutil
|
||||
3
wmake/rules/linuxGcc/mplibMPICH
Normal file
3
wmake/rules/linuxGcc/mplibMPICH
Normal file
@ -0,0 +1,3 @@
|
||||
PFLAGS =
|
||||
PINC = -I$(MPICH_ARCH_PATH)/include
|
||||
PLIBS = -L$(MPICH_ARCH_PATH)/lib -lmpich -lrt
|
||||
3
wmake/rules/linuxGcc/mplibMPICH-GM
Normal file
3
wmake/rules/linuxGcc/mplibMPICH-GM
Normal file
@ -0,0 +1,3 @@
|
||||
PFLAGS =
|
||||
PINC = -I$(MPICH_ARCH_PATH)/include
|
||||
PLIBS = -L$(MPICH_ARCH_PATH)/lib -lmpich -L$(GM_LIB_PATH) -lgm
|
||||
3
wmake/rules/linuxGcc/mplibOPENMPI
Normal file
3
wmake/rules/linuxGcc/mplibOPENMPI
Normal file
@ -0,0 +1,3 @@
|
||||
PFLAGS = -DOMPI_SKIP_MPICXX
|
||||
PINC = -I$(OPENMPI_ARCH_PATH)/include
|
||||
PLIBS = -L$(OPENMPI_ARCH_PATH)/lib -lmpi
|
||||
BIN
wmake/rules/linuxGcc/wmkdep
Executable file
BIN
wmake/rules/linuxGcc/wmkdep
Executable file
Binary file not shown.
3
wmake/rules/linuxI32/X
Normal file
3
wmake/rules/linuxI32/X
Normal file
@ -0,0 +1,3 @@
|
||||
XFLAGS =
|
||||
XINC = $(XFLAGS) -I/usr/X11R6/include
|
||||
XLIBS = -L/usr/X11R6/lib -lXext -lX11
|
||||
16
wmake/rules/linuxI32/c
Normal file
16
wmake/rules/linuxI32/c
Normal file
@ -0,0 +1,16 @@
|
||||
.SUFFIXES: .c .h
|
||||
|
||||
cWARN =
|
||||
|
||||
cc = icc -gcc-version=400
|
||||
|
||||
include $(RULES)/c$(WM_COMPILE_OPTION)
|
||||
|
||||
cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -KPIC
|
||||
|
||||
ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@
|
||||
|
||||
LINK_LIBS = $(cDBUG) -L$(IA32ROOT)/lib
|
||||
|
||||
LINKLIBSO = $(cc) $(cFLAGS) -shared
|
||||
LINKEXE = $(cc) $(cFLAGS)
|
||||
23
wmake/rules/linuxI32/c++
Normal file
23
wmake/rules/linuxI32/c++
Normal file
@ -0,0 +1,23 @@
|
||||
.SUFFIXES: .C .cxx .cc .cpp
|
||||
|
||||
c++WARN = -wd654,819,1125,1476,1505,1572
|
||||
|
||||
#CC = icpc -gcc-version=400
|
||||
CC = icpc
|
||||
|
||||
include $(RULES)/c++$(WM_COMPILE_OPTION)
|
||||
|
||||
ptFLAGS = -DNoRepository
|
||||
|
||||
c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -KPIC
|
||||
|
||||
Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@
|
||||
cxxtoo = $(Ctoo)
|
||||
cctoo = $(Ctoo)
|
||||
cpptoo = $(Ctoo)
|
||||
|
||||
#LINK_LIBS = $(c++DBUG) -lstdc++
|
||||
LINK_LIBS = $(c++DBUG) -L$(IA32ROOT)/lib
|
||||
|
||||
LINKLIBSO = $(CC) $(c++FLAGS) -shared
|
||||
LINKEXE = $(CC) $(c++FLAGS)
|
||||
2
wmake/rules/linuxI32/c++Debug
Normal file
2
wmake/rules/linuxI32/c++Debug
Normal file
@ -0,0 +1,2 @@
|
||||
c++DBUG = -g -DFULLDEBUG -O0
|
||||
c++OPT =
|
||||
5
wmake/rules/linuxI32/c++Opt
Normal file
5
wmake/rules/linuxI32/c++Opt
Normal file
@ -0,0 +1,5 @@
|
||||
c++DBUG =
|
||||
#c++OPT = -O3 -xP -no-prec-div
|
||||
c++OPT = -ansi-alias -O3 -ftz -fno-alias \
|
||||
-fargument-noalias-global \
|
||||
-unroll0
|
||||
2
wmake/rules/linuxI32/c++Prof
Normal file
2
wmake/rules/linuxI32/c++Prof
Normal file
@ -0,0 +1,2 @@
|
||||
c++DBUG = -pg
|
||||
c++OPT = -O2
|
||||
2
wmake/rules/linuxI32/cDebug
Normal file
2
wmake/rules/linuxI32/cDebug
Normal file
@ -0,0 +1,2 @@
|
||||
cDBUG = -g -DFULLDEBUG -O0
|
||||
cOPT =
|
||||
2
wmake/rules/linuxI32/cOpt
Normal file
2
wmake/rules/linuxI32/cOpt
Normal file
@ -0,0 +1,2 @@
|
||||
cDBUG =
|
||||
cOPT = -O3 -no-prec-div
|
||||
2
wmake/rules/linuxI32/cProf
Normal file
2
wmake/rules/linuxI32/cProf
Normal file
@ -0,0 +1,2 @@
|
||||
cDBUG = -pg
|
||||
cOPT = -O2
|
||||
BIN
wmake/rules/linuxI32/dirToString
Executable file
BIN
wmake/rules/linuxI32/dirToString
Executable file
Binary file not shown.
10
wmake/rules/linuxI32/general
Normal file
10
wmake/rules/linuxI32/general
Normal file
@ -0,0 +1,10 @@
|
||||
CPP = /lib/cpp $(GFLAGS)
|
||||
LD = ld -melf_i386
|
||||
|
||||
PROJECT_LIBS = -l$(WM_PROJECT) -liberty -ldl
|
||||
|
||||
include $(GENERAL_RULES)/standard
|
||||
|
||||
include $(RULES)/X
|
||||
include $(RULES)/c
|
||||
include $(RULES)/c++
|
||||
3
wmake/rules/linuxI32/mplib
Normal file
3
wmake/rules/linuxI32/mplib
Normal file
@ -0,0 +1,3 @@
|
||||
PFLAGS =
|
||||
PINC =
|
||||
PLIBS =
|
||||
3
wmake/rules/linuxI32/mplibLAM
Normal file
3
wmake/rules/linuxI32/mplibLAM
Normal file
@ -0,0 +1,3 @@
|
||||
PFLAGS =
|
||||
PINC = -I$(LAM_ARCH_PATH)/include
|
||||
PLIBS = -L$(LAM_ARCH_PATH)/lib -lmpi -llam -lutil
|
||||
3
wmake/rules/linuxI32/mplibMPICH
Normal file
3
wmake/rules/linuxI32/mplibMPICH
Normal file
@ -0,0 +1,3 @@
|
||||
PFLAGS =
|
||||
PINC = -I$(MPICH_ARCH_PATH)/include
|
||||
PLIBS = -L$(MPICH_ARCH_PATH)/lib -lmpich -lrt
|
||||
3
wmake/rules/linuxI32/mplibOPENMPI
Normal file
3
wmake/rules/linuxI32/mplibOPENMPI
Normal file
@ -0,0 +1,3 @@
|
||||
PFLAGS = -DOMPI_SKIP_MPICXX
|
||||
PINC = -I$(OPENMPI_ARCH_PATH)/include
|
||||
PLIBS = -L$(OPENMPI_ARCH_PATH)/lib -lmpi
|
||||
3
wmake/rules/linuxIA64Gcc/X
Normal file
3
wmake/rules/linuxIA64Gcc/X
Normal file
@ -0,0 +1,3 @@
|
||||
XFLAGS =
|
||||
XINC = $(XFLAGS) -I/usr/X11R6/include
|
||||
XLIBS = -L/usr/X11R6/lib -lXext -lX11
|
||||
16
wmake/rules/linuxIA64Gcc/c
Normal file
16
wmake/rules/linuxIA64Gcc/c
Normal file
@ -0,0 +1,16 @@
|
||||
.SUFFIXES: .c .h
|
||||
|
||||
cWARN = -Wall
|
||||
|
||||
cc = gcc
|
||||
|
||||
include $(RULES)/c$(WM_COMPILE_OPTION)
|
||||
|
||||
cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC
|
||||
|
||||
ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@
|
||||
|
||||
LINK_LIBS = $(cDBUG)
|
||||
|
||||
LINKLIBSO = $(cc) -shared
|
||||
LINKEXE = $(cc) -Xlinker -z -Xlinker nodefs
|
||||
21
wmake/rules/linuxIA64Gcc/c++
Normal file
21
wmake/rules/linuxIA64Gcc/c++
Normal file
@ -0,0 +1,21 @@
|
||||
.SUFFIXES: .C .cxx .cc .cpp
|
||||
|
||||
c++WARN = -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast
|
||||
|
||||
CC = g++
|
||||
|
||||
include $(RULES)/c++$(WM_COMPILE_OPTION)
|
||||
|
||||
ptFLAGS = -DNoRepository -ftemplate-depth-30
|
||||
|
||||
c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC
|
||||
|
||||
Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@
|
||||
cxxtoo = $(Ctoo)
|
||||
cctoo = $(Ctoo)
|
||||
cpptoo = $(Ctoo)
|
||||
|
||||
LINK_LIBS = $(c++DBUG)
|
||||
|
||||
LINKLIBSO = $(CC) $(c++FLAGS) -shared
|
||||
LINKEXE = $(CC) $(c++FLAGS)
|
||||
2
wmake/rules/linuxIA64Gcc/c++Debug
Normal file
2
wmake/rules/linuxIA64Gcc/c++Debug
Normal file
@ -0,0 +1,2 @@
|
||||
c++DBUG = -ggdb3 -DFULLDEBUG
|
||||
c++OPT = -O0 -fdefault-inline
|
||||
2
wmake/rules/linuxIA64Gcc/c++Opt
Normal file
2
wmake/rules/linuxIA64Gcc/c++Opt
Normal file
@ -0,0 +1,2 @@
|
||||
c++DBUG =
|
||||
c++OPT = -O3
|
||||
2
wmake/rules/linuxIA64Gcc/c++Prof
Normal file
2
wmake/rules/linuxIA64Gcc/c++Prof
Normal file
@ -0,0 +1,2 @@
|
||||
c++DBUG = -pg
|
||||
c++OPT = -O2
|
||||
2
wmake/rules/linuxIA64Gcc/cDebug
Normal file
2
wmake/rules/linuxIA64Gcc/cDebug
Normal file
@ -0,0 +1,2 @@
|
||||
cDBUG = -ggdb -DFULLDEBUG
|
||||
cOPT = -O1 -fdefault-inline -finline-functions
|
||||
2
wmake/rules/linuxIA64Gcc/cOpt
Normal file
2
wmake/rules/linuxIA64Gcc/cOpt
Normal file
@ -0,0 +1,2 @@
|
||||
cDBUG =
|
||||
cOPT = -O3 -fno-gcse
|
||||
2
wmake/rules/linuxIA64Gcc/cProf
Normal file
2
wmake/rules/linuxIA64Gcc/cProf
Normal file
@ -0,0 +1,2 @@
|
||||
cDBUG = -pg
|
||||
cOPT = -O2
|
||||
BIN
wmake/rules/linuxIA64Gcc/dirToString
Executable file
BIN
wmake/rules/linuxIA64Gcc/dirToString
Executable file
Binary file not shown.
10
wmake/rules/linuxIA64Gcc/general
Normal file
10
wmake/rules/linuxIA64Gcc/general
Normal file
@ -0,0 +1,10 @@
|
||||
CPP = /lib/cpp $(GFLAGS)
|
||||
LD = ld
|
||||
|
||||
PROJECT_LIBS = -l$(WM_PROJECT) -liberty -ldl
|
||||
|
||||
include $(GENERAL_RULES)/standard
|
||||
|
||||
include $(RULES)/X
|
||||
include $(RULES)/c
|
||||
include $(RULES)/c++
|
||||
3
wmake/rules/linuxIA64Gcc/mplib
Normal file
3
wmake/rules/linuxIA64Gcc/mplib
Normal file
@ -0,0 +1,3 @@
|
||||
PFLAGS =
|
||||
PINC =
|
||||
PLIBS =
|
||||
3
wmake/rules/linuxIA64Gcc/mplibLAM
Normal file
3
wmake/rules/linuxIA64Gcc/mplibLAM
Normal file
@ -0,0 +1,3 @@
|
||||
PFLAGS =
|
||||
PINC = -I$(LAM_ARCH_PATH)/include
|
||||
PLIBS = -L$(LAM_ARCH_PATH)/lib -lmpi -llam -lpthread -lutil
|
||||
3
wmake/rules/linuxIA64Gcc/mplibMPI
Normal file
3
wmake/rules/linuxIA64Gcc/mplibMPI
Normal file
@ -0,0 +1,3 @@
|
||||
PFLAGS = -DSGIMPI -DMPI_NO_CPPBIND
|
||||
PINC =
|
||||
PLIBS = -lmpi
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user