1#************************************************************************* 2# 3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4# 5# Copyright 2000, 2010 Oracle and/or its affiliates. 6# 7# OpenOffice.org - a multi-platform office productivity suite 8# 9# This file is part of OpenOffice.org. 10# 11# OpenOffice.org is free software: you can redistribute it and/or modify 12# it under the terms of the GNU Lesser General Public License version 3 13# only, as published by the Free Software Foundation. 14# 15# OpenOffice.org is distributed in the hope that it will be useful, 16# but WITHOUT ANY WARRANTY; without even the implied warranty of 17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18# GNU Lesser General Public License version 3 for more details 19# (a copy is included in the LICENSE file that accompanied this code). 20# 21# You should have received a copy of the GNU Lesser General Public License 22# version 3 along with OpenOffice.org. If not, see 23# <http://www.openoffice.org/license.html> 24# for a copy of the LGPLv3 License. 25# 26#************************************************************************* 27 28# mak file fuer unxhpxr 29ASM= 30AFLAGS= 31 32CDEFS+=-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 33 34# kann c++ was c braucht?? 35 36# obernervige Warnungen abschalten 37# 67 = invalid pragma name 38# 251 = An object cannot be deleted using a pointer of type 'void *' since the 39# type of the object allocated is unknown. 40# 370 = The friend declaration is not in the correct form for either a function or a class. 41# (future error) 42# 600 = Type specifier is omitted; "int" is no longer assumed. 43DISWARN=+W67,251,370,600 44 45# architecture dependent flags for the C and C++ compiler that can be changed by 46# exporting the variable ARCH_FLAGS="..." in the shell, which is used to start build 47ARCH_FLAGS*= 48 49#CXX=/opt/aCC/bin/aCC 50#CC=/opt/ansic/bin/cc 51CXX=aCC 52CC=cc 53CFLAGS= -c 54CFLAGSCC= -Aa +e +Z $(ARCH_FLAGS) 55CFLAGSCXX=$(DISWARN) +Z $(ARCH_FLAGS) 56CFLAGSOBJGUIMT= 57CFLAGSOBJCUIMT= 58CFLAGSSLOGUIMT= 59CFLAGSSLOCUIMT= 60CFLAGSPROF= 61CFLAGSDEBUG=-g 62CFLAGSDBGUTIL= 63CFLAGSOPT=-O 64CFLAGSNOOPT= 65CFLAGSOUTOBJ=-o 66 67 68THREADLIB=-L/opt/dce/lib -ldce 69# use native aCC to build or link with shared libs, for the sake of 70# global class-instances 71LINK=/opt/aCC/bin/aCC 72LINKFLAGS= 73LINKFLAGSAPPGUI=-Wl,+s 74LINKFLAGSSHLGUI=-b -L/usr/solar/lib -L/usr/contrib/X11R6/lib 75LINKFLAGSAPPCUI=-Wl,+s 76LINKFLAGSSHLCUI=-b -L/usr/contrib/X11R6/lib 77LINKFLAGSTACK= 78LINKFLAGSPROF= 79LINKFLAGSDEBUG= 80LINKFLAGSOPT= 81 82# reihenfolge der libs NICHT egal! 83STDOBJGUI= 84STDSLOGUI= 85STDOBJCUI= 86STDSLOCUI= 87#STDLIBGUIMT= -lX11 -lXext -lcma -lsec -lcxx -ldld -lc_r -lm 88STDLIBGUIMT= -lX11 -lXext -lpthread 89STDLIBCUIMT= -lcma 90#STDSHLGUIMT= -lX11 -lXext -lcma -lsec -lcxx -ldld -lc_r 91STDSHLCUIMT= 92# -L/opt/dce/lib -ldce -lsec -lcxx 93 94LIBMGR=ar 95LIBFLAGS=-r 96# LIBEXT=.so 97 98IMPLIB= 99IMPLIBFLAGS= 100 101MAPSYM= 102MAPSYMFLAGS= 103 104RC= 105RCFLAGS= 106RCLINK= 107RCLINKFLAGS= 108RCSETVERSION= 109 110DLLPOSTFIX=hr 111DLLPRE=lib 112DLLPOST=.sl 113 114LDUMP=c++filt 115 116.IF "$(WORK_STAMP)"!="MIX364" 117DLLPOSTFIX=ss 118.ELSE 119DLLPOSTFIX= 120.ENDIF 121 122 123.IF "$(PRJNAME)"=="uno" || "$(PRJNAME)"=="vos" 124#CFLAGS += -D_PTHREADS -U_REENTRANT -U_POSIX_PTHREAD_SEMANTICS 125#CFLAGSSLO += -instances=extern -template=wholeclass -ptr$(SLO) 126#CFLAGSOBJ += -instances=global -template=wholeclass -ptr$(SLO) 127#LINKFLAGS+= -temp=/tmp -PIC -instances=extern -ptr$(SLO) 128.ENDIF 129 130#SHLLINKARCONLY=yes 131 132