]> git.uio.no Git - u/mrichter/AliRoot.git/blame - build/Makefile.alphacxx6
tempory macro to work in trunk with new methods to connect to input container
[u/mrichter/AliRoot.git] / build / Makefile.alphacxx6
CommitLineData
d95a3ef8 1# -*- mode: makefile -*-
b934f194 2# Makefile to build AliRoot for Alpha OSF1
3
6a772515 4# System dependent commands
5
6XARGS = xargs
7
02a1d5c1 8# The compilers
5f30d16c 9CXX = $(shell root-config --cxx)
10F77 = $(shell root-config --f77)
11CC = $(shell root-config --cc)
02a1d5c1 12
13# Global optimisation
464338e6 14OPT = -O
15NOOPT = -O0
02a1d5c1 16
19ca05d1 17CXXOPT = $(OPT)
18CXXNOOPT = $(NOOPT)
02a1d5c1 19COPT = $(OPT)
19ca05d1 20FOPT = $(OPT)
02a1d5c1 21
22# CERNLIB defines
02a1d5c1 23CLIBDEFS = -DCERNLIB_DECS -DCERNLIB_BLDLIB -DCERNLIB_CZ
24CLIBCXXOPTS =
25CLIBCOPT =
19ca05d1 26CLIBFOPT = -I. $(CLIBDEFS)
27
28# Compiler flags
29CXXFLAGS = $(CXXOPT) -nostdnew -rtti -taso
30CXXFLAGSNO = $(CXXNOOPT) -nostdnew -rtti -taso
31CFLAGS = $(COPT) -fPIC -pipe -mcpu=ev5 -D__osf__ -D__alpha
32FFLAGS = $(FOPT) -nofor_main -warn noinformational -taso $(CLIBFOPT)
33# rmkdepend flags for building dependencies of FORTRAN files
34DEPENDFFLAGS = $(filter-out -warn noinformational,$(FFLAGS))
02a1d5c1 35
19ca05d1 36# rootcint flags
37CINTFLAGS = -D__DECCXX
5f30d16c 38
39LD = $(shell root-config --ld)
02a1d5c1 40LDFLAGS =
41
42SHLD = ld
43SOFLAGS = -L/usr/lib/cmplrs/cxx -rpath /usr/lib/cmplrs/cxx \
464338e6 44 -expect_unresolved "*" -msym -shared -taso \
45 /usr/lib/cmplrs/cc/crt0.o /usr/lib/cmplrs/cxx/_main.o
02a1d5c1 46
47SHLIB = -lUfor -lfor -lFutil
48SOEXT = so
49
02a1d5c1 50#System libraries
02a1d5c1 51
52# Flags for static libraries
53AFLAGS = $(filter-out -rpath /usr/lib/cmplrs/cxx -msym -shared /usr/lib/cmplrs/cc/crt0.o,$(SOFLAGS))
19ca05d1 54AFLAGS += $(SHLIB)
02a1d5c1 55
56# Additional flags and libraries for building aliroot executable
de6c7cfd 57SYSLIBS := -lXm -lXt -lX11 -lPW -lUfor -lfor -lFutil -lots -taso -lbsd
02a1d5c1 58
59# Cure funny problem
60# sometimes in dependencies system include files of the sort
61# /usr/.../filename AND /usr/.../filename.cc are present
62# DEC believes that /usr/.../filename is the executable to be
63# built from /usr/.../filename.cc
64# Just avoid this to happen
65
66% : %.cc
67 @;
68
69
70
71
72
73
74
75
76