1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
11# OpenOffice.org is free software: you can redistribute it and/or modify
12# it under the terms of the GNU Lesser General Public License version 3
13# only, as published by the Free Software Foundation.
14#
15# OpenOffice.org is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18# GNU Lesser General Public License version 3 for more details
19# (a copy is included in the LICENSE file that accompanied this code).
20#
21# You should have received a copy of the GNU Lesser General Public License
22# version 3 along with OpenOffice.org.  If not, see
23# <http://www.openoffice.org/license.html>
24# for a copy of the LGPLv3 License.
25#
26#*************************************************************************
27PRJ=..$/..
28
29PRJNAME=extensions
30TARGET=bib
31ENABLE_EXCEPTIONS=TRUE
32
33# --- Settings -----------------------------------------------------
34
35.INCLUDE :	$(PRJ)$/util$/makefile.pmk
36
37# --- Files --------------------------------------------------------
38
39SLOFILES=			$(SLO)$/formcontrolcontainer.obj \
40					$(SLO)$/loadlisteneradapter.obj \
41					$(SLO)$/bibconfig.obj \
42					$(SLO)$/bibcont.obj \
43					$(SLO)$/bibload.obj \
44					$(SLO)$/bibmod.obj \
45					$(SLO)$/general.obj \
46					$(SLO)$/framectr.obj \
47					$(SLO)$/bibview.obj \
48					$(SLO)$/bibbeam.obj  \
49					$(SLO)$/toolbar.obj  \
50					$(SLO)$/datman.obj	\
51
52
53SRS1NAME=$(TARGET)
54SRC1FILES=			bib.src	 \
55					datman.src \
56					sections.src \
57					toolbar.src
58
59RESLIB1NAME=bib
60RESLIB1SRSFILES= $(SRS)$/bib.srs
61RESLIB1DEPN= bib.src bib.hrc
62
63
64SHL1STDLIBS= \
65        $(SOTLIB)           \
66        $(SVTOOLLIB) \
67		$(TKLIB) \
68		$(VCLLIB) \
69		$(SVLLIB) \
70		$(UNOTOOLSLIB) \
71		$(TOOLSLIB) \
72		$(DBTOOLSLIB) \
73		$(COMPHELPERLIB) \
74		$(CPPUHELPERLIB) \
75		$(CPPULIB) \
76		$(SALLIB)
77
78
79SHL1TARGET= $(TARGET)$(DLLPOSTFIX)
80SHL1LIBS=       $(SLB)$/$(TARGET).lib
81SHL1IMPLIB=		i$(TARGET)
82SHL1DEPN=		$(SHL1LIBS)
83SHL1DEF=		$(MISC)$/$(SHL1TARGET).def
84SHL1VERSIONMAP=$(SOLARENV)/src/component.map
85DEF1NAME=		$(SHL1TARGET)
86
87# --- Targets ------------------------------------------------------
88
89.INCLUDE :	target.mk
90
91
92ALLTAR : $(MISC)/bib.component
93
94$(MISC)/bib.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
95        bib.component
96    $(XSLTPROC) --nonet --stringparam uri \
97        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
98        $(SOLARENV)/bin/createcomponent.xslt bib.component
99