Adding Linux with ICC compiler to the flat makefiles
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 27 Jul 2002 20:23:09 +0000 (20:23 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 27 Jul 2002 20:23:09 +0000 (20:23 +0000)
build/Makefile.icc [new file with mode: 0644]

diff --git a/build/Makefile.icc b/build/Makefile.icc
new file mode 100644 (file)
index 0000000..0663a56
--- /dev/null
@@ -0,0 +1,54 @@
+PLATFORM:=linuxicc
+
+# The compilers
+CXX           = icc 
+F77          = ifc
+CC           = icc
+
+# Global optimisation
+OPT           = -O -g
+
+CXXOPTS       = $(OPT)
+COPT         = $(OPT)
+FOPT         = $(OPT)
+CXXFLAGS      = $(CXXOPTS)
+CFLAGS       = $(COPT)
+
+# rootcint flags
+CINTFLAGS     = #$(CXXFLAGS)
+
+# CERNLIB defines
+
+CLIBDEFS      = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
+CLIBCXXOPTS   =
+CLIBCOPT      =
+CLIBFOPT      =
+
+# Common Fortran compilation flags
+FFLAGS = $(CLIBFOPT)  $(CLIBDEFS) $(FOPT)
+
+LD            = icc
+LDFLAGS       = $(OPT) 
+
+SHLD         = $(LD)
+SOFLAGS       = -Wl,-soname,$(notdir $@) -shared -O
+SHLIB         =
+SOEXT        = so
+
+# additional ROOT libraries
+ROOTLIBS  += -lcrypt 
+
+# rmkdepend flags for building dependencies of FORTRAN files
+DEPENDFFLAGS = $(FFLAGS)
+
+LIBNOVER      = `find /lib -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib/ -l/'`
+GLIBS         = -L/usr/X11R6/lib -lX11  $(LIBNOVER)
+
+#System libraries
+SYSLIBS =
+
+EXEFLAGS+= -L/usr/local/lib -lXt -lCEPCF90 -lF90 -lPEPCF90 -lintrins
+
+
+
+