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=extensions
26TARGET=log
27
28# --- Settings ----------------------------------
29
30.INCLUDE : settings.mk
31
32# --- Files -------------------------------------
33
34# ... object files ............................
35EXCEPTIONSFILES= \
36        $(SLO)$/consolehandler.obj      \
37        $(SLO)$/csvformatter.obj        \
38        $(SLO)$/filehandler.obj         \
39        $(SLO)$/log_services.obj        \
40        $(SLO)$/logger.obj              \
41        $(SLO)$/loggerconfig.obj        \
42        $(SLO)$/loghandler.obj          \
43        $(SLO)$/plaintextformatter.obj  \
44
45SLOFILES= \
46        $(EXCEPTIONSFILES) \
47        $(SLO)$/log_module.obj          \
48        $(SLO)$/logrecord.obj           \
49
50# --- library -----------------------------------
51
52LIB1TARGET=$(SLB)$/$(TARGET)_t.lib
53LIB1FILES=\
54        $(SLB)$/$(TARGET).lib
55
56SHL1TARGET=$(TARGET)$(DLLPOSTFIX)
57
58SHL1STDLIBS= \
59        $(COMPHELPERLIB) \
60        $(CPPUHELPERLIB) \
61        $(CPPULIB) \
62        $(SALLIB)
63
64SHL1LIBS=$(LIB1TARGET)
65SHL1DEF=$(MISC)$/$(SHL1TARGET).def
66DEF1NAME=$(SHL1TARGET)
67SHL1VERSIONMAP=$(SOLARENV)/src/component.map
68
69# --- Targets ----------------------------------
70
71.INCLUDE : target.mk
72
73
74ALLTAR : $(MISC)/log.component
75
76$(MISC)/log.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
77        log.component
78    $(XSLTPROC) --nonet --stringparam uri \
79        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
80        $(SOLARENV)/bin/createcomponent.xslt log.component
81