CPPFLAGS += -DALICE_VISUALIZE
endif
-ifdef AG4_STACKING
- CPPFLAGS += -DALICE_STACKING
-endif
-
-ifdef AG4_NOPHYSICS
- CPPFLAGS += -DALICE_EMPTY_PHYSICS_LIST
-endif
-
#
# C++ compilation flags
#
-Wtrigraphs -Wformat -Wchar-subscripts \
-Wparentheses
CXXOPTS := $(patsubst -O%,-O% -Wuninitialized,$(CXXOPTS))
+
+# Motif, Xt libraries
+ G4GLIBS := -L/usr/lib/Motif1.2_R6 -lXm -L/usr/lib -lXt
endif
ifeq ($(ALICE_TARGET),HP-UX.aCC)
CXXOPTS := $(patsubst -O%,-O% +Onolimit,$(CXXOPTS))
CXXOPTS := $(patsubst +O%,+O% +Onolimit,$(CXXOPTS))
CXXOPTS += +DAportable
+
+# Motif, Xt libraries
+ G4GLIBS := -L/usr/lib/Motif1.2_R6 -lXm -L/usr/lib -lXt
endif
+ifeq ($(ALICE_TARGET),OSF1)
+
+ CXXOPTS := $(filter-out -nostdnew,$(CXXOPTS))
+ CXXOPTS := $(filter-out -nortti,$(CXXOPTS))
+ CXXOPTS += -ieee -timplicit_local
+ ifndef G4NO_STD_NAMESPACE
+ G4USE_STD_NAMESPACE := yes
+ CXXOPTS += -std strict_ansi
+ endif
+
+endif
+
+ifeq ($(ALICE_TARGET),SunOS)
+
+ # Excluded of +w option
+ # in order to exclude warnings from G4
+ CXXOPTS := $(filter-out +w,$(CXXOPTS))
+
+endif
+
#
# Geant4 include paths
#
G4TMPDIR := $(G4TMP)/$(G4SYSTEM)/$(G4TARGET)
G4LIBDIR := $(G4LIB)/$(G4SYSTEM)
-LDFLAGS += -L$(G4LIBDIR)
+LDFLAGS += -L$(G4LIBDIR) -L$(CLHEP_LIB_DIR)
ifdef LDLIBS
USER_DEFINED_LDLIBS := 1
# LDLIBS3 contains the first set of low level libraries...
#
- LDLIBS3 += $(INTYLIBS)
+ LDLIBS3 += $(INTYLIBS) $(G4GLIBS)
endif # ifndef USER_DEFINED_LDLIBS