Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/config/sys/HP-aCC.gmk is written in an unsupported language. File is not indexed.

0001 #
0002 # -------- HP ---------      !!! not supported !!!
0003 #                          HP-UX B.10.20 - aCC A.01.23
0004 ifeq ($(G4SYSTEM),HP-aCC)
0005   CXX       := aCC
0006   ifdef G4OPTIMISE
0007     CXXFLAGS  := +O2 +Onolimit
0008   else
0009     ifdef G4DEBUG
0010       CXXFLAGS := -g
0011       FCFLAGS  := -g
0012       CCFLAGS  := -g
0013     endif
0014   endif
0015   CXXFLAGS += +DAportable +W823
0016   CPPFLAGS += -I/usr
0017   CPPFLAGS += -DG4NOT_ISO_DELETES -DG4NO_ISO_VECDIST
0018   ifdef G4LIB_BUILD_SHARED
0019     CXXFLAGS += +Z
0020     FCFLAGS  += +Z
0021     CCFLAGS  += +Z
0022   endif
0023   FC      := f77
0024   SHEXT   := sl
0025   FCFLAGS += +E6 +ppu
0026   CCFLAGS += -Ae +DAportable
0027   LOADLIBS += -lm -lstdc++
0028   ifndef X11FLAGS
0029     X11FLAGS  := -I/usr/include/X11/extensions -I/usr/contrib/X11R6/include
0030     X11FLAGS  += -I/usr/contrib/X11R6/include/X11
0031   endif
0032   ifndef X11LIBS
0033     X11LIBS   := -L/usr/contrib/X11R6/lib -lXmu -L/usr/lib -lXt -lXext -lX11
0034   endif
0035   ifndef XMFLAGS
0036     XMFLAGS   := -I/usr/include/Motif1.2
0037   endif
0038   ifndef XMLIBS
0039     XMLIBS    := -L/usr/lib/Motif1.2_R6 -lXm
0040   endif
0041   ifndef XAWFLAGS
0042     XAWFLAGS  := -I/usr/contrib/X11R6/include -I/usr/contrib/X11R6/include/X11
0043   endif
0044   ifndef XAWLIBS
0045     XAWLIBS   := -L/usr/contrib/X11R6/lib -lXaw
0046   endif
0047   ifndef OGLFLAGS
0048     OGLFLAGS  := -I$(OGLHOME)/include 
0049   endif
0050   ifndef OGLLIBS
0051     OGLLIBS   := -L$(OGLHOME)/lib -lGL
0052     OGLLIBS   += -L/opt/graphics/common/lib -lXwindow -lhpgfx -lXhp11 -ldld
0053   endif
0054 
0055   define build-granular-shared-lib
0056     @libdir=`(cd $(@D);/bin/pwd)`; \
0057      cd $(G4TMPDIR); \
0058      $(CXX) -b -o $$libdir/$(@F) *.o
0059   endef
0060   define build-global-shared-lib
0061     @libdir=`(cd $(@D);/bin/pwd)`; \
0062      cd $(G4TMP)/$(G4SYSTEM); \
0063      $(CXX) -b -o $$libdir/$(@F) $(foreach dir,$(SUBLIBS),$(dir)/*.o);
0064   endef
0065 
0066 endif