2003-03-27 04:48:49 -06:00
|
|
|
#*************************************************************************
|
|
|
|
#
|
2008-04-10 11:47:41 -05:00
|
|
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
#
|
|
|
|
# Copyright 2008 by Sun Microsystems, Inc.
|
2003-03-27 04:48:49 -06:00
|
|
|
#
|
2008-04-10 11:47:41 -05:00
|
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
2003-03-27 04:48:49 -06:00
|
|
|
#
|
2008-04-10 11:47:41 -05:00
|
|
|
# $RCSfile: unxhpxr.mk,v $
|
2003-03-27 04:48:49 -06:00
|
|
|
#
|
2008-04-10 11:47:41 -05:00
|
|
|
# $Revision: 1.9 $
|
2003-03-27 04:48:49 -06:00
|
|
|
#
|
2008-04-10 11:47:41 -05:00
|
|
|
# This file is part of OpenOffice.org.
|
2003-03-27 04:48:49 -06:00
|
|
|
#
|
2008-04-10 11:47:41 -05:00
|
|
|
# OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
# only, as published by the Free Software Foundation.
|
2003-03-27 04:48:49 -06:00
|
|
|
#
|
2008-04-10 11:47:41 -05:00
|
|
|
# OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU Lesser General Public License version 3 for more details
|
|
|
|
# (a copy is included in the LICENSE file that accompanied this code).
|
2003-03-27 04:48:49 -06:00
|
|
|
#
|
2008-04-10 11:47:41 -05:00
|
|
|
# You should have received a copy of the GNU Lesser General Public License
|
|
|
|
# version 3 along with OpenOffice.org. If not, see
|
|
|
|
# <http://www.openoffice.org/license.html>
|
|
|
|
# for a copy of the LGPLv3 License.
|
2003-03-27 04:48:49 -06:00
|
|
|
#
|
|
|
|
#*************************************************************************
|
2000-09-20 08:43:26 -05:00
|
|
|
|
|
|
|
# mak file fuer unxhpxr
|
|
|
|
ASM=
|
|
|
|
AFLAGS=
|
|
|
|
|
2008-03-07 09:55:36 -06:00
|
|
|
CDEFS+=-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
|
2000-09-20 08:43:26 -05:00
|
|
|
|
|
|
|
# kann c++ was c braucht??
|
|
|
|
|
|
|
|
# obernervige Warnungen abschalten
|
|
|
|
# 67 = invalid pragma name
|
|
|
|
# 251 = An object cannot be deleted using a pointer of type 'void *' since the
|
|
|
|
# type of the object allocated is unknown.
|
|
|
|
# 370 = The friend declaration is not in the correct form for either a function or a class.
|
|
|
|
# (future error)
|
|
|
|
# 600 = Type specifier is omitted; "int" is no longer assumed.
|
|
|
|
DISWARN=+W67,251,370,600
|
|
|
|
|
2005-07-11 09:29:54 -05:00
|
|
|
# architecture dependent flags for the C and C++ compiler that can be changed by
|
|
|
|
# exporting the variable ARCH_FLAGS="..." in the shell, which is used to start build
|
|
|
|
ARCH_FLAGS*=
|
|
|
|
|
2003-03-27 04:48:49 -06:00
|
|
|
#CXX=/opt/aCC/bin/aCC
|
|
|
|
#CC=/opt/ansic/bin/cc
|
|
|
|
CXX=aCC
|
|
|
|
CC=cc
|
2006-07-05 16:01:30 -05:00
|
|
|
CFLAGS= -c
|
2005-07-11 09:29:54 -05:00
|
|
|
CFLAGSCC= -Aa +e +Z $(ARCH_FLAGS)
|
|
|
|
CFLAGSCXX=$(DISWARN) +Z $(ARCH_FLAGS)
|
2000-09-20 08:43:26 -05:00
|
|
|
CFLAGSOBJGUIMT=
|
|
|
|
CFLAGSOBJCUIMT=
|
|
|
|
CFLAGSSLOGUIMT=
|
|
|
|
CFLAGSSLOCUIMT=
|
|
|
|
CFLAGSPROF=
|
|
|
|
CFLAGSDEBUG=-g
|
|
|
|
CFLAGSDBGUTIL=
|
|
|
|
CFLAGSOPT=-O
|
|
|
|
CFLAGSNOOPT=
|
|
|
|
CFLAGSOUTOBJ=-o
|
|
|
|
|
|
|
|
|
|
|
|
THREADLIB=-L/opt/dce/lib -ldce
|
|
|
|
# use native aCC to build or link with shared libs, for the sake of
|
|
|
|
# global class-instances
|
|
|
|
LINK=/opt/aCC/bin/aCC
|
|
|
|
LINKFLAGS=
|
|
|
|
LINKFLAGSAPPGUI=-Wl,+s
|
|
|
|
LINKFLAGSSHLGUI=-b -L/usr/solar/lib -L/usr/contrib/X11R6/lib
|
|
|
|
LINKFLAGSAPPCUI=-Wl,+s
|
|
|
|
LINKFLAGSSHLCUI=-b -L/usr/contrib/X11R6/lib
|
|
|
|
LINKFLAGSTACK=
|
|
|
|
LINKFLAGSPROF=
|
|
|
|
LINKFLAGSDEBUG=
|
|
|
|
LINKFLAGSOPT=
|
|
|
|
|
|
|
|
# reihenfolge der libs NICHT egal!
|
|
|
|
STDOBJGUI=
|
|
|
|
STDSLOGUI=
|
|
|
|
STDOBJCUI=
|
|
|
|
STDSLOCUI=
|
2001-10-24 11:21:47 -05:00
|
|
|
#STDLIBGUIMT= -lX11 -lXext -lcma -lsec -lcxx -ldld -lc_r -lm
|
|
|
|
STDLIBGUIMT= -lX11 -lXext -lpthread
|
2000-09-20 08:43:26 -05:00
|
|
|
STDLIBCUIMT= -lcma
|
2001-10-24 11:21:47 -05:00
|
|
|
#STDSHLGUIMT= -lX11 -lXext -lcma -lsec -lcxx -ldld -lc_r
|
2000-09-20 08:43:26 -05:00
|
|
|
STDSHLCUIMT=
|
|
|
|
# -L/opt/dce/lib -ldce -lsec -lcxx
|
|
|
|
|
|
|
|
LIBMGR=ar
|
|
|
|
LIBFLAGS=-r
|
|
|
|
# LIBEXT=.so
|
|
|
|
|
|
|
|
IMPLIB=
|
|
|
|
IMPLIBFLAGS=
|
|
|
|
|
|
|
|
MAPSYM=
|
|
|
|
MAPSYMFLAGS=
|
|
|
|
|
|
|
|
RC=
|
|
|
|
RCFLAGS=
|
|
|
|
RCLINK=
|
|
|
|
RCLINKFLAGS=
|
|
|
|
RCSETVERSION=
|
|
|
|
|
|
|
|
DLLPOSTFIX=hr
|
|
|
|
DLLPRE=lib
|
|
|
|
DLLPOST=.sl
|
|
|
|
|
|
|
|
LDUMP=c++filt
|
|
|
|
|
|
|
|
.IF "$(WORK_STAMP)"!="MIX364"
|
|
|
|
DLLPOSTFIX=ss
|
|
|
|
.ELSE
|
|
|
|
DLLPOSTFIX=
|
|
|
|
.ENDIF
|
|
|
|
|
|
|
|
|
|
|
|
.IF "$(PRJNAME)"=="uno" || "$(PRJNAME)"=="vos"
|
|
|
|
#CFLAGS += -D_PTHREADS -U_REENTRANT -U_POSIX_PTHREAD_SEMANTICS
|
|
|
|
#CFLAGSSLO += -instances=extern -template=wholeclass -ptr$(SLO)
|
|
|
|
#CFLAGSOBJ += -instances=global -template=wholeclass -ptr$(SLO)
|
|
|
|
#LINKFLAGS+= -temp=/tmp -PIC -instances=extern -ptr$(SLO)
|
|
|
|
.ENDIF
|
|
|
|
|
|
|
|
#SHLLINKARCONLY=yes
|
|
|
|
|