update dev300-m58
[ooovba.git] / solenv / inc / unxhpgr.mk
blob9146457483c601925b03bcc165bc10eb808d5e02
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: unxhpgr.mk,v $
11 # $Revision: 1.11 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
33 # mak file fuer unxhpxr
34 ASM=
35 AFLAGS=
37 CDEFS+=-D_PTHREADS -D_STD_NO_NAMESPACE -D_VOS_NO_NAMESPACE -D_UNO_NO_NAMESPACE
38 CDEFS+=-DSYSV -D_POSIX_PTHREAD_SEMANTICS -D_HPUX_SOURCE -DRWSTD_MULTI_THREAD -D_REENTRANT -D__HPACC_NOEH -D__STL_NO_EXCEPTIONS
39 #CDEFS+= -D__hppa__
41 # obernervige Warnungen abschalten
42 # 67 = invalid pragma name
43 # 251 = An object cannot be deleted using a pointer of type 'void *' since the
44 # type of the object allocated is unknown.
45 # 370 = The friend declaration is not in the correct form for either a function or a class.
46 # (future error)
47 # 600 = Type specifier is omitted; "int" is no longer assumed.
48 DISWARN=+W67,251,370,600
50 # architecture dependent flags for the C and C++ compiler that can be changed by
51 # exporting the variable ARCH_FLAGS="..." in the shell, which is used to start build
52 ARCH_FLAGS*=
54 #CXX=/opt/aCC/bin/aCC
55 #CC=/opt/ansic/bin/cc
56 CXX=g++
57 CC=gcc
58 CFLAGSWALL=-Wall
59 CFLAGS=-nostdinc -c
60 CFLAGSCC=-pipe -fguiding-decls $(ARCH_FLAGS)
61 CFLAGSCXX=-pipe -fguiding-decls $(ARCH_FLAGS)
62 PICSWITCH:=-fPIC
63 CFLAGSOBJGUIMT=
64 CFLAGSOBJCUIMT=
65 CFLAGSSLOGUIMT=$(PICSWITCH)
66 CFLAGSSLOCUIMT=$(PICSWITCH)
67 CFLAGSPROF=
68 CFLAGSDEBUG=-g
69 CFLAGSDBGUTIL=
70 CFLAGSOPT=-O2
71 CFLAGSNOOPT=
72 CFLAGSOUTOBJ=-o
75 #THREADLIB=-L/opt/dce/lib -ldce
76 # use native aCC to build or link with shared libs, for the sake of
77 # global class-instances
79 STATIC = -Bstatic
80 DYNAMIC = -Bdynamic
82 #LINK=$(SOLARENV)/unxhpgr/lib/gcc-lib/hppa1.1-hp-hpux10.20/egcs-2.90.29/ld
83 LINK=ld
84 LINKFLAGS=-L/nw386/dev/s/solenv/unxhpgr/lib/gcc-lib/hppa1.1-hp-hpux10.20/egcs-2.91.57/threads -L/nw386/dev/s/solenv/unxhpgr/lib/gcc-lib/hppa1.1-hp-hpux10.20/egcs-2.91.57
85 LINKFLAGSAPPGUI= /usr/lib/crt0.o
86 LINKFLAGSSHLGUI= -b -noinhibit-exec -Bsymbolic -G $(THREADLIB)
87 LINKFLAGSAPPCUI= /usr/lib/crt0.o
88 LINKFLAGSSHLCUI= -b -noinhibit-exec -warn-once -Bsymbolic -G
89 LINKFLAGSTACK=
90 APPLINKSTATIC=-Bstatic
91 APPLINKSHARED=-Bsymbolic
92 APP_LINKTYPE=
94 # reihenfolge der libs NICHT egal!
95 STDOBJGUI=
96 STDSLOGUI=
97 STDOBJCUI=
98 STDSLOCUI=
99 #STDLIBGUIMT= -lX11 -lXext -lcma -lsec -lcxx -ldld -lc_r -lm
100 STDLIBGUIMT= -lX11 -lXext -ldce
101 STDLIBCUIMT= -lc_r -lgcc -ldce
102 #STDSHLGUIMT= -lX11 -lXext -lcma -lsec -lcxx -ldld -lc_r
103 STDSHLGUIMT= -lcma -lsec -ldld -lc_r
104 STDSHLCUIMT=
105 # -L/opt/dce/lib -ldce -lsec -lcxx
107 LIBMGR=ar
108 LIBFLAGS=-r
109 # LIBEXT=.so
111 IMPLIB=
112 IMPLIBFLAGS=
114 MAPSYM=
115 MAPSYMFLAGS=
118 RCFLAGS=
119 RCLINK=
120 RCLINKFLAGS=
121 RCSETVERSION=
123 DLLPOSTFIX=hg
124 DLLPRE=lib
125 DLLPOST=.sl
127 LDUMP=c++filt
129 .IF "$(PRJNAME)"=="uno" || "$(PRJNAME)"=="vos"
130 #CFLAGS += -D_PTHREADS -U_REENTRANT -U_POSIX_PTHREAD_SEMANTICS
131 #CFLAGSSLO += -instances=extern -template=wholeclass -ptr$(SLO)
132 #CFLAGSOBJ += -instances=global -template=wholeclass -ptr$(SLO)
133 #LINKFLAGS+= -temp=/tmp -PIC -instances=extern -ptr$(SLO)
134 .ENDIF
136 #SHLLINKARCONLY=yes