|
Last change
on this file since 1342 was 1337, checked in by garnier, 15 years ago |
|
tag geant4.9.4 beta 1 + modifs locales
|
|
File size:
1.3 KB
|
| Line | |
|---|
| 1 | #
|
|---|
| 2 | # -------- AIX ---------- !!! not supported !!!
|
|---|
| 3 | # AIX-4.3.2 xlC 6.0
|
|---|
| 4 |
|
|---|
| 5 | ifeq ($(G4SYSTEM),AIX-xlC)
|
|---|
| 6 | CXX := xlC
|
|---|
| 7 | ifdef G4OPTIMISE
|
|---|
| 8 | CXXFLAGS := -O3 -qtwolink -+
|
|---|
| 9 | else
|
|---|
| 10 | ifdef G4DEBUG
|
|---|
| 11 | CXXFLAGS := -g -qdbxextra -qcheck=all -qfullpath -qtwolink -+
|
|---|
| 12 | FCFLAGS := -g
|
|---|
| 13 | CCFLAGS := -g
|
|---|
| 14 | endif
|
|---|
| 15 | endif
|
|---|
| 16 | FC := xlf
|
|---|
| 17 | FCFLAGS += -qextname
|
|---|
| 18 | FCLIBS := -lxlf90 -lxlf
|
|---|
| 19 | SHEXT := so
|
|---|
| 20 | ifndef X11FLAGS
|
|---|
| 21 | X11FLAGS := -I/usr/include/X11/extensions -I/usr/include/X11
|
|---|
| 22 | endif
|
|---|
| 23 | ifndef X11LIBS
|
|---|
| 24 | X11LIBS := -L/usr/lib -lXmu -lX11 -lXext
|
|---|
| 25 | endif
|
|---|
| 26 | ifndef XMFLAGS
|
|---|
| 27 | XMFLAGS := -I/usr/include/Motif1.2
|
|---|
| 28 | endif
|
|---|
| 29 | ifndef XMLIBS
|
|---|
| 30 | XMLIBS := -L/usr/lib -lXm -lXt -lX11
|
|---|
| 31 | endif
|
|---|
| 32 | ifndef XAWFLAGS
|
|---|
| 33 | XAWFLAGS := -I/usr/include/X11
|
|---|
| 34 | endif
|
|---|
| 35 | ifndef XAWLIBS
|
|---|
| 36 | XAWLIBS := -L/usr/lib -lXaw -lXmu -lXt -lX11 -lXext
|
|---|
| 37 | endif
|
|---|
| 38 | ifndef OGLFLAGS
|
|---|
| 39 | OGLFLAGS := -I$(OGLHOME)/include
|
|---|
| 40 | endif
|
|---|
| 41 | ifndef OGLLIBS
|
|---|
| 42 | OGLLIBS := -L$(OGLHOME)/lib -lGLU -lGL
|
|---|
| 43 | endif
|
|---|
| 44 |
|
|---|
| 45 | define build-granular-shared-lib
|
|---|
| 46 | @libdir=`(cd $(@D);/bin/pwd)`; \
|
|---|
| 47 | cd $(G4TMPDIR); \
|
|---|
| 48 | $(CXX) -G -o $$libdir/$(@F) $(INTYLIBS) *.o
|
|---|
| 49 | endef
|
|---|
| 50 | define build-global-shared-lib
|
|---|
| 51 | @libdir=`(cd $(@D);/bin/pwd)`; \
|
|---|
| 52 | cd $(G4TMP)/$(G4SYSTEM); \
|
|---|
| 53 | $(CXX) -r -G -o $$libdir/$(@F) $(INTYLIBS) \
|
|---|
| 54 | $(foreach dir, $(SUBLIBS), $(dir)/*.o);
|
|---|
| 55 | endef
|
|---|
| 56 |
|
|---|
| 57 | endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.