xref: /AOO41X/main/extensions/source/bibliography/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=extensions
26TARGET=bib
27ENABLE_EXCEPTIONS=TRUE
28
29# --- Settings -----------------------------------------------------
30
31.INCLUDE :  $(PRJ)$/util$/makefile.pmk
32
33# --- Files --------------------------------------------------------
34
35SLOFILES=           $(SLO)$/formcontrolcontainer.obj \
36                    $(SLO)$/loadlisteneradapter.obj \
37                    $(SLO)$/bibconfig.obj \
38                    $(SLO)$/bibcont.obj \
39                    $(SLO)$/bibload.obj \
40                    $(SLO)$/bibmod.obj \
41                    $(SLO)$/general.obj \
42                    $(SLO)$/framectr.obj \
43                    $(SLO)$/bibview.obj \
44                    $(SLO)$/bibbeam.obj  \
45                    $(SLO)$/toolbar.obj  \
46                    $(SLO)$/datman.obj  \
47
48
49SRS1NAME=$(TARGET)
50SRC1FILES=          bib.src  \
51                    datman.src \
52                    sections.src \
53                    toolbar.src
54
55RESLIB1NAME=bib
56RESLIB1SRSFILES= $(SRS)$/bib.srs
57RESLIB1DEPN= bib.src bib.hrc
58
59
60SHL1STDLIBS= \
61        $(SOTLIB)           \
62        $(SVTOOLLIB) \
63        $(TKLIB) \
64        $(VCLLIB) \
65        $(SVLLIB) \
66        $(UNOTOOLSLIB) \
67        $(TOOLSLIB) \
68        $(DBTOOLSLIB) \
69        $(COMPHELPERLIB) \
70        $(CPPUHELPERLIB) \
71        $(CPPULIB) \
72        $(SALLIB)
73
74
75SHL1TARGET= $(TARGET)$(DLLPOSTFIX)
76SHL1LIBS=       $(SLB)$/$(TARGET).lib
77SHL1IMPLIB=     i$(TARGET)
78SHL1DEPN=       $(SHL1LIBS)
79SHL1DEF=        $(MISC)$/$(SHL1TARGET).def
80SHL1VERSIONMAP=$(SOLARENV)/src/component.map
81DEF1NAME=       $(SHL1TARGET)
82
83# --- Targets ------------------------------------------------------
84
85.INCLUDE :  target.mk
86
87
88ALLTAR : $(MISC)/bib.component
89
90$(MISC)/bib.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
91        bib.component
92    $(XSLTPROC) --nonet --stringparam uri \
93        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
94        $(SOLARENV)/bin/createcomponent.xslt bib.component
95