xref: /aoo41x/main/uui/util/makefile.mk (revision 7871dc3e)
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 = uui
26TARGET = uui
27RESTARGET = $(TARGET)
28
29GEN_HID = true
30NO_BSYMBOLIC = true
31
32.INCLUDE: settings.mk
33
34SHL1TARGET = $(TARGET)$(DLLPOSTFIX)
35SHL1IMPLIB = i$(TARGET)
36
37SHL1VERSIONMAP = $(SOLARENV)/src/component.map
38SHL1DEF = $(MISC)$/$(SHL1TARGET).def
39DEF1NAME = $(SHL1TARGET)
40
41SHL1LIBS = \
42	$(SLB)$/source.lib
43
44SHL1STDLIBS = \
45	$(SVTOOLLIB) \
46	$(SVLLIB) \
47	$(TKLIB) \
48	$(VCLLIB) \
49	$(UNOTOOLSLIB) \
50	$(TOOLSLIB) \
51	$(COMPHELPERLIB) \
52	$(CPPUHELPERLIB) \
53	$(CPPULIB) \
54	$(SALLIB)
55
56RESLIB1NAME = $(RESTARGET)
57RESLIB1SRSFILES = \
58	$(SRS)$/source.srs
59
60.INCLUDE: target.mk
61
62ALLTAR : $(MISC)/uui.component
63
64$(MISC)/uui.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
65        uui.component
66    $(XSLTPROC) --nonet --stringparam uri \
67        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
68        $(SOLARENV)/bin/createcomponent.xslt uui.component
69