merge the formfield patch from ooo-build
[ooovba.git] / basctl / source / basicide / makefile.mk
blob8766473d8157aa0c644190f60f591aefcd2f5694
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.29 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 PRJ=..$/..
34 PRJNAME=basctl
35 TARGET=basicide
36 VISIBILITY_HIDDEN=TRUE
38 PROJECTPCH4DLL=TRUE
39 PROJECTPCH=ide_pch
40 PROJECTPCHSOURCE=ide_pch
42 # --- Settings -----------------------------------------------------------
44 .INCLUDE : settings.mk
45 .INCLUDE : $(PRJ)$/util$/makefile.pmk
47 .IF "$(basicdebug)" != "" || "$(BASICDEBUG)" != ""
48 CDEFS+=-DBASICDEBUG
49 .ENDIF
52 # --- Allgemein ----------------------------------------------------------
54 EXCEPTIONSFILES=$(SLO)$/scriptdocument.obj \
55 $(SLO)$/basidesh.obj \
56 $(SLO)$/basides1.obj \
57 $(SLO)$/basides2.obj \
58 $(SLO)$/basides3.obj \
59 $(SLO)$/baside2.obj \
60 $(SLO)$/baside3.obj \
61 $(SLO)$/basobj2.obj \
62 $(SLO)$/basobj3.obj \
63 $(SLO)$/bastypes.obj \
64 $(SLO)$/bastype2.obj \
65 $(SLO)$/bastype3.obj \
66 $(SLO)$/iderdll.obj \
67 $(SLO)$/macrodlg.obj \
68 $(SLO)$/moduldlg.obj \
69 $(SLO)$/moduldl2.obj \
70 $(SLO)$/unomodel.obj \
71 $(SLO)$/register.obj \
72 $(SLO)$/tbxctl.obj \
73 $(SLO)$/basidectrlr.obj \
74 $(SLO)$/localizationmgr.obj \
75 $(SLO)$/doceventnotifier.obj \
76 $(SLO)$/docsignature.obj \
77 $(SLO)$/documentenumeration.obj
79 SLOFILES = $(EXCEPTIONSFILES) \
80 $(SLO)$/basdoc.obj \
81 $(SLO)$/basicbox.obj \
82 $(SLO)$/baside2b.obj \
83 $(SLO)$/brkdlg.obj \
84 $(SLO)$/objdlg.obj \
86 SRS1NAME=$(TARGET)
87 SRC1FILES= basidesh.src macrodlg.src moptions.src moduldlg.src objdlg.src brkdlg.src tbxctl.src
89 .INCLUDE : target.mk
91 $(INCCOM)$/dllname.hxx: makefile.mk
92 .IF "$(GUI)"=="UNX"
93 $(RM) $@
94 echo \#define DLL_NAME \"libbasctl$(DLLPOSTFIX)$(DLLPOST)\" >$@
95 .ELSE
96 .IF "$(USE_SHELL)"!="4nt"
97 echo \#define DLL_NAME \"basctl$(DLLPOSTFIX)$(DLLPOST)\" >$@
98 .ELSE # "$(USE_SHELL)"!="4nt"
99 echo #define DLL_NAME "basctl$(DLLPOSTFIX)$(DLLPOST)" >$@
100 .ENDIF # "$(USE_SHELL)"!="4nt"
101 .ENDIF
103 $(SLO)$/basiclib.obj : $(INCCOM)$/dllname.hxx
105 $(INCCOM)$/basicide.hrc: basidesh.hrc
106 @-$(COPY) basidesh.hrc $@