xref: /aoo41x/main/basctl/source/basicide/makefile.mk (revision 2407af08)
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=basctl
27TARGET=basicide
28VISIBILITY_HIDDEN=TRUE
29
30PROJECTPCH4DLL=TRUE
31PROJECTPCH=ide_pch
32PROJECTPCHSOURCE=ide_pch
33
34# --- Settings -----------------------------------------------------------
35
36.INCLUDE :  settings.mk
37.INCLUDE :  $(PRJ)$/util$/makefile.pmk
38
39.IF "$(basicdebug)" != "" || "$(BASICDEBUG)" != ""
40CDEFS+=-DBASICDEBUG
41.ENDIF
42
43
44# --- Allgemein ----------------------------------------------------------
45
46EXCEPTIONSFILES=$(SLO)$/basicrenderable.obj  \
47                $(SLO)$/scriptdocument.obj  \
48                $(SLO)$/basicbox.obj	\
49                $(SLO)$/basidesh.obj	\
50				$(SLO)$/basides1.obj	\
51				$(SLO)$/basides2.obj	\
52				$(SLO)$/basides3.obj	\
53				$(SLO)$/baside2.obj		\
54				$(SLO)$/baside3.obj		\
55				$(SLO)$/basobj2.obj		\
56				$(SLO)$/basobj3.obj		\
57				$(SLO)$/bastypes.obj	\
58				$(SLO)$/bastype2.obj	\
59				$(SLO)$/bastype3.obj	\
60	            $(SLO)$/iderdll.obj		\
61				$(SLO)$/macrodlg.obj	\
62				$(SLO)$/moduldlg.obj	\
63				$(SLO)$/moduldl2.obj	\
64				$(SLO)$/unomodel.obj	\
65				$(SLO)$/register.obj	\
66                $(SLO)$/basdoc.obj	    \
67				$(SLO)$/tbxctl.obj		\
68				$(SLO)$/basidectrlr.obj	\
69				$(SLO)$/localizationmgr.obj \
70				$(SLO)$/doceventnotifier.obj \
71				$(SLO)$/docsignature.obj \
72                $(SLO)$/documentenumeration.obj
73
74SLOFILES =  $(EXCEPTIONSFILES) \
75            $(SLO)$/baside2b.obj	\
76            $(SLO)$/brkdlg.obj	\
77            $(SLO)$/objdlg.obj	\
78
79SRS1NAME=$(TARGET)
80SRC1FILES=	basidesh.src macrodlg.src moptions.src moduldlg.src objdlg.src brkdlg.src basicprint.src
81
82.INCLUDE :  target.mk
83
84$(INCCOM)$/dllname.hxx: makefile.mk
85.IF "$(GUI)"=="UNX"
86	$(RM) $@
87        echo \#define DLL_NAME \"libbasctl$(DLLPOSTFIX)$(DLLPOST)\" >$@
88.ELSE
89        echo \#define DLL_NAME \"basctl$(DLLPOSTFIX)$(DLLPOST)\" >$@
90.ENDIF
91
92$(SLO)$/basiclib.obj : $(INCCOM)$/dllname.hxx
93
94$(INCCOM)$/basicide.hrc: basidesh.hrc
95    @-$(COPY) basidesh.hrc $@
96
97