xref: /AOO41X/main/basctl/util/makefile.mk (revision 2407af082dace66c1b57237797ea1e24af5fe607)
1*2407af08SAndrew Rist#**************************************************************
2cdf0e10cSrcweir#
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
10cdf0e10cSrcweir#
11*2407af08SAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir#
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.
19cdf0e10cSrcweir#
20*2407af08SAndrew Rist#**************************************************************
21*2407af08SAndrew Rist
22*2407af08SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweirPRJ=..
25cdf0e10cSrcweir
26cdf0e10cSrcweirPRJNAME=basctl
27cdf0e10cSrcweirTARGET=basctl
28cdf0e10cSrcweir#svx.hid generieren
29cdf0e10cSrcweirGEN_HID=TRUE
30cdf0e10cSrcweirGEN_HID_OTHER=TRUE
31cdf0e10cSrcweirVISIBILITY_HIDDEN=TRUE
32cdf0e10cSrcweir
33cdf0e10cSrcweir# --- Settings -----------------------------------------------------
34cdf0e10cSrcweir
35cdf0e10cSrcweir.INCLUDE :  settings.mk
36cdf0e10cSrcweir
37cdf0e10cSrcweir# --- Allgemein ----------------------------------------------------
38cdf0e10cSrcweir
39cdf0e10cSrcweir# --- Basctl - DLL ----------
40cdf0e10cSrcweir
41cdf0e10cSrcweir.IF "$(header)" == ""
42cdf0e10cSrcweir
43cdf0e10cSrcweirHELPIDFILES=    ..$/inc$/helpid.hrc
44cdf0e10cSrcweir
45cdf0e10cSrcweirSHL1TARGET= basctl$(DLLPOSTFIX)
46cdf0e10cSrcweirSHL1IMPLIB= basctl
47cdf0e10cSrcweirSHL1BASE  = 0x1d800000
48cdf0e10cSrcweirSHL1STDLIBS= \
49cdf0e10cSrcweir			$(EDITENGLIB) \
50cdf0e10cSrcweir			$(SVXCORELIB) \
51cdf0e10cSrcweir			$(SVXLIB) \
52cdf0e10cSrcweir            $(SFX2LIB) \
53cdf0e10cSrcweir            $(FWELIB) \
54cdf0e10cSrcweir            $(BASICLIB) \
55cdf0e10cSrcweir            $(SVTOOLLIB) \
56cdf0e10cSrcweir			$(TKLIB) \
57cdf0e10cSrcweir            $(VCLLIB) \
58cdf0e10cSrcweir			$(SVLLIB) \
59cdf0e10cSrcweir			$(SOTLIB) \
60cdf0e10cSrcweir			$(UNOTOOLSLIB) \
61cdf0e10cSrcweir            $(TOOLSLIB) \
62cdf0e10cSrcweir			$(XMLSCRIPTLIB) \
63cdf0e10cSrcweir			$(COMPHELPERLIB) \
64cdf0e10cSrcweir            $(CPPUHELPERLIB) \
65cdf0e10cSrcweir			$(UCBHELPERLIB) \
66cdf0e10cSrcweir            $(CPPULIB) \
67cdf0e10cSrcweir            $(SALLIB)
68cdf0e10cSrcweir
69cdf0e10cSrcweir.IF "$(GUI)"=="WNT"
70cdf0e10cSrcweirSHL1STDLIBS+= $(SHELLLIB)
71cdf0e10cSrcweir.ENDIF # WNT
72cdf0e10cSrcweir
73cdf0e10cSrcweir
74cdf0e10cSrcweirSHL1LIBS=       $(SLB)$/basctl.lib
75cdf0e10cSrcweirSHL1DEF=        $(MISC)$/$(SHL1TARGET).def
76cdf0e10cSrcweir
77cdf0e10cSrcweirSHL1VERSIONMAP=basctl.map
78cdf0e10cSrcweir
79cdf0e10cSrcweirDEF1NAME        =$(SHL1TARGET)
80cdf0e10cSrcweir
81cdf0e10cSrcweirLIB1TARGET      =$(SLB)$/basctl.lib
82cdf0e10cSrcweirLIB1FILES       = \
83cdf0e10cSrcweir            $(LIBPRE) $(SLB)$/basicide.lib		\
84cdf0e10cSrcweir            $(LIBPRE) $(SLB)$/dlged.lib			\
85cdf0e10cSrcweir            $(LIBPRE) $(SLB)$/accessibility.lib
86cdf0e10cSrcweir
87cdf0e10cSrcweirSRSFILELIST=\
88cdf0e10cSrcweir                $(SRS)$/basicide.srs \
89cdf0e10cSrcweir				$(SRS)$/dlged.srs
90cdf0e10cSrcweir
91cdf0e10cSrcweirRESLIB1NAME=basctl
92cdf0e10cSrcweirRESLIB1IMAGES =$(PRJ)$/res
93cdf0e10cSrcweirRESLIB1SRSFILES= $(SRSFILELIST)
94cdf0e10cSrcweir
95cdf0e10cSrcweir# --- Targets -------------------------------------------------------
96cdf0e10cSrcweir
97cdf0e10cSrcweir.INCLUDE :  target.mk
98cdf0e10cSrcweir
99cdf0e10cSrcweir.ENDIF # "$(header)" == ""
100cdf0e10cSrcweir
101cdf0e10cSrcweir
102cdf0e10cSrcweirALLTAR : $(MISC)/basctl.component
103cdf0e10cSrcweir
104cdf0e10cSrcweir$(MISC)/basctl.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
105cdf0e10cSrcweir        basctl.component
106cdf0e10cSrcweir    $(XSLTPROC) --nonet --stringparam uri \
107cdf0e10cSrcweir        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
108cdf0e10cSrcweir        $(SOLARENV)/bin/createcomponent.xslt basctl.component
109