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)
|
||||
Reference in New Issue
Block a user