xref: /aoo41x/main/solenv/inc/unxaixp.mk (revision 7871dc3e)
1*7871dc3eSAndrew Rist#**************************************************************
2*7871dc3eSAndrew Rist#
3*7871dc3eSAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
4*7871dc3eSAndrew Rist#  or more contributor license agreements.  See the NOTICE file
5*7871dc3eSAndrew Rist#  distributed with this work for additional information
6*7871dc3eSAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
7*7871dc3eSAndrew Rist#  to you under the Apache License, Version 2.0 (the
8*7871dc3eSAndrew Rist#  "License"); you may not use this file except in compliance
9*7871dc3eSAndrew Rist#  with the License.  You may obtain a copy of the License at
10*7871dc3eSAndrew Rist#
11*7871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
12*7871dc3eSAndrew Rist#
13*7871dc3eSAndrew Rist#  Unless required by applicable law or agreed to in writing,
14*7871dc3eSAndrew Rist#  software distributed under the License is distributed on an
15*7871dc3eSAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*7871dc3eSAndrew Rist#  KIND, either express or implied.  See the License for the
17*7871dc3eSAndrew Rist#  specific language governing permissions and limitations
18*7871dc3eSAndrew Rist#  under the License.
19*7871dc3eSAndrew Rist#
20*7871dc3eSAndrew Rist#**************************************************************
21*7871dc3eSAndrew Rist
22*7871dc3eSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir# mak file fuer unxaixp
25cdf0e10cSrcweirASM=
26cdf0e10cSrcweirAFLAGS=
27cdf0e10cSrcweir
28cdf0e10cSrcweirARCH_FLAGS*=
29cdf0e10cSrcweir
30cdf0e10cSrcweirCXX=				xlC_r
31cdf0e10cSrcweirCC=				xlc_r
32cdf0e10cSrcweirCFLAGS=			-c -qlanglvl=extended -qchars=signed
33cdf0e10cSrcweirCDEFS+=			-D_PTHREADS
34cdf0e10cSrcweirCDEFS+=			-D_STD_NO_NAMESPACE -D_VOS_NO_NAMESPACE -D_UNO_NO_NAMESPACE
35cdf0e10cSrcweirCFLAGSCC=$(ARCH_FLAGS)
36cdf0e10cSrcweirCFLAGSCXX=$(ARCH_FLAGS)
37cdf0e10cSrcweirCFLAGSOBJGUIMT=
38cdf0e10cSrcweirCFLAGSOBJCUIMT=
39cdf0e10cSrcweirCFLAGSSLOGUIMT=
40cdf0e10cSrcweirCFLAGSSLOCUIMT=
41cdf0e10cSrcweirCFLAGSPROF=
42cdf0e10cSrcweirCFLAGSDEBUG=
43cdf0e10cSrcweirCFLAGSDBGUTIL=
44cdf0e10cSrcweirCFLAGSOPT=		-O
45cdf0e10cSrcweirCFLAGSNOOPT=
46cdf0e10cSrcweirCFLAGSOUTOBJ=	-o
47cdf0e10cSrcweir
48cdf0e10cSrcweirSTATIC= 		# -Bstatic
49cdf0e10cSrcweirDYNAMIC= 		# -Bdynamic
50cdf0e10cSrcweir
51cdf0e10cSrcweir#
52cdf0e10cSrcweir# Zu den Linkflags von shared Libraries:
53cdf0e10cSrcweir#
54cdf0e10cSrcweir# -G			Erzeugen eines Shared-Objects
55cdf0e10cSrcweir# -brtl			aktiviert Runtime-Linking, wird von -G mitgesetzt
56cdf0e10cSrcweir# -bsymbolc		loest Symbole innerhalb einer Library zur Linkzeit auf
57cdf0e10cSrcweir# -p0			??? (ENOMANPAGESINSTALLABLEFROMCD)
58cdf0e10cSrcweir# -bnoquiet		verbose
59cdf0e10cSrcweir#
60cdf0e10cSrcweirLINK=
61cdf0e10cSrcweirLINKFLAGS=
62cdf0e10cSrcweirLINKFLAGSAPPCUI=	xlC_r -qlanglvl=extended -qchars=signed -brtl -bnolibpath
63cdf0e10cSrcweirLINKFLAGSAPPGUI=	xlC_r -qlanglvl=extended -qchars=signed -brtl -bnolibpath
64cdf0e10cSrcweirLINKFLAGSSHLCUI=	makeC++SharedLib_r -G -bsymbolic -bdynamic -bnolibpath -p0
65cdf0e10cSrcweirLINKFLAGSSHLGUI=	makeC++SharedLib_r -G -bsymbolic -bdynamic -bnolibpath -p0
66cdf0e10cSrcweirLINKFLAGSTACK=
67cdf0e10cSrcweirLINKFLAGSPROF=
68cdf0e10cSrcweirLINKFLAGSDEBUG=
69cdf0e10cSrcweirLINKFLAGSOPT=
70cdf0e10cSrcweir
71cdf0e10cSrcweir# Reihenfolge der libs NICHT egal!
72cdf0e10cSrcweirSTDOBJGUI=
73cdf0e10cSrcweirSTDSLOGUI=
74cdf0e10cSrcweirSTDOBJCUI=
75cdf0e10cSrcweirSTDSLOCUI=
76cdf0e10cSrcweir# application
77cdf0e10cSrcweirSTDLIBGUIMT=	# -lX11 -ldl
78cdf0e10cSrcweirSTDLIBCUIMT=	# -lX11 -ldl
79cdf0e10cSrcweir# shared library
80cdf0e10cSrcweirSTDSHLGUIMT=	-lX11 -ldl
81cdf0e10cSrcweirSTDSHLCUIMT=	-lX11 -ldl
82cdf0e10cSrcweirTHREADLIB=
83cdf0e10cSrcweir
84cdf0e10cSrcweirLIBMGR=			ar
85cdf0e10cSrcweirLIBFLAGS=		-r
86cdf0e10cSrcweir# LIBEXT=		.so
87cdf0e10cSrcweir
88cdf0e10cSrcweirIMPLIB=
89cdf0e10cSrcweirIMPLIBFLAGS=
90cdf0e10cSrcweir
91cdf0e10cSrcweirMAPSYM=
92cdf0e10cSrcweirMAPSYMFLAGS=
93cdf0e10cSrcweir
94cdf0e10cSrcweirRC=irc
95cdf0e10cSrcweirRCFLAGS=		-fo$@ $(RCFILES)
96cdf0e10cSrcweirRCLINK=
97cdf0e10cSrcweirRCLINKFLAGS=
98cdf0e10cSrcweirRCSETVERSION=
99cdf0e10cSrcweir
100a4f23604SHerbert DürrDLLPOSTFIX=
101cdf0e10cSrcweir.IF "$(WORK_STAMP)"=="MIX364"
102cdf0e10cSrcweirDLLPOSTFIX=
103cdf0e10cSrcweir.ENDIF
104cdf0e10cSrcweirDLLPRE=			lib
105cdf0e10cSrcweirDLLPOST=		.so
106cdf0e10cSrcweir
107cdf0e10cSrcweir
108cdf0e10cSrcweirLDUMP=			cppfilt /b /n /o /p
109cdf0e10cSrcweir
110