1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: unxirxm.mk,v $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 # mak-file for IRIX/mips
36 # architecture dependent flags for the C and C++ compiler that can be changed by
37 # exporting the variable ARCH_FLAGS="..." in the shell, which is used to start build
41 # Zu den Compilerflags:
43 # -ptused : instantisiert Templates, wenn sie benutzt werden.
44 # Der Schalter wurde neu eingefuegt, weil sich eine
45 # statische Memberfunktion nicht instantisieren liess.
49 CXX
= CC
-KPIC
-c
-n32
-ptused
-OPT
:Olimit
=20523
51 CDEFS
+= -D_STD_NO_NAMESPACE
-D_VOS_NO_NAMESPACE
-D_UNO_NO_NAMESPACE
52 # 1009 ...nested comment is not allowed...
53 # 1021 ...type qualifiers are meaningless in this declaration...
54 # 1107 ...signed bit field of length 1...
55 # 1110 ...statement not reached...
56 # 1155 ...unrecognized #pragma...
57 # 1171 ...expression has no effect...
58 # 1183 ...comparison of unsigned integer with zero...
59 # 1185 ...enumerated type mixed with another type...
60 # 1188 ...type qualifier is meaningless on cast type...
61 # 1233 ...explicit type is missing ("int" assumed)...
62 # 1234 ...access control not specified...
63 # 1257 ...NULL reference is not allowed...
64 # 1440 ...initial value of reference to non-const must be an lvalue...
65 # 1516 ...pointless comparison of unsigned integer with a negative constant
66 # 1681 ...virtual function override intended...
67 # 1682 ...is only partially overridden in class...
68 CFLAGSCC
= -Xcpluscomm
-woff
1009,1021,1107,1110,1155,1171,1183,1185,1188,1233,1234,1257,1440,1516,1681,1682 $(ARCH_FLAGS
)
69 CFLAGSCXX
= -woff
1009,1021,1107,1110,1155,1171,1183,1185,1188,1233,1234,1257,1440,1516,1681,1682 $(ARCH_FLAGS
)
87 # -update_registry <file> : fuer das Linken mehrerer shared Libraries
89 # **FUER LOKALE STAENDE FEHLT Z.ZT. EIN GULTIGER
94 LINKFLAGSAPPGUI
=-n32
-multigot
95 LINKFLAGSSHLGUI
=-B symbolic
-soname
$(DLLPRE
)$(SHL
$(TNR
)TARGET
)$(DLLPOSTFIX
)$(DLLPOST
) $(DYNAMIC
) -shared
-n32
-multigot
-update_registry
$(SOLARLIBDIR
)/so_locations
96 LINKFLAGSAPPCUI
=-n32
-multigot
97 LINKFLAGSSHLCUI
=-B symbolic
-soname
$(DLLPRE
)$(SHL
$(TNR
)TARGET
)$(DLLPOSTFIX
)$(DLLPOST
) $(DYNAMIC
) -shared
-n32
-multigot
-update_registry
$(SOLARLIBDIR
)/so_locations
102 APPLINKSTATIC
=-Bstatic
103 APPLINKSHARED
=-Bsymbolic
105 # Reihenfolge der Libraries NICHT egal!
110 # STDLIBGUIMT= $(THREADLIB) $(DYNAMIC) -lX11 -lc -lm
111 STDLIBGUIMT
= $(THREADLIB
) $(DYNAMIC
) -lX11
-lc
-lm
112 STDLIBCUIMT
= $(THREADLIB
) $(DYNAMIC
) -lc
-lm
113 # STDSHLGUIMT= -L/usr/lib32 $(THREADLIB) $(DYNAMIC) -lX11 -lc -lm
114 STDSHLGUIMT
= -L
/usr
/lib32
$(THREADLIB
) $(DYNAMIC
) -lX11
-lc
-lm
115 STDSHLCUIMT
= -L
/usr
/lib32
$(THREADLIB
) $(DYNAMIC
) -lc
-lm
129 RCFLAGS
= -fo
$@
$(RCFILES
)
135 .IF
"$(WORK_STAMP)"=="MIX364"
145 # --------------------------
146 # AUS DEM ALTEN ENVIRONMENT:
147 # --------------------------
149 # Linken einer statischen Library:
152 # Linken einer shared Library:
153 # CC -B symbolic -soname <...> -B dynamic -shared -n32 -multigot
154 # -update_registry <...> ...
156 # Linken einer Applikation mit statischen Librarys:
159 # Linken einer Applikation mit stared Librarys:
160 # CC -n32 -multigot ...