Kaydet (Commit) e5c5192d authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS geordi2q11 (1.5.114); FILE MERGED

2003/12/16 16:14:15 hr 1.5.114.1: #111934#: join CWS ooo111fix1
üst 0a9712cd
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
# #
# $RCSfile: unxirxm3.mk,v $ # $RCSfile: unxirxm3.mk,v $
# #
# $Revision: 1.5 $ # $Revision: 1.6 $
# #
# last change: $Author: hr $ $Date: 2003-03-27 11:48:17 $ # last change: $Author: vg $ $Date: 2003-12-17 18:08:18 $
# #
# The Contents of this file are made available subject to the terms of # The Contents of this file are made available subject to the terms of
# either of the following licenses # either of the following licenses
...@@ -60,99 +60,119 @@ ...@@ -60,99 +60,119 @@
# #
#************************************************************************* #*************************************************************************
# Makefile for IRIX/mips using MIPSpro 7.2+ compiler for n32 ABI
# Makefile for IRIX/mips
ASM= ASM=
AFLAGS= AFLAGS=
# SOLAR_JAVA*=TRUE
# Compiler flags: JAVADEF=-DSOLAR_JAVA
# #JAVAFLAGSDEBUG=-g
# -ptused : Instantiate templates while they're in
# use. This switch was added because a static member function .IF "$(debug)"==""
# couldn't be instantiated. JAVA_RUNTIME=-ljava
# (ts&sdo/10.06.98) .ELSE
# JAVA_RUNTIME=-ljava_g
#CC= cc -KPIC -c -n32 -ansi .ENDIF
CC= cc -KPIC -c -n32
#CXX= CC -KPIC -c -n32 -ptused -OPT:Olimit=20523
CXX= CC -KPIC -c -n32 -ansi -ptused -OPT:Olimit=20523 CC= cc
CFLAGS= $(INCLUDE) CXX= CC
CDEFS+=-D_PTHREADS CFLAGS= -c $(INCLUDE)
CDEFS+= -D_STD_NO_NAMESPACE -D_VOS_NO_NAMESPACE -D_UNO_NO_NAMESPACE CDEFS+= -DSTLPORT_VERSION=0x450 -D_USE_NAMESPACE=1 -DNEW_SOLAR
# CFLAGS+= -D__STL_NATIVE_INCLUDE_PATH=/usr/include -D__STL_NATIVE_C_INCLUDE_PATH=/usr/include CFLAGSCC=
# CFLAGS+= -D_STL_NATIVE_INCLUDE_PATH=/usr/include -D_STL_NATIVE_C_INCLUDE_PATH=/usr/include CFLAGSCXX= -LANG:ansi-for-init-scope=OFF -LANG:std=ON -LANG:libc_in_namespace_std=ON
# 1009 ...nested comment is not allowed...
# 1021 ...type qualifiers are meaningless in this declaration... # Compiler flags for compiling static object in single threaded environment with graphical user interface
# 1107 ...signed bit field of length 1...
# 1110 ...statement not reached...
# 1155 ...unrecognized #pragma...
# 1171 ...expression has no effect...
# 1183 ...comparison of unsigned integer with zero...
# 1185 ...enumerated type mixed with another type...
# 1188 ...type qualifier is meaningless on cast type...
# 1233 ...explicit type is missing ("int" assumed)...
# 1234 ...access control not specified...
# 1257 ...NULL reference is not allowed...
# 1440 ...initial value of reference to non-const must be an lvalue...
# 1516 ...pointless comparison of unsigned integer with a negative constant
# 1681 ...virtual function override intended...
# 1682 ...is only partially overridden in class...
CFLAGSCC= -Xcpluscomm -woff 1009,1021,1107,1110,1155,1171,1183,1185,1188,1233,1234,1257,1440,1516,1681,1682
CFLAGSCXX= -woff 1009,1021,1107,1110,1155,1171,1183,1185,1188,1233,1234,1257,1440,1516,1681,1682
CFLAGSOBJGUIST= CFLAGSOBJGUIST=
# Compiler flags for compiling static object in single threaded environment with character user interface
CFLAGSOBJCUIST= CFLAGSOBJCUIST=
# Compiler flags for compiling static object in multi threaded environment with graphical user interface
CFLAGSOBJGUIMT= CFLAGSOBJGUIMT=
# Compiler flags for compiling static object in multi threaded environment with character user interface
CFLAGSOBJCUIMT= CFLAGSOBJCUIMT=
CFLAGSSLOGUIMT= # Compiler flags for compiling shared object in multi threaded environment with graphical user interface
CFLAGSSLOCUIMT= CFLAGSSLOGUIMT=-KPIC
# Compiler flags for compiling shared object in multi threaded environment with character user interface
CFLAGSSLOCUIMT=-KPIC
# Compiler flags for profiling
CFLAGSPROF= CFLAGSPROF=
CFLAGSDEBUG= -g # Compiler flags for debugging
CFLAGSDEBUG=-g
CFLAGSDBGUTIL= CFLAGSDBGUTIL=
CFLAGSOPT= -O # Compiler flags for enabling optimizations
CFLAGSNOOPT= CFLAGSOPT=-O2
CFLAGSOUTOBJ= -o # Compiler flags for disabling optimizations
CFLAGSNOOPT=-O0
# Compiler flags for describing the output path
CFLAGSOUTOBJ=-o
# Enable all warnings
CFLAGSWALL=-fullwarn
# Set the default warn level
CFLAGSDFLTWARN=-w
# exception flags
CFLAGSEXCEPTIONS=-LANG:exceptions=ON
CFLAGS_NO_EXCEPTIONS=-LANG:exceptions=OFF
#CFLAGS_NO_EXCEPTIONS=
STATIC= -B static STATIC= -Wl,-Bstatic
DYNAMIC= -B dynamic DYNAMIC= -Wl,-Bdynamic
# #
# Link flags: # To use the map files, you need to have a gcc_specs file which contains:
# # *linker:
# -update_registry <file> : Is needed to link several shared libraries # /path/to/bin/ld.sh
# **VALID MECHANISM SOMETIMES MISSING FOR LOCAL STANDS** # where ld.sh is a wrapper script that does some conversion of the
# map files on the fly.
# #
LINK= CC LINK= CC
LINKFLAGS= LINKFLAGS= -L/usr/lib32 -Wl,-no_unresolved
LINKFLAGSAPPGUI=-n32 -multigot -L/usr/lib32 LINKVERSIONMAPFLAG= -Wl,-exports_file
LINKFLAGSSHLGUI=-B symbolic -soname $(DLLPRE)$(SHL$(TNR)TARGET)$(DLLPOSTFIX)$(DLLPOST) $(DYNAMIC) -shared -n32 -multigot -update_registry $(SOLARLIBDIR)/so_locations -L/usr/lib32
LINKFLAGSAPPCUI=-n32 -multigot -L/usr/lib32 .IF "$(TARGETTHREAD)"=="MT"
LINKFLAGSSHLCUI=-B symbolic -soname $(DLLPRE)$(SHL$(TNR)TARGET)$(DLLPOSTFIX)$(DLLPOST) $(DYNAMIC) -shared -n32 -multigot -update_registry $(SOLARLIBDIR)/so_locations -L/usr/lib32 LINKFLAGSAPPGUI= $(THREADLIB)
LINKFLAGSAPPCUI= $(THREADLIB)
LINKFLAGSSHLGUI= $(THREADLIB)
LINKFLAGSSHLCUI= $(THREADLIB)
.ENDIF
LINKFLAGSAPPGUI+= -Wl,-multigot
LINKFLAGSAPPCUI+= -Wl,-multigot
LINKFLAGSSHLGUI+= -shared
LINKFLAGSSHLCUI+= -shared
LINKFLAGSTACK= LINKFLAGSTACK=
LINKFLAGSPROF= LINKFLAGSPROF=
LINKFLAGSDEBUG= LINKFLAGSDEBUG= -g
LINKFLAGSOPT= LINKFLAGSOPT=
LINKFLAGSSHLGUI += -Wl,-Bsymbolic
LINKFLAGSSHLCUI += -Wl,-Bsymbolic
APPLINKSTATIC=-Bstatic APPLINKSTATIC=-Bstatic
APPLINKSHARED=-Bsymbolic APPLINKSHARED=-Bsymbolic
SONAME_SWITCH = -Wl,-soname -Wl,
# Sequence of libraries DOES matter! # Sequence of libraries DOES matter!
STDOBJGUI= STDOBJGUI=
STDSLOGUI= STDSLOGUI=
STDOBJCUI= STDOBJCUI=
STDSLOCUI= STDSLOCUI=
# STDLIBGUIST= $(DYNAMIC) -lX11 -lc -lm STDLIBGUIST= $(DYNAMIC) -lX11 -lc -lm
STDLIBGUIST= $(DYNAMIC) -lX11 -lc -lm STDLIBCUIST= $(DYNAMIC) -lc -lm
STDLIBCUIST= $(DYNAMIC) -lc -lm STDLIBGUIMT= $(THREADLIB) $(DYNAMIC) -lX11 -lm -lc
# STDLIBGUIMT= $(THREADLIB) $(DYNAMIC) -lX11 -lc -lm STDLIBCUIMT= $(THREADLIB) $(DYNAMIC) -lc -lm
STDLIBGUIMT= $(THREADLIB) $(DYNAMIC) -lX11 -lc -lm STDSHLGUIMT= -L/usr/lib32 $(THREADLIB) $(DYNAMIC) -lX11 -lm -lc
STDLIBCUIMT= $(THREADLIB) $(DYNAMIC) -lc -lm STDSHLCUIMT= -L/usr/lib32 $(THREADLIB) $(DYNAMIC) -lm -lc
# STDSHLGUIMT= -L/usr/lib32 $(THREADLIB) $(DYNAMIC) -lX11 -lc -lm THREADLIB= -lpthread
STDSHLGUIMT= -L/usr/lib32 $(THREADLIB) $(DYNAMIC) -lX11 -lc -lm
STDSHLCUIMT= -L/usr/lib32 $(THREADLIB) $(DYNAMIC) -lc -lm #LIBSTLPORT=$(DYNAMIC) -lstlport_mipspro
THREADLIB= -lpthread LIBSTLPORT=$(DYNAMIC)
LIBSTLPORTST=
LIBMGR= ar #LIBSTLPORTST= -lstlport_mipspro
LIBFLAGS= -r
# LIBEXT= .so LIBMGR= ar
LIBFLAGS= -r
IMPLIB= IMPLIB=
IMPLIBFLAGS= IMPLIBFLAGS=
...@@ -160,38 +180,17 @@ IMPLIBFLAGS= ...@@ -160,38 +180,17 @@ IMPLIBFLAGS=
MAPSYM= MAPSYM=
MAPSYMFLAGS= MAPSYMFLAGS=
RC= irc RC= irc
RCFLAGS= -fo$@ $(RCFILES) RCFLAGS= -fo$@ $(RCFILES)
RCLINK= RCLINK=
RCLINKFLAGS= RCLINKFLAGS=
RCSETVERSION= RCSETVERSION=
DLLPOSTFIX= im DLLPOSTFIX= im
.IF "$(WORK_STAMP)"=="MIX364" DLLPRE= lib
DLLPOSTFIX= DLLPOST= .so
.ENDIF
DLLPRE= lib
DLLPOST= .so
LDUMP=
LDUMP=c++filt
# --------------------------
# FROM THE OLE ENVIRONMENT:
# --------------------------
#
# Linking of a static library:
# ar -r ...
#
# Linking of a shared library:
# CC -B symbolic -soname <...> -B dynamic -shared -n32 -multigot
# -update_registry <...> ...
#
# Linking of an application with static libraries:
# CC -B static ...
#
# Linking of an application with shared libraries:
# CC -n32 -multigot ...
#
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment