xref: /aoo41x/main/sc/source/core/tool/makefile.mk (revision 7871dc3e)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24PRJ=..$/..$/..
25
26PRJNAME=sc
27TARGET=tool
28
29PROJECTPCH4DLL=TRUE
30PROJECTPCH=core_pch
31PROJECTPCHSOURCE=..\pch\core_pch
32
33AUTOSEG=true
34
35# --- Settings -----------------------------------------------------
36
37.INCLUDE :  scpre.mk
38.INCLUDE :  settings.mk
39.INCLUDE :  sc.mk
40.INCLUDE :  $(PRJ)$/util$/makefile.pmk
41
42# --- Files --------------------------------------------------------
43
44SLOFILES =  \
45		$(SLO)$/addincfg.obj \
46		$(SLO)$/addincol.obj \
47		$(SLO)$/addinhelpid.obj \
48		$(SLO)$/addinlis.obj \
49		$(SLO)$/address.obj \
50		$(SLO)$/adiasync.obj \
51		$(SLO)$/appoptio.obj \
52		$(SLO)$/autoform.obj \
53		$(SLO)$/callform.obj \
54		$(SLO)$/cellform.obj \
55		$(SLO)$/cellkeytranslator.obj \
56		$(SLO)$/charthelper.obj \
57		$(SLO)$/chartarr.obj \
58		$(SLO)$/chartpos.obj \
59		$(SLO)$/chartlis.obj \
60		$(SLO)$/chartlock.obj \
61		$(SLO)$/chgtrack.obj \
62		$(SLO)$/chgviset.obj \
63		$(SLO)$/collect.obj  \
64		$(SLO)$/compiler.obj \
65		$(SLO)$/consoli.obj  \
66		$(SLO)$/dbcolect.obj \
67		$(SLO)$/ddelink.obj \
68		$(SLO)$/detdata.obj  \
69		$(SLO)$/detfunc.obj  \
70		$(SLO)$/docoptio.obj \
71		$(SLO)$/doubleref.obj \
72		$(SLO)$/editutil.obj \
73		$(SLO)$/filtopt.obj \
74		$(SLO)$/formulaparserpool.obj \
75		$(SLO)$/hints.obj \
76		$(SLO)$/inputopt.obj \
77		$(SLO)$/interpr1.obj \
78		$(SLO)$/interpr2.obj \
79		$(SLO)$/interpr3.obj \
80		$(SLO)$/interpr4.obj \
81		$(SLO)$/interpr5.obj \
82		$(SLO)$/interpr6.obj \
83		$(SLO)$/lookupcache.obj \
84		$(SLO)$/navicfg.obj \
85		$(SLO)$/odffmap.obj \
86		$(SLO)$/optutil.obj \
87		$(SLO)$/parclass.obj \
88		$(SLO)$/printopt.obj \
89		$(SLO)$/prnsave.obj \
90		$(SLO)$/progress.obj \
91		$(SLO)$/queryparam.obj \
92		$(SLO)$/rangelst.obj \
93		$(SLO)$/rangenam.obj \
94		$(SLO)$/rangeseq.obj \
95		$(SLO)$/rangeutl.obj \
96		$(SLO)$/rechead.obj  \
97		$(SLO)$/refdata.obj \
98		$(SLO)$/reffind.obj \
99		$(SLO)$/refreshtimer.obj \
100		$(SLO)$/reftokenhelper.obj \
101		$(SLO)$/refupdat.obj \
102		$(SLO)$/scmatrix.obj \
103		$(SLO)$/stringutil.obj \
104		$(SLO)$/subtotal.obj \
105		$(SLO)$/token.obj \
106		$(SLO)$/unitconv.obj \
107		$(SLO)$/userlist.obj \
108		$(SLO)$/viewopti.obj \
109		$(SLO)$/zforauto.obj
110
111EXCEPTIONSFILES= \
112		$(SLO)$/addincol.obj \
113		$(SLO)$/cellkeytranslator.obj \
114		$(SLO)$/charthelper.obj \
115        $(SLO)$/chartarr.obj \
116        $(SLO)$/chartlis.obj \
117        $(SLO)$/chartlock.obj \
118		$(SLO)$/chgtrack.obj \
119        $(SLO)$/compiler.obj \
120		$(SLO)$/doubleref.obj \
121		$(SLO)$/formulaparserpool.obj \
122        $(SLO)$/interpr1.obj \
123        $(SLO)$/interpr2.obj \
124        $(SLO)$/interpr3.obj \
125        $(SLO)$/interpr4.obj \
126        $(SLO)$/interpr5.obj \
127		$(SLO)$/lookupcache.obj \
128        $(SLO)$/prnsave.obj \
129		$(SLO)$/queryparam.obj \
130		$(SLO)$/reftokenhelper.obj \
131		$(SLO)$/stringutil.obj \
132		$(SLO)$/token.obj
133
134# [kh] POWERPC compiler problem
135.IF "$(OS)$(COM)$(CPUNAME)"=="LINUXGCCPOWERPC"
136NOOPTFILES= \
137                $(SLO)$/subtotal.obj
138.ENDIF
139
140.IF "$(OS)$(COM)$(CPUNAME)"=="LINUXGCCSPARC"
141NOOPTFILES= \
142		$(SLO)$/interpr2.obj \
143		$(SLO)$/interpr4.obj \
144		$(SLO)$/token.obj    \
145		$(SLO)$/chartarr.obj
146.ENDIF
147
148.IF "$(GUI)"=="OS2"
149NOOPTFILES= \
150		$(SLO)$/interpr6.obj
151.ENDIF
152
153# --- Tagets -------------------------------------------------------
154
155.INCLUDE :  target.mk
156
157# avoid quotung problems
158$(INCCOM)$/osversiondef.hxx :
159	@@-$(RM) $@
160	@$(TYPE) $(mktmp #define SC_INFO_OSVERSION "$(OS)") > $@
161
162$(SLO)$/interpr5.obj : $(INCCOM)$/osversiondef.hxx
163
164