xref: /aoo41x/main/basctl/util/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=basctl
32#svx.hid generieren
33GEN_HID=TRUE
34GEN_HID_OTHER=TRUE
35VISIBILITY_HIDDEN=TRUE
36
37# --- Settings -----------------------------------------------------
38
39.INCLUDE :  settings.mk
40
41# --- Allgemein ----------------------------------------------------
42
43# --- Basctl - DLL ----------
44
45.IF "$(header)" == ""
46
47HELPIDFILES=    ..$/inc$/helpid.hrc
48
49SHL1TARGET= basctl$(DLLPOSTFIX)
50SHL1IMPLIB= basctl
51SHL1BASE  = 0x1d800000
52SHL1STDLIBS= \
53			$(EDITENGLIB) \
54			$(SVXCORELIB) \
55			$(SVXLIB) \
56            $(SFX2LIB) \
57            $(FWELIB) \
58            $(BASICLIB) \
59            $(SVTOOLLIB) \
60			$(TKLIB) \
61            $(VCLLIB) \
62			$(SVLLIB) \
63			$(SOTLIB) \
64			$(UNOTOOLSLIB) \
65            $(TOOLSLIB) \
66			$(XMLSCRIPTLIB) \
67			$(COMPHELPERLIB) \
68            $(CPPUHELPERLIB) \
69			$(UCBHELPERLIB) \
70            $(CPPULIB) \
71            $(SALLIB)
72
73.IF "$(GUI)"=="WNT"
74SHL1STDLIBS+= $(SHELLLIB)
75.ENDIF # WNT
76
77
78SHL1LIBS=       $(SLB)$/basctl.lib
79SHL1DEF=        $(MISC)$/$(SHL1TARGET).def
80
81SHL1VERSIONMAP=basctl.map
82
83DEF1NAME        =$(SHL1TARGET)
84
85LIB1TARGET      =$(SLB)$/basctl.lib
86LIB1FILES       = \
87            $(LIBPRE) $(SLB)$/basicide.lib		\
88            $(LIBPRE) $(SLB)$/dlged.lib			\
89            $(LIBPRE) $(SLB)$/accessibility.lib
90
91SRSFILELIST=\
92                $(SRS)$/basicide.srs \
93				$(SRS)$/dlged.srs
94
95RESLIB1NAME=basctl
96RESLIB1IMAGES =$(PRJ)$/res
97RESLIB1SRSFILES= $(SRSFILELIST)
98
99# --- Targets -------------------------------------------------------
100
101.INCLUDE :  target.mk
102
103.ENDIF # "$(header)" == ""
104
105
106ALLTAR : $(MISC)/basctl.component
107
108$(MISC)/basctl.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
109        basctl.component
110    $(XSLTPROC) --nonet --stringparam uri \
111        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
112        $(SOLARENV)/bin/createcomponent.xslt basctl.component
113