merge the formfield patch from ooo-build
[ooovba.git] / solenv / inc / unxirxm.mk
blob80aae3d5b3828c481314a279918484e326a3d795
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: unxirxm.mk,v $
11 # $Revision: 1.10 $
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
33 ASM=
34 AFLAGS=
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
38 ARCH_FLAGS*=
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.
46 # (ts&sdo/10.06.98)
48 CC= cc -KPIC -c -n32
49 CXX= CC -KPIC -c -n32 -ptused -OPT:Olimit=20523
50 CDEFS+=-D_PTHREADS
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)
70 CFLAGSOBJGUIMT=
71 CFLAGSOBJCUIMT=
72 CFLAGSSLOGUIMT=
73 CFLAGSSLOCUIMT=
74 CFLAGSPROF=
75 CFLAGSDEBUG= -g
76 CFLAGSDBGUTIL=
77 CFLAGSOPT= -O
78 CFLAGSNOOPT=
79 CFLAGSOUTOBJ= -o
81 STATIC= -B static
82 DYNAMIC= -B dynamic
85 # Zu den Linkflags:
87 # -update_registry <file> : fuer das Linken mehrerer shared Libraries
88 # erforderlich.
89 # **FUER LOKALE STAENDE FEHLT Z.ZT. EIN GULTIGER
90 # MECHANISMUS**
92 LINK= CC
93 LINKFLAGS=
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
98 LINKFLAGSTACK=
99 LINKFLAGSPROF=
100 LINKFLAGSDEBUG=
101 LINKFLAGSOPT=
102 APPLINKSTATIC=-Bstatic
103 APPLINKSHARED=-Bsymbolic
105 # Reihenfolge der Libraries NICHT egal!
106 STDOBJGUI=
107 STDSLOGUI=
108 STDOBJCUI=
109 STDSLOCUI=
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
116 THREADLIB= -lpthread
118 LIBMGR= ar
119 LIBFLAGS= -r
120 # LIBEXT= .so
122 IMPLIB=
123 IMPLIBFLAGS=
125 MAPSYM=
126 MAPSYMFLAGS=
128 RC= irc
129 RCFLAGS= -fo$@ $(RCFILES)
130 RCLINK=
131 RCLINKFLAGS=
132 RCSETVERSION=
134 DLLPOSTFIX= im
135 .IF "$(WORK_STAMP)"=="MIX364"
136 DLLPOSTFIX=
137 .ENDIF
138 DLLPRE= lib
139 DLLPOST= .so
142 LDUMP=
145 # --------------------------
146 # AUS DEM ALTEN ENVIRONMENT:
147 # --------------------------
149 # Linken einer statischen Library:
150 # ar -r ...
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:
157 # CC -B static ...
159 # Linken einer Applikation mit stared Librarys:
160 # CC -n32 -multigot ...