diff --git a/wmake/rules/linuxGcc43/X b/wmake/rules/linuxGcc43/X new file mode 100644 index 0000000000..bed8bfeddf --- /dev/null +++ b/wmake/rules/linuxGcc43/X @@ -0,0 +1,3 @@ +XFLAGS = +XINC = $(XFLAGS) -I/usr/X11R6/include +XLIBS = -L/usr/X11R6/lib -lXext -lX11 diff --git a/wmake/rules/linuxGcc43/c b/wmake/rules/linuxGcc43/c new file mode 100644 index 0000000000..8db5da1047 --- /dev/null +++ b/wmake/rules/linuxGcc43/c @@ -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 diff --git a/wmake/rules/linuxGcc43/c++ b/wmake/rules/linuxGcc43/c++ new file mode 100644 index 0000000000..ab2410d3d0 --- /dev/null +++ b/wmake/rules/linuxGcc43/c++ @@ -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) diff --git a/wmake/rules/linuxGcc43/c++Debug b/wmake/rules/linuxGcc43/c++Debug new file mode 100644 index 0000000000..19bdb9c334 --- /dev/null +++ b/wmake/rules/linuxGcc43/c++Debug @@ -0,0 +1,2 @@ +c++DBUG = -ggdb3 -DFULLDEBUG +c++OPT = -O0 -fdefault-inline diff --git a/wmake/rules/linuxGcc43/c++Opt b/wmake/rules/linuxGcc43/c++Opt new file mode 100644 index 0000000000..4cb95b5b3a --- /dev/null +++ b/wmake/rules/linuxGcc43/c++Opt @@ -0,0 +1,2 @@ +c++DBUG = +c++OPT = -O3 diff --git a/wmake/rules/linuxGcc43/c++Prof b/wmake/rules/linuxGcc43/c++Prof new file mode 100644 index 0000000000..3bda4dad55 --- /dev/null +++ b/wmake/rules/linuxGcc43/c++Prof @@ -0,0 +1,2 @@ +c++DBUG = -pg +c++OPT = -O2 diff --git a/wmake/rules/linuxGcc43/cDebug b/wmake/rules/linuxGcc43/cDebug new file mode 100644 index 0000000000..6c71ed93e8 --- /dev/null +++ b/wmake/rules/linuxGcc43/cDebug @@ -0,0 +1,2 @@ +cDBUG = -ggdb -DFULLDEBUG +cOPT = -O1 -finline-functions diff --git a/wmake/rules/linuxGcc43/cOpt b/wmake/rules/linuxGcc43/cOpt new file mode 100644 index 0000000000..a8b0635478 --- /dev/null +++ b/wmake/rules/linuxGcc43/cOpt @@ -0,0 +1,2 @@ +cDBUG = +cOPT = -O3 diff --git a/wmake/rules/linuxGcc43/cProf b/wmake/rules/linuxGcc43/cProf new file mode 100644 index 0000000000..ca3ac9bf5f --- /dev/null +++ b/wmake/rules/linuxGcc43/cProf @@ -0,0 +1,2 @@ +cDBUG = -pg +cOPT = -O2 diff --git a/wmake/rules/linuxGcc43/dirToString b/wmake/rules/linuxGcc43/dirToString new file mode 100755 index 0000000000..fdcb3c3445 Binary files /dev/null and b/wmake/rules/linuxGcc43/dirToString differ diff --git a/wmake/rules/linuxGcc43/general b/wmake/rules/linuxGcc43/general new file mode 100644 index 0000000000..c300368ee6 --- /dev/null +++ b/wmake/rules/linuxGcc43/general @@ -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++ diff --git a/wmake/rules/linuxGcc43/mplib b/wmake/rules/linuxGcc43/mplib new file mode 100644 index 0000000000..8a84b40146 --- /dev/null +++ b/wmake/rules/linuxGcc43/mplib @@ -0,0 +1,3 @@ +PFLAGS = +PINC = +PLIBS = diff --git a/wmake/rules/linuxGcc43/mplibGAMMA b/wmake/rules/linuxGcc43/mplibGAMMA new file mode 100644 index 0000000000..dc67a60a0b --- /dev/null +++ b/wmake/rules/linuxGcc43/mplibGAMMA @@ -0,0 +1,3 @@ +PFLAGS = +PINC = -I$(GAMMA_ARCH_PATH)/include +PLIBS = -L$(GAMMA_ARCH_PATH)/lib -lgamma diff --git a/wmake/rules/linuxGcc43/mplibLAM b/wmake/rules/linuxGcc43/mplibLAM new file mode 100644 index 0000000000..ce18f75860 --- /dev/null +++ b/wmake/rules/linuxGcc43/mplibLAM @@ -0,0 +1,3 @@ +PFLAGS = +PINC = -I$(LAM_ARCH_PATH)/include +PLIBS = -L$(LAM_ARCH_PATH)/lib -lmpi -llam -lpthread -lutil diff --git a/wmake/rules/linuxGcc43/mplibMPICH b/wmake/rules/linuxGcc43/mplibMPICH new file mode 100644 index 0000000000..d586ba3e03 --- /dev/null +++ b/wmake/rules/linuxGcc43/mplibMPICH @@ -0,0 +1,3 @@ +PFLAGS = +PINC = -I$(MPICH_ARCH_PATH)/include +PLIBS = -L$(MPICH_ARCH_PATH)/lib -lmpich -lrt diff --git a/wmake/rules/linuxGcc43/mplibMPICH-GM b/wmake/rules/linuxGcc43/mplibMPICH-GM new file mode 100644 index 0000000000..74fd965808 --- /dev/null +++ b/wmake/rules/linuxGcc43/mplibMPICH-GM @@ -0,0 +1,3 @@ +PFLAGS = +PINC = -I$(MPICH_ARCH_PATH)/include +PLIBS = -L$(MPICH_ARCH_PATH)/lib -lmpich -L$(GM_LIB_PATH) -lgm diff --git a/wmake/rules/linuxGcc43/mplibOPENMPI b/wmake/rules/linuxGcc43/mplibOPENMPI new file mode 100644 index 0000000000..ea9b4d2299 --- /dev/null +++ b/wmake/rules/linuxGcc43/mplibOPENMPI @@ -0,0 +1,3 @@ +PFLAGS = -DOMPI_SKIP_MPICXX +PINC = -I$(OPENMPI_ARCH_PATH)/include +PLIBS = -L$(OPENMPI_ARCH_PATH)/lib -lmpi diff --git a/wmake/rules/linuxGcc43/wmkdep b/wmake/rules/linuxGcc43/wmkdep new file mode 100755 index 0000000000..c80fc36703 Binary files /dev/null and b/wmake/rules/linuxGcc43/wmkdep differ