source: trunk/config/sys/HP-aCC.gmk@ 1271

Last change on this file since 1271 was 1213, checked in by garnier, 16 years ago

Suppression de Xaw. Sauf dans Configure et les fichier G4UIXaw.hh et cc

File size: 1.5 KB
RevLine 
[472]1#
2# -------- HP --------- !!! not supported !!!
3# HP-UX B.10.20 - aCC A.01.23
4ifeq ($(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
40 ifndef OGLFLAGS
41 OGLFLAGS := -I$(OGLHOME)/include
42 endif
43 ifndef OGLLIBS
44 OGLLIBS := -L$(OGLHOME)/lib -lGLU -lGL
45 OGLLIBS += -L/opt/graphics/common/lib -lXwindow -lhpgfx -lXhp11 -ldld
46 endif
47
48 define build-granular-shared-lib
49 @libdir=`(cd $(@D);/bin/pwd)`; \
50 cd $(G4TMPDIR); \
51 $(CXX) -b -o $$libdir/$(@F) *.o
52 endef
53 define build-global-shared-lib
54 @libdir=`(cd $(@D);/bin/pwd)`; \
55 cd $(G4TMP)/$(G4SYSTEM); \
56 $(CXX) -b -o $$libdir/$(@F) $(foreach dir,$(SUBLIBS),$(dir)/*.o);
57 endef
58
59endif
Note: See TracBrowser for help on using the repository browser.