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