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        $(SLO)$/sysloghandler.obj       \
45
46SLOFILES= \
47        $(EXCEPTIONSFILES) \
48        $(SLO)$/log_module.obj          \
49        $(SLO)$/logrecord.obj           \
50
51# --- library -----------------------------------
52
53LIB1TARGET=$(SLB)$/$(TARGET)_t.lib
54LIB1FILES=\
55        $(SLB)$/$(TARGET).lib
56
57SHL1TARGET=$(TARGET)$(DLLPOSTFIX)
58
59SHL1STDLIBS= \
60        $(COMPHELPERLIB) \
61        $(CPPUHELPERLIB) \
62        $(CPPULIB) \
63        $(SALLIB)
64
65SHL1LIBS=$(LIB1TARGET)
66SHL1DEF=$(MISC)$/$(SHL1TARGET).def
67DEF1NAME=$(SHL1TARGET)
68SHL1VERSIONMAP=$(SOLARENV)/src/component.map
69
70# --- Targets ----------------------------------
71
72.INCLUDE : target.mk
73
74
75ALLTAR : $(MISC)/log.component
76
77$(MISC)/log.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
78        log.component
79    $(XSLTPROC) --nonet --stringparam uri \
80        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
81        $(SOLARENV)/bin/createcomponent.xslt log.component
82