1cdf0e10cSrcweir#************************************************************************* 2cdf0e10cSrcweir# 3cdf0e10cSrcweir# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4cdf0e10cSrcweir# 5cdf0e10cSrcweir# Copyright 2000, 2010 Oracle and/or its affiliates. 6cdf0e10cSrcweir# 7cdf0e10cSrcweir# OpenOffice.org - a multi-platform office productivity suite 8cdf0e10cSrcweir# 9cdf0e10cSrcweir# This file is part of OpenOffice.org. 10cdf0e10cSrcweir# 11cdf0e10cSrcweir# OpenOffice.org is free software: you can redistribute it and/or modify 12cdf0e10cSrcweir# it under the terms of the GNU Lesser General Public License version 3 13cdf0e10cSrcweir# only, as published by the Free Software Foundation. 14cdf0e10cSrcweir# 15cdf0e10cSrcweir# OpenOffice.org is distributed in the hope that it will be useful, 16cdf0e10cSrcweir# but WITHOUT ANY WARRANTY; without even the implied warranty of 17cdf0e10cSrcweir# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18cdf0e10cSrcweir# GNU Lesser General Public License version 3 for more details 19cdf0e10cSrcweir# (a copy is included in the LICENSE file that accompanied this code). 20cdf0e10cSrcweir# 21cdf0e10cSrcweir# You should have received a copy of the GNU Lesser General Public License 22cdf0e10cSrcweir# version 3 along with OpenOffice.org. If not, see 23cdf0e10cSrcweir# <http://www.openoffice.org/license.html> 24cdf0e10cSrcweir# for a copy of the LGPLv3 License. 25cdf0e10cSrcweir# 26cdf0e10cSrcweir#************************************************************************* 27cdf0e10cSrcweir 28cdf0e10cSrcweir# mak file fuer unxhpxr 29cdf0e10cSrcweirASM= 30cdf0e10cSrcweirAFLAGS= 31cdf0e10cSrcweir 32cdf0e10cSrcweirCDEFS+=-D_PTHREADS -D_STD_NO_NAMESPACE -D_VOS_NO_NAMESPACE -D_UNO_NO_NAMESPACE -DSYSV -D_POSIX_PTHREAD_SEMANTICS -D_HPUX_SOURCE -DRWSTD_MULTI_THREAD -D_REENTRANT -D__HPACC_NOEH -D__STL_NO_EXCEPTIONS 33cdf0e10cSrcweir 34cdf0e10cSrcweir# kann c++ was c braucht?? 35cdf0e10cSrcweir 36cdf0e10cSrcweir# obernervige Warnungen abschalten 37cdf0e10cSrcweir# 67 = invalid pragma name 38cdf0e10cSrcweir# 251 = An object cannot be deleted using a pointer of type 'void *' since the 39cdf0e10cSrcweir# type of the object allocated is unknown. 40cdf0e10cSrcweir# 370 = The friend declaration is not in the correct form for either a function or a class. 41cdf0e10cSrcweir# (future error) 42cdf0e10cSrcweir# 600 = Type specifier is omitted; "int" is no longer assumed. 43cdf0e10cSrcweirDISWARN=+W67,251,370,600 44cdf0e10cSrcweir 45cdf0e10cSrcweir# architecture dependent flags for the C and C++ compiler that can be changed by 46cdf0e10cSrcweir# exporting the variable ARCH_FLAGS="..." in the shell, which is used to start build 47cdf0e10cSrcweirARCH_FLAGS*= 48cdf0e10cSrcweir 49cdf0e10cSrcweir#CXX=/opt/aCC/bin/aCC 50cdf0e10cSrcweir#CC=/opt/ansic/bin/cc 51cdf0e10cSrcweirCXX=aCC 52cdf0e10cSrcweirCC=cc 53cdf0e10cSrcweirCFLAGS= -c 54cdf0e10cSrcweirCFLAGSCC= -Aa +e +Z $(ARCH_FLAGS) 55cdf0e10cSrcweirCFLAGSCXX=$(DISWARN) +Z $(ARCH_FLAGS) 56cdf0e10cSrcweirCFLAGSOBJGUIMT= 57cdf0e10cSrcweirCFLAGSOBJCUIMT= 58cdf0e10cSrcweirCFLAGSSLOGUIMT= 59cdf0e10cSrcweirCFLAGSSLOCUIMT= 60cdf0e10cSrcweirCFLAGSPROF= 61cdf0e10cSrcweirCFLAGSDEBUG=-g 62cdf0e10cSrcweirCFLAGSDBGUTIL= 63cdf0e10cSrcweirCFLAGSOPT=-O 64cdf0e10cSrcweirCFLAGSNOOPT= 65cdf0e10cSrcweirCFLAGSOUTOBJ=-o 66cdf0e10cSrcweir 67cdf0e10cSrcweir 68cdf0e10cSrcweirTHREADLIB=-L/opt/dce/lib -ldce 69cdf0e10cSrcweir# use native aCC to build or link with shared libs, for the sake of 70cdf0e10cSrcweir# global class-instances 71cdf0e10cSrcweirLINK=/opt/aCC/bin/aCC 72cdf0e10cSrcweirLINKFLAGS= 73cdf0e10cSrcweirLINKFLAGSAPPGUI=-Wl,+s 74cdf0e10cSrcweirLINKFLAGSSHLGUI=-b -L/usr/solar/lib -L/usr/contrib/X11R6/lib 75cdf0e10cSrcweirLINKFLAGSAPPCUI=-Wl,+s 76cdf0e10cSrcweirLINKFLAGSSHLCUI=-b -L/usr/contrib/X11R6/lib 77cdf0e10cSrcweirLINKFLAGSTACK= 78cdf0e10cSrcweirLINKFLAGSPROF= 79cdf0e10cSrcweirLINKFLAGSDEBUG= 80cdf0e10cSrcweirLINKFLAGSOPT= 81cdf0e10cSrcweir 82cdf0e10cSrcweir# reihenfolge der libs NICHT egal! 83cdf0e10cSrcweirSTDOBJGUI= 84cdf0e10cSrcweirSTDSLOGUI= 85cdf0e10cSrcweirSTDOBJCUI= 86cdf0e10cSrcweirSTDSLOCUI= 87cdf0e10cSrcweir#STDLIBGUIMT= -lX11 -lXext -lcma -lsec -lcxx -ldld -lc_r -lm 88cdf0e10cSrcweirSTDLIBGUIMT= -lX11 -lXext -lpthread 89cdf0e10cSrcweirSTDLIBCUIMT= -lcma 90cdf0e10cSrcweir#STDSHLGUIMT= -lX11 -lXext -lcma -lsec -lcxx -ldld -lc_r 91cdf0e10cSrcweirSTDSHLCUIMT= 92cdf0e10cSrcweir# -L/opt/dce/lib -ldce -lsec -lcxx 93cdf0e10cSrcweir 94cdf0e10cSrcweirLIBMGR=ar 95cdf0e10cSrcweirLIBFLAGS=-r 96cdf0e10cSrcweir# LIBEXT=.so 97cdf0e10cSrcweir 98cdf0e10cSrcweirIMPLIB= 99cdf0e10cSrcweirIMPLIBFLAGS= 100cdf0e10cSrcweir 101cdf0e10cSrcweirMAPSYM= 102cdf0e10cSrcweirMAPSYMFLAGS= 103cdf0e10cSrcweir 104cdf0e10cSrcweirRC= 105cdf0e10cSrcweirRCFLAGS= 106cdf0e10cSrcweirRCLINK= 107cdf0e10cSrcweirRCLINKFLAGS= 108cdf0e10cSrcweirRCSETVERSION= 109cdf0e10cSrcweir 110*a4f23604SHerbert DürrDLLPOSTFIX= 111cdf0e10cSrcweirDLLPRE=lib 112cdf0e10cSrcweirDLLPOST=.sl 113cdf0e10cSrcweir 114cdf0e10cSrcweirLDUMP=c++filt 115cdf0e10cSrcweir 116cdf0e10cSrcweir.IF "$(PRJNAME)"=="uno" || "$(PRJNAME)"=="vos" 117cdf0e10cSrcweir#CFLAGS += -D_PTHREADS -U_REENTRANT -U_POSIX_PTHREAD_SEMANTICS 118cdf0e10cSrcweir#CFLAGSSLO += -instances=extern -template=wholeclass -ptr$(SLO) 119cdf0e10cSrcweir#CFLAGSOBJ += -instances=global -template=wholeclass -ptr$(SLO) 120cdf0e10cSrcweir#LINKFLAGS+= -temp=/tmp -PIC -instances=extern -ptr$(SLO) 121cdf0e10cSrcweir.ENDIF 122cdf0e10cSrcweir 123cdf0e10cSrcweir#SHLLINKARCONLY=yes 124cdf0e10cSrcweir 125