|
Last change
on this file since 1274 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.6 KB
|
| Line | |
|---|
| 1 | #
|
|---|
| 2 | # ------ GNU/LINUX ------ Intel icc 11.0
|
|---|
| 3 | #
|
|---|
| 4 | ifeq ($(G4SYSTEM),Linux-icc)
|
|---|
| 5 | CXX := icc
|
|---|
| 6 | CXXFLAGS := -ansi -fp-model precise -no-gcc -w1
|
|---|
| 7 | ifdef G4OPTIMISE
|
|---|
| 8 | CXXFLAGS += -O2
|
|---|
| 9 | FCFLAGS := -O2
|
|---|
| 10 | CCFLAGS := -O2
|
|---|
| 11 | else
|
|---|
| 12 | ifdef G4DEBUG
|
|---|
| 13 | CXXFLAGS += -g
|
|---|
| 14 | FCFLAGS := -g
|
|---|
| 15 | CCFLAGS := -g
|
|---|
| 16 | endif
|
|---|
| 17 | endif
|
|---|
| 18 | ifdef G4PROFILE
|
|---|
| 19 | CXXFLAGS += -qp
|
|---|
| 20 | FCFLAGS += -qp
|
|---|
| 21 | CCFLAGS += -pg
|
|---|
| 22 | endif
|
|---|
| 23 | ifdef G4LIB_BUILD_SHARED
|
|---|
| 24 | CXXFLAGS += -fPIC
|
|---|
| 25 | FCFLAGS += -fPIC
|
|---|
| 26 | CCFLAGS += -fPIC
|
|---|
| 27 | endif
|
|---|
| 28 | G4RUNPATHOPTION := -Wl,-rpath -Wl,
|
|---|
| 29 | CC := icc
|
|---|
| 30 | FC := ifort
|
|---|
| 31 | FCFLAGS += -noautomatic -assume nobscc -assume no2underscores
|
|---|
| 32 | FCLIBS := -lg2c -lnsl
|
|---|
| 33 | AR := ar r
|
|---|
| 34 | ECHO := /bin/echo -e
|
|---|
| 35 | SHEXT := so
|
|---|
| 36 | ifndef X11FLAGS
|
|---|
| 37 | X11FLAGS := -I/usr/include/X11/extensions -I/usr/include/X11
|
|---|
| 38 | endif
|
|---|
| 39 | ifndef X11LIBS
|
|---|
| 40 | X11LIBS := -L/usr/X11R6/lib -lXmu -lXt -lXext -lX11 -lXi -lSM -lICE
|
|---|
| 41 | endif
|
|---|
| 42 | ifndef XMFLAGS
|
|---|
| 43 | XMFLAGS := -I/usr/X11R6/include
|
|---|
| 44 | endif
|
|---|
| 45 | ifndef XMLIBS
|
|---|
| 46 | XMLIBS := -lXm -lXpm
|
|---|
| 47 | endif
|
|---|
| 48 | DLDLIBS := -ldl
|
|---|
| 49 | ifndef OGLFLAGS
|
|---|
| 50 | OGLFLAGS := -I$(OGLHOME)/include
|
|---|
| 51 | endif
|
|---|
| 52 | ifndef OGLLIBS
|
|---|
| 53 | OGLLIBS := -L$(OGLHOME)/lib -lGLU -lGL
|
|---|
| 54 | endif
|
|---|
| 55 | define build-granular-shared-lib
|
|---|
| 56 | @libdir=`(cd $(@D);/bin/pwd)`; \
|
|---|
| 57 | cd $(G4TMPDIR); \
|
|---|
| 58 | $(CXX) -Wl,-soname,$(@F) -shared -o $$libdir/$(@F) $(INTYLIBS) *.o
|
|---|
| 59 | endef
|
|---|
| 60 | define build-global-shared-lib
|
|---|
| 61 | @libdir=`(cd $(@D);/bin/pwd)`; \
|
|---|
| 62 | cd $(G4TMP)/$(G4SYSTEM); \
|
|---|
| 63 | $(CXX) -Wl,-soname,$(@F) -shared -o $$libdir/$(@F) $(INTYLIBS) \
|
|---|
| 64 | $(foreach dir,$(SUBLIBS),$(dir)/*.o);
|
|---|
| 65 | endef
|
|---|
| 66 |
|
|---|
| 67 | endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.