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=ucb
26TARGET=ucphier
27ENABLE_EXCEPTIONS=TRUE
28USE_DEFFILE=TRUE
29NO_BSYMBOLIC=TRUE
30
31# Version
32UCPHIER_MAJOR=1
33
34# --- Settings ---------------------------------------------------------
35
36.INCLUDE: settings.mk
37
38# --- General -----------------------------------------------------
39.IF "$(L10N_framework)"==""
40
41SLOFILES=\
42	$(SLO)$/hierarchyservices.obj		\
43    $(SLO)$/hierarchydata.obj           \
44	$(SLO)$/hierarchyprovider.obj		\
45	$(SLO)$/hierarchycontent.obj		\
46	$(SLO)$/hierarchycontentcaps.obj	\
47	$(SLO)$/hierarchydatasupplier.obj	\
48    $(SLO)$/dynamicresultset.obj        \
49    $(SLO)$/hierarchydatasource.obj     \
50    $(SLO)$/hierarchyuri.obj
51
52LIB1TARGET=$(SLB)$/_$(TARGET).lib
53LIB1OBJFILES=$(SLOFILES)
54
55# --- Shared-Library ---------------------------------------------------
56
57SHL1TARGET=$(TARGET)$(UCPHIER_MAJOR)
58SHL1IMPLIB=i$(TARGET)
59
60SHL1VERSIONMAP=$(SOLARENV)/src/component.map
61
62SHL1STDLIBS=\
63	$(CPPUHELPERLIB) \
64	$(CPPULIB) \
65	$(SALLIB)  \
66	$(SALHELPERLIB)  \
67	$(UCBHELPERLIB)
68
69SHL1DEF=$(MISC)$/$(SHL1TARGET).def
70SHL1LIBS=$(LIB1TARGET)
71
72# --- Def-File ---------------------------------------------------------
73
74DEF1NAME=$(SHL1TARGET)
75
76# --- Targets ----------------------------------------------------------
77
78.ENDIF # L10N_framework
79.INCLUDE: target.mk
80
81
82ALLTAR : $(MISC)/ucphier1.component
83
84$(MISC)/ucphier1.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
85        ucphier1.component
86    $(XSLTPROC) --nonet --stringparam uri \
87        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
88        $(SOLARENV)/bin/createcomponent.xslt ucphier1.component
89