https://github.com/root-project/root
Tip revision: 7a4ac3d57f3376255e863041b903c5ebc3e336ce authored by Unknown Author on 06 February 2002, 11:51:09 UTC
This commit was manufactured by cvs2svn to create tag 'v3-01-06'.
This commit was manufactured by cvs2svn to create tag 'v3-01-06'.
Tip revision: 7a4ac3d
Makefile.linuxpgcc
# 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
ifeq (debug,$(findstring debug,$(ROOTBUILD)))
OPT = -g
NOOPT =
else
OPT = -O6 -mpentiumpro -mstack-align-double -funroll-all-loops
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 -rdynamic
XLIBS = $(XPMLIBDIR) $(XPMLIB) -L/usr/X11R6/lib -lX11
CILIBS = -lm -ltermcap -lbsd -ldl -rdynamic
CRYPTLIBS = -lcrypt
# Fortran:
F77 = g77
F77FLAGS = $(OPT)
F77LIBS = -lg2c
# Extras
GLLIBEXTRA = $(OPENGLLIBDIR) $(OPENGLULIB) $(OPENGLLIB) \
-L/usr/X11R6/lib -lXmu