xref: /aoo41x/main/basctl/source/basicide/makefile.mk (revision 2407af08)
1*2407af08SAndrew Rist#**************************************************************
2*2407af08SAndrew Rist#
3*2407af08SAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
4*2407af08SAndrew Rist#  or more contributor license agreements.  See the NOTICE file
5*2407af08SAndrew Rist#  distributed with this work for additional information
6*2407af08SAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
7*2407af08SAndrew Rist#  to you under the Apache License, Version 2.0 (the
8*2407af08SAndrew Rist#  "License"); you may not use this file except in compliance
9*2407af08SAndrew Rist#  with the License.  You may obtain a copy of the License at
10*2407af08SAndrew Rist#
11*2407af08SAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
12*2407af08SAndrew Rist#
13*2407af08SAndrew Rist#  Unless required by applicable law or agreed to in writing,
14*2407af08SAndrew Rist#  software distributed under the License is distributed on an
15*2407af08SAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*2407af08SAndrew Rist#  KIND, either express or implied.  See the License for the
17*2407af08SAndrew Rist#  specific language governing permissions and limitations
18*2407af08SAndrew Rist#  under the License.
19*2407af08SAndrew Rist#
20*2407af08SAndrew Rist#**************************************************************
21*2407af08SAndrew Rist
22*2407af08SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweirPRJ=..$/..
25cdf0e10cSrcweir
26cdf0e10cSrcweirPRJNAME=basctl
27cdf0e10cSrcweirTARGET=basicide
28cdf0e10cSrcweirVISIBILITY_HIDDEN=TRUE
29cdf0e10cSrcweir
30cdf0e10cSrcweirPROJECTPCH4DLL=TRUE
31cdf0e10cSrcweirPROJECTPCH=ide_pch
32cdf0e10cSrcweirPROJECTPCHSOURCE=ide_pch
33cdf0e10cSrcweir
34cdf0e10cSrcweir# --- Settings -----------------------------------------------------------
35cdf0e10cSrcweir
36cdf0e10cSrcweir.INCLUDE :  settings.mk
37cdf0e10cSrcweir.INCLUDE :  $(PRJ)$/util$/makefile.pmk
38cdf0e10cSrcweir
39cdf0e10cSrcweir.IF "$(basicdebug)" != "" || "$(BASICDEBUG)" != ""
40cdf0e10cSrcweirCDEFS+=-DBASICDEBUG
41cdf0e10cSrcweir.ENDIF
42cdf0e10cSrcweir
43cdf0e10cSrcweir
44cdf0e10cSrcweir# --- Allgemein ----------------------------------------------------------
45cdf0e10cSrcweir
46cdf0e10cSrcweirEXCEPTIONSFILES=$(SLO)$/basicrenderable.obj  \
47cdf0e10cSrcweir                $(SLO)$/scriptdocument.obj  \
48cdf0e10cSrcweir                $(SLO)$/basicbox.obj	\
49cdf0e10cSrcweir                $(SLO)$/basidesh.obj	\
50cdf0e10cSrcweir				$(SLO)$/basides1.obj	\
51cdf0e10cSrcweir				$(SLO)$/basides2.obj	\
52cdf0e10cSrcweir				$(SLO)$/basides3.obj	\
53cdf0e10cSrcweir				$(SLO)$/baside2.obj		\
54cdf0e10cSrcweir				$(SLO)$/baside3.obj		\
55cdf0e10cSrcweir				$(SLO)$/basobj2.obj		\
56cdf0e10cSrcweir				$(SLO)$/basobj3.obj		\
57cdf0e10cSrcweir				$(SLO)$/bastypes.obj	\
58cdf0e10cSrcweir				$(SLO)$/bastype2.obj	\
59cdf0e10cSrcweir				$(SLO)$/bastype3.obj	\
60cdf0e10cSrcweir	            $(SLO)$/iderdll.obj		\
61cdf0e10cSrcweir				$(SLO)$/macrodlg.obj	\
62cdf0e10cSrcweir				$(SLO)$/moduldlg.obj	\
63cdf0e10cSrcweir				$(SLO)$/moduldl2.obj	\
64cdf0e10cSrcweir				$(SLO)$/unomodel.obj	\
65cdf0e10cSrcweir				$(SLO)$/register.obj	\
66cdf0e10cSrcweir                $(SLO)$/basdoc.obj	    \
67cdf0e10cSrcweir				$(SLO)$/tbxctl.obj		\
68cdf0e10cSrcweir				$(SLO)$/basidectrlr.obj	\
69cdf0e10cSrcweir				$(SLO)$/localizationmgr.obj \
70cdf0e10cSrcweir				$(SLO)$/doceventnotifier.obj \
71cdf0e10cSrcweir				$(SLO)$/docsignature.obj \
72cdf0e10cSrcweir                $(SLO)$/documentenumeration.obj
73cdf0e10cSrcweir
74cdf0e10cSrcweirSLOFILES =  $(EXCEPTIONSFILES) \
75cdf0e10cSrcweir            $(SLO)$/baside2b.obj	\
76cdf0e10cSrcweir            $(SLO)$/brkdlg.obj	\
77cdf0e10cSrcweir            $(SLO)$/objdlg.obj	\
78cdf0e10cSrcweir
79cdf0e10cSrcweirSRS1NAME=$(TARGET)
80cdf0e10cSrcweirSRC1FILES=	basidesh.src macrodlg.src moptions.src moduldlg.src objdlg.src brkdlg.src basicprint.src
81cdf0e10cSrcweir
82cdf0e10cSrcweir.INCLUDE :  target.mk
83cdf0e10cSrcweir
84cdf0e10cSrcweir$(INCCOM)$/dllname.hxx: makefile.mk
85cdf0e10cSrcweir.IF "$(GUI)"=="UNX"
86cdf0e10cSrcweir	$(RM) $@
87cdf0e10cSrcweir        echo \#define DLL_NAME \"libbasctl$(DLLPOSTFIX)$(DLLPOST)\" >$@
88cdf0e10cSrcweir.ELSE
89cdf0e10cSrcweir        echo \#define DLL_NAME \"basctl$(DLLPOSTFIX)$(DLLPOST)\" >$@
90cdf0e10cSrcweir.ENDIF
91cdf0e10cSrcweir
92cdf0e10cSrcweir$(SLO)$/basiclib.obj : $(INCCOM)$/dllname.hxx
93cdf0e10cSrcweir
94cdf0e10cSrcweir$(INCCOM)$/basicide.hrc: basidesh.hrc
95cdf0e10cSrcweir    @-$(COPY) basidesh.hrc $@
96cdf0e10cSrcweir
97