https://github.com/root-project/root
Tip revision: b021ae86a45df12d6cad5f1793090c8c98ac49fd authored by Rene Brun on 30 June 2009, 07:26:56 UTC
Tagging production version v5-24-00
Tagging production version v5-24-00
Tip revision: b021ae8
Makefile.linuxpgcc
# -*- mode: makefile -*-
#
# Makefile of ROOT for Linux ( RH5.2 i386 ) with glibc and PGCC
# ( PGCC i586/i686 RPMs can be found at http://www.foyer.se/PGCC.html )
PLATFORM = linux
DEBUGFLAGS = -g
OPTFLAGS = -O6 -mpentiumpro -mstack-align-double -funroll-all-loops
ifeq (debug,$(findstring debug,$(ROOTBUILD)))
OPT = $(DEBUGFLAGS)
NOOPT =
else
OPT = $(OPTFLAGS)
NOOPT =
endif
# Compiler:
PGCC = /opt/pgcc
CXX = g++
CC = pgcc
CXXFLAGS = -pipe -Wall -fPIC $(EXTRA_CXXFLAGS)
CFLAGS = -pipe -Wall -fPIC $(EXTRA_CFLAGS)
CINTCXXFLAGS = -pipe -Wall -fPIC -DG__REGEXP $(EXTRA_CXXFLAGS) \
-DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO
CINTCFLAGS = -pipe -Wall -fPIC -DG__REGEXP -DG__UNIX -DG__SHAREDLIB \
-DG__OSFDLL -DG__ROOT -DG__REDIRECTIO $(EXTRA_CFLAGS)
# Linker:
LD = g++
LDFLAGS = $(OPT) -Wl,-rpath,$(PGCC)/lib:$(ROOTSYS)/lib $(EXTRA_LDFLAGS)
SOFLAGS = -shared -Wl,-soname,
SOEXT = so
# System libraries:
SYSLIBS = -lm -ldl $(OSTHREADLIBDIR) $(OSTHREADLIB) -rdynamic
XLIBS = $(XPMLIBDIR) $(XPMLIB) $(X11LIBDIR) -lXext -lX11
CILIBS = -lm -ltermcap -lbsd -ldl -rdynamic
CRYPTLIBS = -lcrypt
# Fortran:
F77 = g77
F77FLAGS = $(OPT)
F77LIBS = -lg2c
# Extras