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