xref: /aoo41x/main/sc/source/core/tool/makefile.mk (revision cdf0e10c)
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
28PRJ=..$/..$/..
29
30PRJNAME=sc
31TARGET=tool
32
33PROJECTPCH4DLL=TRUE
34PROJECTPCH=core_pch
35PROJECTPCHSOURCE=..\pch\core_pch
36
37AUTOSEG=true
38
39# --- Settings -----------------------------------------------------
40
41.INCLUDE :  scpre.mk
42.INCLUDE :  settings.mk
43.INCLUDE :  sc.mk
44.INCLUDE :  $(PRJ)$/util$/makefile.pmk
45
46# --- Files --------------------------------------------------------
47
48SLOFILES =  \
49		$(SLO)$/addincfg.obj \
50		$(SLO)$/addincol.obj \
51		$(SLO)$/addinhelpid.obj \
52		$(SLO)$/addinlis.obj \
53		$(SLO)$/address.obj \
54		$(SLO)$/adiasync.obj \
55		$(SLO)$/appoptio.obj \
56		$(SLO)$/autoform.obj \
57		$(SLO)$/callform.obj \
58		$(SLO)$/cellform.obj \
59		$(SLO)$/cellkeytranslator.obj \
60		$(SLO)$/charthelper.obj \
61		$(SLO)$/chartarr.obj \
62		$(SLO)$/chartpos.obj \
63		$(SLO)$/chartlis.obj \
64		$(SLO)$/chartlock.obj \
65		$(SLO)$/chgtrack.obj \
66		$(SLO)$/chgviset.obj \
67		$(SLO)$/collect.obj  \
68		$(SLO)$/compiler.obj \
69		$(SLO)$/consoli.obj  \
70		$(SLO)$/dbcolect.obj \
71		$(SLO)$/ddelink.obj \
72		$(SLO)$/detdata.obj  \
73		$(SLO)$/detfunc.obj  \
74		$(SLO)$/docoptio.obj \
75		$(SLO)$/doubleref.obj \
76		$(SLO)$/editutil.obj \
77		$(SLO)$/filtopt.obj \
78		$(SLO)$/formulaparserpool.obj \
79		$(SLO)$/hints.obj \
80		$(SLO)$/inputopt.obj \
81		$(SLO)$/interpr1.obj \
82		$(SLO)$/interpr2.obj \
83		$(SLO)$/interpr3.obj \
84		$(SLO)$/interpr4.obj \
85		$(SLO)$/interpr5.obj \
86		$(SLO)$/interpr6.obj \
87		$(SLO)$/lookupcache.obj \
88		$(SLO)$/navicfg.obj \
89		$(SLO)$/odffmap.obj \
90		$(SLO)$/optutil.obj \
91		$(SLO)$/parclass.obj \
92		$(SLO)$/printopt.obj \
93		$(SLO)$/prnsave.obj \
94		$(SLO)$/progress.obj \
95		$(SLO)$/queryparam.obj \
96		$(SLO)$/rangelst.obj \
97		$(SLO)$/rangenam.obj \
98		$(SLO)$/rangeseq.obj \
99		$(SLO)$/rangeutl.obj \
100		$(SLO)$/rechead.obj  \
101		$(SLO)$/refdata.obj \
102		$(SLO)$/reffind.obj \
103		$(SLO)$/refreshtimer.obj \
104		$(SLO)$/reftokenhelper.obj \
105		$(SLO)$/refupdat.obj \
106		$(SLO)$/scmatrix.obj \
107		$(SLO)$/stringutil.obj \
108		$(SLO)$/subtotal.obj \
109		$(SLO)$/token.obj \
110		$(SLO)$/unitconv.obj \
111		$(SLO)$/userlist.obj \
112		$(SLO)$/viewopti.obj \
113		$(SLO)$/zforauto.obj
114
115EXCEPTIONSFILES= \
116		$(SLO)$/addincol.obj \
117		$(SLO)$/cellkeytranslator.obj \
118		$(SLO)$/charthelper.obj \
119        $(SLO)$/chartarr.obj \
120        $(SLO)$/chartlis.obj \
121        $(SLO)$/chartlock.obj \
122		$(SLO)$/chgtrack.obj \
123        $(SLO)$/compiler.obj \
124		$(SLO)$/doubleref.obj \
125		$(SLO)$/formulaparserpool.obj \
126        $(SLO)$/interpr1.obj \
127        $(SLO)$/interpr2.obj \
128        $(SLO)$/interpr3.obj \
129        $(SLO)$/interpr4.obj \
130        $(SLO)$/interpr5.obj \
131		$(SLO)$/lookupcache.obj \
132        $(SLO)$/prnsave.obj \
133		$(SLO)$/queryparam.obj \
134		$(SLO)$/reftokenhelper.obj \
135		$(SLO)$/stringutil.obj \
136		$(SLO)$/token.obj
137
138# [kh] POWERPC compiler problem
139.IF "$(OS)$(COM)$(CPUNAME)"=="LINUXGCCPOWERPC"
140NOOPTFILES= \
141                $(SLO)$/subtotal.obj
142.ENDIF
143
144.IF "$(OS)$(COM)$(CPUNAME)"=="LINUXGCCSPARC"
145NOOPTFILES= \
146		$(SLO)$/interpr2.obj \
147		$(SLO)$/interpr4.obj \
148		$(SLO)$/token.obj    \
149		$(SLO)$/chartarr.obj
150.ENDIF
151
152.IF "$(GUI)"=="OS2"
153NOOPTFILES= \
154		$(SLO)$/interpr6.obj
155.ENDIF
156
157# --- Tagets -------------------------------------------------------
158
159.INCLUDE :  target.mk
160
161# avoid quotung problems
162$(INCCOM)$/osversiondef.hxx :
163	@@-$(RM) $@
164	@$(TYPE) $(mktmp #define SC_INFO_OSVERSION "$(OS)") > $@
165
166$(SLO)$/interpr5.obj : $(INCCOM)$/osversiondef.hxx
167
168