|
Last change
on this file since 1348 was 1337, checked in by garnier, 15 years ago |
|
tag geant4.9.4 beta 1 + modifs locales
|
|
File size:
1.7 KB
|
| Rev | Line | |
|---|
| [472] | 1 | #
|
|---|
| 2 | # -------- HP --------- !!! not supported !!!
|
|---|
| 3 | # HP-UX B.10.20 - aCC A.01.23
|
|---|
| 4 | ifeq ($(G4SYSTEM),HP-aCC)
|
|---|
| 5 | CXX := aCC
|
|---|
| 6 | ifdef G4OPTIMISE
|
|---|
| 7 | CXXFLAGS := +O2 +Onolimit
|
|---|
| 8 | else
|
|---|
| 9 | ifdef G4DEBUG
|
|---|
| 10 | CXXFLAGS := -g
|
|---|
| 11 | FCFLAGS := -g
|
|---|
| 12 | CCFLAGS := -g
|
|---|
| 13 | endif
|
|---|
| 14 | endif
|
|---|
| 15 | CXXFLAGS += +DAportable +W823
|
|---|
| 16 | CPPFLAGS += -I/usr
|
|---|
| 17 | CPPFLAGS += -DG4NOT_ISO_DELETES -DG4NO_ISO_VECDIST
|
|---|
| 18 | ifdef G4LIB_BUILD_SHARED
|
|---|
| 19 | CXXFLAGS += +Z
|
|---|
| 20 | FCFLAGS += +Z
|
|---|
| 21 | CCFLAGS += +Z
|
|---|
| 22 | endif
|
|---|
| 23 | FC := f77
|
|---|
| 24 | SHEXT := sl
|
|---|
| 25 | FCFLAGS += +E6 +ppu
|
|---|
| 26 | CCFLAGS += -Ae +DAportable
|
|---|
| 27 | ifndef X11FLAGS
|
|---|
| 28 | X11FLAGS := -I/usr/include/X11/extensions -I/usr/contrib/X11R6/include
|
|---|
| 29 | X11FLAGS += -I/usr/contrib/X11R6/include/X11
|
|---|
| 30 | endif
|
|---|
| 31 | ifndef X11LIBS
|
|---|
| 32 | X11LIBS := -L/usr/contrib/X11R6/lib -lXmu -L/usr/lib -lXt -lXext -lX11
|
|---|
| 33 | endif
|
|---|
| 34 | ifndef XMFLAGS
|
|---|
| 35 | XMFLAGS := -I/usr/include/Motif1.2
|
|---|
| 36 | endif
|
|---|
| 37 | ifndef XMLIBS
|
|---|
| 38 | XMLIBS := -L/usr/lib/Motif1.2_R6 -lXm
|
|---|
| 39 | endif
|
|---|
| [1337] | 40 | ifndef XAWFLAGS
|
|---|
| 41 | XAWFLAGS := -I/usr/contrib/X11R6/include -I/usr/contrib/X11R6/include/X11
|
|---|
| 42 | endif
|
|---|
| 43 | ifndef XAWLIBS
|
|---|
| 44 | XAWLIBS := -L/usr/contrib/X11R6/lib -lXaw
|
|---|
| 45 | endif
|
|---|
| [472] | 46 | ifndef OGLFLAGS
|
|---|
| 47 | OGLFLAGS := -I$(OGLHOME)/include
|
|---|
| 48 | endif
|
|---|
| 49 | ifndef OGLLIBS
|
|---|
| 50 | OGLLIBS := -L$(OGLHOME)/lib -lGLU -lGL
|
|---|
| 51 | OGLLIBS += -L/opt/graphics/common/lib -lXwindow -lhpgfx -lXhp11 -ldld
|
|---|
| 52 | endif
|
|---|
| 53 |
|
|---|
| 54 | define build-granular-shared-lib
|
|---|
| 55 | @libdir=`(cd $(@D);/bin/pwd)`; \
|
|---|
| 56 | cd $(G4TMPDIR); \
|
|---|
| 57 | $(CXX) -b -o $$libdir/$(@F) *.o
|
|---|
| 58 | endef
|
|---|
| 59 | define build-global-shared-lib
|
|---|
| 60 | @libdir=`(cd $(@D);/bin/pwd)`; \
|
|---|
| 61 | cd $(G4TMP)/$(G4SYSTEM); \
|
|---|
| 62 | $(CXX) -b -o $$libdir/$(@F) $(foreach dir,$(SUBLIBS),$(dir)/*.o);
|
|---|
| 63 | endef
|
|---|
| 64 |
|
|---|
| 65 | endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.