forked from root-project/root
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.linuxppc64gcc
54 lines (46 loc) · 1.55 KB
/
Makefile.linuxppc64gcc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# -*- mode: makefile -*-
#
# Makefile of ROOT for linux ppc64 with glibc and gcc 3.x
PLATFORM = linux
DEBUGFLAGS = -g
OPTFLAGS = -O
ifeq (debug,$(findstring debug,$(ROOTBUILD)))
OPT = $(DEBUGFLAGS)
NOOPT =
else
OPT = $(OPTFLAGS)
NOOPT =
endif
# Compiler:
CXX = g++
CC = gcc
CXXFLAGS = -pipe -Wall -m64 -fPIC -fsigned-char -DR__ppc64 \
-I/usr/X11/include $(EXTRA_CXXFLAGS)
CFLAGS = -pipe -Wall -m64 -fPIC -fsigned-char -DR__ppc64 \
-I/usr/X11/include $(EXTRA_CFLAGS)
CINTCXXFLAGS = -pipe -Wall -m64 -fPIC -fsigned-char -DG__REGEXP -DG__UNIX \
-DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO \
-DG__64BIT $(EXTRA_CXXFLAGS)
CINTCFLAGS = -pipe -Wall -m64 -fPIC -fsigned-char -DG__REGEXP -DG__UNIX \
-DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO \
-DG__64BIT $(EXTRA_CFLAGS)
COMPILER = gnu
# Linker:
LD = g++
LDFLAGS = -m64 $(OPT) $(EXTRA_LDFLAGS)
SOFLAGS = -shared -Wl,-soname,
SOEXT = so
# System libraries:
SYSLIBS = -lm -ldl $(OSTHREADLIBDIR) $(OSTHREADLIB)
XLIBS = $(XPMLIBDIR) $(XPMLIB) $(X11LIBDIR) -lXext -lX11 -lSM -lICE
CILIBS = -lm -ldl
CRYPTLIBS = -lcrypt
# Fortran:
F77 = g77
F77FLAGS = -fPIC
ifneq ($(shell $(F77) -print-file-name=libg2c.so),libg2c.so)
F77LIBS := $(shell $(F77) -print-file-name=libg2c.so) -lnsl
else
F77LIBS := $(shell $(F77) -print-file-name=libg2c.a) -lnsl
endif
# Extras