xref: /aoo42x/main/solenv/inc/unxaixp.mk (revision 7871dc3e)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24# mak file fuer unxaixp
25ASM=
26AFLAGS=
27
28ARCH_FLAGS*=
29
30CXX=				xlC_r
31CC=				xlc_r
32CFLAGS=			-c -qlanglvl=extended -qchars=signed
33CDEFS+=			-D_PTHREADS
34CDEFS+=			-D_STD_NO_NAMESPACE -D_VOS_NO_NAMESPACE -D_UNO_NO_NAMESPACE
35CFLAGSCC=$(ARCH_FLAGS)
36CFLAGSCXX=$(ARCH_FLAGS)
37CFLAGSOBJGUIMT=
38CFLAGSOBJCUIMT=
39CFLAGSSLOGUIMT=
40CFLAGSSLOCUIMT=
41CFLAGSPROF=
42CFLAGSDEBUG=
43CFLAGSDBGUTIL=
44CFLAGSOPT=		-O
45CFLAGSNOOPT=
46CFLAGSOUTOBJ=	-o
47
48STATIC= 		# -Bstatic
49DYNAMIC= 		# -Bdynamic
50
51#
52# Zu den Linkflags von shared Libraries:
53#
54# -G			Erzeugen eines Shared-Objects
55# -brtl			aktiviert Runtime-Linking, wird von -G mitgesetzt
56# -bsymbolc		loest Symbole innerhalb einer Library zur Linkzeit auf
57# -p0			??? (ENOMANPAGESINSTALLABLEFROMCD)
58# -bnoquiet		verbose
59#
60LINK=
61LINKFLAGS=
62LINKFLAGSAPPCUI=	xlC_r -qlanglvl=extended -qchars=signed -brtl -bnolibpath
63LINKFLAGSAPPGUI=	xlC_r -qlanglvl=extended -qchars=signed -brtl -bnolibpath
64LINKFLAGSSHLCUI=	makeC++SharedLib_r -G -bsymbolic -bdynamic -bnolibpath -p0
65LINKFLAGSSHLGUI=	makeC++SharedLib_r -G -bsymbolic -bdynamic -bnolibpath -p0
66LINKFLAGSTACK=
67LINKFLAGSPROF=
68LINKFLAGSDEBUG=
69LINKFLAGSOPT=
70
71# Reihenfolge der libs NICHT egal!
72STDOBJGUI=
73STDSLOGUI=
74STDOBJCUI=
75STDSLOCUI=
76# application
77STDLIBGUIMT=	# -lX11 -ldl
78STDLIBCUIMT=	# -lX11 -ldl
79# shared library
80STDSHLGUIMT=	-lX11 -ldl
81STDSHLCUIMT=	-lX11 -ldl
82THREADLIB=
83
84LIBMGR=			ar
85LIBFLAGS=		-r
86# LIBEXT=		.so
87
88IMPLIB=
89IMPLIBFLAGS=
90
91MAPSYM=
92MAPSYMFLAGS=
93
94RC=irc
95RCFLAGS=		-fo$@ $(RCFILES)
96RCLINK=
97RCLINKFLAGS=
98RCSETVERSION=
99
100DLLPOSTFIX=
101.IF "$(WORK_STAMP)"=="MIX364"
102DLLPOSTFIX=
103.ENDIF
104DLLPRE=			lib
105DLLPOST=		.so
106
107
108LDUMP=			cppfilt /b /n /o /p
109
110