Makefile.linuxrh51
# -*- mode: makefile -*-
#
# Makefile of ROOT for Linux gcc 2.7.x.x with glibc
PLATFORM = linux
DEBUGFLAGS = -g
OPTFLAGS = -O2
ifeq (debug,$(findstring debug,$(ROOTBUILD)))
OPT = $(DEBUGFLAGS)
NOOPT =
else
OPT = $(OPTFLAGS)
NOOPT =
endif
# Compiler:
CXX = g++
CC = gcc
CXXFLAGS = -pipe -Wall -fPIC $(EXTRA_CXXFLAGS)
CFLAGS = -pipe -Wall -fPIC $(EXTRA_CFLAGS)
CINTCXXFLAGS = -pipe -Wall -fPIC -DG__REGEXP -DG__UNIX -DG__SHAREDLIB \
-DG__OSFDLL -DG__ROOT -DG__REDIRECTIO $(EXTRA_CXXFLAGS)
CINTCFLAGS = -pipe -Wall -fPIC -DG__REGEXP -DG__UNIX -DG__SHAREDLIB \
-DG__OSFDLL -DG__ROOT -DG__REDIRECTIO $(EXTRA_CFLAGS)
COMPILER = gnu
# Linker:
LD = g++
LDFLAGS = $(OPT) $(EXTRA_LDFLAGS)
SOFLAGS = -shared -Wl,-soname,
SOEXT = so
# System libraries:
SYSLIBS = -lg++ -lm -ldl -rdynamic
XLIBS = $(XPMLIBDIR) $(XPMLIB) $(X11LIBDIR) -lX11 -lg++
CILIBS = -lm -ltermcap -lbsd -ldl -lg++ -rdynamic
CRYPTLIBS =
# Fortran:
F77 = fort77
F77FLAGS = $(OPT) -Nx800 -NC200
F77LIBS =
# Extras