Back to home page

EIC code displayed by LXR

 
 

    


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

0001 #
0002 # -------- AIX ----------     !!! not supported !!!
0003 #                               AIX-4.3.2 xlC 6.0
0004 
0005 ifeq ($(G4SYSTEM),AIX-xlC)
0006   CXX       := xlC
0007   ifdef G4OPTIMISE
0008     CXXFLAGS  := -O3 -qtwolink -+
0009   else
0010     ifdef G4DEBUG
0011       CXXFLAGS  := -g -qdbxextra -qcheck=all -qfullpath -qtwolink -+
0012       FCFLAGS := -g
0013       CCFLAGS := -g
0014     endif
0015   endif
0016   FC := xlf
0017   FCFLAGS += -qextname
0018   FCLIBS := -lxlf90 -lxlf
0019   SHEXT := so
0020   LOADLIBS += -lm -lstdc++
0021   ifndef X11FLAGS
0022     X11FLAGS  := -I/usr/include/X11/extensions -I/usr/include/X11
0023   endif
0024   ifndef X11LIBS
0025     X11LIBS   := -L/usr/lib -lXmu -lX11 -lXext
0026   endif
0027   ifndef XMFLAGS
0028     XMFLAGS   := -I/usr/include/Motif1.2
0029   endif
0030   ifndef XMLIBS
0031     XMLIBS    := -L/usr/lib -lXm -lXt -lX11
0032   endif
0033   ifndef XAWFLAGS
0034     XAWFLAGS  := -I/usr/include/X11
0035   endif
0036   ifndef XAWLIBS
0037     XAWLIBS   := -L/usr/lib -lXaw -lXmu -lXt -lX11 -lXext
0038   endif
0039   ifndef OGLFLAGS
0040     OGLFLAGS  := -I$(OGLHOME)/include 
0041   endif
0042   ifndef OGLLIBS
0043     OGLLIBS   := -L$(OGLHOME)/lib -lGL
0044   endif
0045 
0046   define build-granular-shared-lib
0047     @libdir=`(cd $(@D);/bin/pwd)`; \
0048     cd $(G4TMPDIR); \
0049     $(CXX) -G -o $$libdir/$(@F) $(INTYLIBS) *.o
0050   endef
0051   define build-global-shared-lib
0052     @libdir=`(cd $(@D);/bin/pwd)`; \
0053     cd $(G4TMP)/$(G4SYSTEM); \
0054     $(CXX) -r  -G -o $$libdir/$(@F) $(INTYLIBS) \
0055     $(foreach dir, $(SUBLIBS), $(dir)/*.o);
0056   endef
0057 
0058 endif