Updated flags
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 28 Oct 2005 16:37:41 +0000 (16:37 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 28 Oct 2005 16:37:41 +0000 (16:37 +0000)
build/Makefile.solarisCC5

index 02dcc3a90b5ac58ae4655497998300ccd784081c..cefda450eff93f1c75a92dfce66abbcc1e5914c2 100644 (file)
@@ -1,9 +1,13 @@
 # Makefile to build ALIROOT for SunOS
 
+# System dependent commands
+
+XARGS = xargs
+
 # The compilers
 CXX           = /opt/SUNWspro/bin/CC
 CC           = /opt/SUNWspro/bin/cc
-F77          = f77
+F77          = /opt/SUNWspro/bin/f77
 
 # Global optimisation
 OPT           = -g -O 
@@ -21,7 +25,7 @@ CLIBCOPT      =
 CLIBFOPT      = $(CLIBDEFS) -xpp=cpp
                
 # Compiler flags
-CXXFLAGS      = $(CXXOPT) +w -KPIC -features=rtti
+CXXFLAGS      = $(CXXOPT) +w -KPIC -features=rtti -D_XOPEN_SOURCE -D_XOPEN_VERSION=4 -D__EXTENSIONS__
 CXXFLAGSNO    = $(CXXNOOPT) +w -KPIC -features=rtti
 CFLAGS       = $(COPT) -KPIC -erroff=%none
 FFLAGS        = $(FOPT) $(CLIBFOPT) $(CLIBDEFS)  -KPIC
@@ -31,7 +35,7 @@ DEPENDFFLAGS  = $(FFLAGS)
 # rootcint flags
 CINTFLAGS     = 
 
-SHLIB         =  -L/opt/SUNWspro/lib -lF77 -lM77 /opt/SUNWspro/lib/libsunmath.so.1
+SHLIB         = 
 SOEXT        = so
 
 LD            = /opt/SUNWspro/bin/CC
@@ -41,7 +45,7 @@ SHLD        = $(LD)
 SOFLAGS       = -G $(LDFLAGS) $(SHLIB)  
 
 SYSLIBS      := -L/usr/dt/lib -L/usr/openwin/lib -L/usr/ccs/lib -lXm -lXt \
-                -lX11 -lm -lgen -ldl -lsocket -lsunmath -lrtc -lnsl
+                -lX11 -lm -lgen -ldl -lsocket -lsunmath -lfsu -lfui -lnsl
 
 # Additional flags and libraries for building aliroot executable