xref: /AOO41X/main/unotools/util/makefile.mk (revision 7871dc3ea494bf86c742e1f4dfc9c6e20f5bcb2a)
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=..
25PRJNAME=unotools
26TARGET=utl
27TARGETTYPE=CUI
28USE_LDUMP2=TRUE
29
30USE_DEFFILE=TRUE
31
32# --- Settings ----------------------------------
33
34.INCLUDE :  settings.mk
35
36# --- Library -----------------------------------
37
38LIB1TARGET=$(SLB)$/untools.lib
39LIB1FILES=\
40        $(SLB)$/i18n.lib \
41        $(SLB)$/misc.lib \
42        $(SLB)$/streaming.lib \
43        $(SLB)$/config.lib \
44        $(SLB)$/ucbhelp.lib \
45        $(SLB)$/procfact.lib \
46        $(SLB)$/property.lib \
47        $(SLB)$/accessibility.lib
48
49SHL1TARGET=$(TARGET)$(DLLPOSTFIX)
50
51SHL1IMPLIB=iutl
52SHL1USE_EXPORTS=name
53
54SHL1STDLIBS= \
55        $(SALHELPERLIB) \
56        $(COMPHELPERLIB) \
57        $(UCBHELPERLIB) \
58        $(CPPUHELPERLIB) \
59        $(CPPULIB) \
60        $(I18NISOLANGLIB) \
61        $(TOOLSLIB) \
62        $(VOSLIB) \
63        $(SALLIB)
64
65SHL1LIBS=$(LIB1TARGET)
66SHL1DEF=$(MISC)$/$(SHL1TARGET).def
67
68SHL1DEPN=$(LIB1TARGET)
69
70DEF1NAME    =$(SHL1TARGET)
71DEF1DEPN        =$(MISC)$/$(SHL1TARGET).flt
72DEFLIB1NAME     =untools
73DEF1DES         =unotools
74
75# --- Targets ----------------------------------
76
77.INCLUDE : target.mk
78
79# --- Filter-Datei ---
80
81$(MISC)$/$(SHL1TARGET).flt: makefile.mk
82    @echo ------------------------------
83    @echo Making: $@
84    @echo CLEAR_THE_FILE        > $@
85    @echo _TI                   >> $@
86    @echo _real                 >> $@
87    @echo NodeValueAccessor         >> $@
88    @echo SubNodeAccess             >> $@
89    @echo UpdateFromConfig          >> $@
90    @echo UpdateToConfig                >> $@
91        @echo _Impl >> $@
92
93
94ALLTAR : $(MISC)/utl.component
95
96$(MISC)/utl.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
97        utl.component
98    $(XSLTPROC) --nonet --stringparam uri \
99        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
100        $(SOLARENV)/bin/createcomponent.xslt utl.component
101