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