merge the formfield patch from ooo-build
[ooovba.git] / solenv / inc / unxhpxr.mk
blob00323aa0ed53d6eae2062999f3ed776c8d82741c
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: unxhpxr.mk,v $
11 # $Revision: 1.9 $
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 #*************************************************************************
32 # mak file fuer unxhpxr
33 ASM=
34 AFLAGS=
36 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
38 # kann c++ was c braucht??
40 # obernervige Warnungen abschalten
41 # 67 = invalid pragma name
42 # 251 = An object cannot be deleted using a pointer of type 'void *' since the
43 # type of the object allocated is unknown.
44 # 370 = The friend declaration is not in the correct form for either a function or a class.
45 # (future error)
46 # 600 = Type specifier is omitted; "int" is no longer assumed.
47 DISWARN=+W67,251,370,600
49 # architecture dependent flags for the C and C++ compiler that can be changed by
50 # exporting the variable ARCH_FLAGS="..." in the shell, which is used to start build
51 ARCH_FLAGS*=
53 #CXX=/opt/aCC/bin/aCC
54 #CC=/opt/ansic/bin/cc
55 CXX=aCC
56 CC=cc
57 CFLAGS= -c
58 CFLAGSCC= -Aa +e +Z $(ARCH_FLAGS)
59 CFLAGSCXX=$(DISWARN) +Z $(ARCH_FLAGS)
60 CFLAGSOBJGUIMT=
61 CFLAGSOBJCUIMT=
62 CFLAGSSLOGUIMT=
63 CFLAGSSLOCUIMT=
64 CFLAGSPROF=
65 CFLAGSDEBUG=-g
66 CFLAGSDBGUTIL=
67 CFLAGSOPT=-O
68 CFLAGSNOOPT=
69 CFLAGSOUTOBJ=-o
72 THREADLIB=-L/opt/dce/lib -ldce
73 # use native aCC to build or link with shared libs, for the sake of
74 # global class-instances
75 LINK=/opt/aCC/bin/aCC
76 LINKFLAGS=
77 LINKFLAGSAPPGUI=-Wl,+s
78 LINKFLAGSSHLGUI=-b -L/usr/solar/lib -L/usr/contrib/X11R6/lib
79 LINKFLAGSAPPCUI=-Wl,+s
80 LINKFLAGSSHLCUI=-b -L/usr/contrib/X11R6/lib
81 LINKFLAGSTACK=
82 LINKFLAGSPROF=
83 LINKFLAGSDEBUG=
84 LINKFLAGSOPT=
86 # reihenfolge der libs NICHT egal!
87 STDOBJGUI=
88 STDSLOGUI=
89 STDOBJCUI=
90 STDSLOCUI=
91 #STDLIBGUIMT= -lX11 -lXext -lcma -lsec -lcxx -ldld -lc_r -lm
92 STDLIBGUIMT= -lX11 -lXext -lpthread
93 STDLIBCUIMT= -lcma
94 #STDSHLGUIMT= -lX11 -lXext -lcma -lsec -lcxx -ldld -lc_r
95 STDSHLCUIMT=
96 # -L/opt/dce/lib -ldce -lsec -lcxx
98 LIBMGR=ar
99 LIBFLAGS=-r
100 # LIBEXT=.so
102 IMPLIB=
103 IMPLIBFLAGS=
105 MAPSYM=
106 MAPSYMFLAGS=
109 RCFLAGS=
110 RCLINK=
111 RCLINKFLAGS=
112 RCSETVERSION=
114 DLLPOSTFIX=hr
115 DLLPRE=lib
116 DLLPOST=.sl
118 LDUMP=c++filt
120 .IF "$(WORK_STAMP)"!="MIX364"
121 DLLPOSTFIX=ss
122 .ELSE
123 DLLPOSTFIX=
124 .ENDIF
127 .IF "$(PRJNAME)"=="uno" || "$(PRJNAME)"=="vos"
128 #CFLAGS += -D_PTHREADS -U_REENTRANT -U_POSIX_PTHREAD_SEMANTICS
129 #CFLAGSSLO += -instances=extern -template=wholeclass -ptr$(SLO)
130 #CFLAGSOBJ += -instances=global -template=wholeclass -ptr$(SLO)
131 #LINKFLAGS+= -temp=/tmp -PIC -instances=extern -ptr$(SLO)
132 .ENDIF
134 #SHLLINKARCONLY=yes