xref: /AOO41X/main/remotebridges/source/unourl_resolver/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
23PRJ=..$/..
24
25PRJNAME=remotebridges
26TARGET = uuresolver.uno
27ENABLE_EXCEPTIONS=TRUE
28COMP1TYPELIST = uuresolver
29
30# --- Settings -----------------------------------------------------
31
32.INCLUDE :  settings.mk
33.IF "$(L10N_framework)"==""
34DLLPRE =
35
36# ------------------------------------------------------------------
37
38SLOFILES= \
39        $(SLO)$/unourl_resolver.obj
40
41SHL1TARGET= $(TARGET)
42SHL1VERSIONMAP = $(SOLARENV)/src/unloadablecomponent.map
43
44SHL1STDLIBS= \
45        $(SALLIB)       \
46        $(CPPULIB)      \
47        $(CPPUHELPERLIB)
48
49SHL1DEPN=
50SHL1IMPLIB= i$(TARGET)
51SHL1LIBS=   $(SLB)$/$(TARGET).lib
52SHL1DEF=    $(MISC)$/$(SHL1TARGET).def
53SHL1RPATH=  URELIB
54
55DEF1NAME=   $(SHL1TARGET)
56.ENDIF      # L10N_framework
57
58# --- Targets ------------------------------------------------------
59
60.INCLUDE :  target.mk
61
62ALLTAR : $(MISC)/uuresolver.component
63
64$(MISC)/uuresolver.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
65        uuresolver.component
66    $(XSLTPROC) --nonet --stringparam uri \
67        '$(COMPONENTPREFIX_URE_NATIVE)$(SHL1TARGETN:f)' -o $@ \
68        $(SOLARENV)/bin/createcomponent.xslt uuresolver.component
69