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=..$/..
28PRJINC=..$/inc
29
30PRJNAME=extensions
31TARGET=dbp
32ENABLE_EXCEPTIONS=TRUE
33VISIBILITY_HIDDEN=TRUE
34
35# --- Settings -----------------------------------------------------
36
37.INCLUDE :	$(PRJ)$/util$/makefile.pmk
38
39# --- defines ------------------------------------------------------
40
41CDEFS+=-DCOMPMOD_NAMESPACE=dbp
42
43# --- Files --------------------------------------------------------
44
45CXXFILES=			dbptools.cxx	\
46					gridwizard.cxx	\
47					listcombowizard.cxx	\
48					optiongrouplayouter.cxx	\
49					commonpagesdbp.cxx	\
50					groupboxwiz.cxx	\
51					wizardservices.cxx	\
52					controlwizard.cxx	\
53					moduledbp.cxx	\
54					dbpservices.cxx
55
56SLOFILES=			$(SLO)$/dbptools.obj	\
57					$(SLO)$/gridwizard.obj	\
58					$(SLO)$/listcombowizard.obj	\
59					$(SLO)$/optiongrouplayouter.obj	\
60					$(SLO)$/commonpagesdbp.obj	\
61					$(SLO)$/groupboxwiz.obj	\
62					$(SLO)$/wizardservices.obj	\
63					$(SLO)$/controlwizard.obj	\
64					$(SLO)$/moduledbp.obj	\
65					$(SLO)$/dbpservices.obj
66
67
68SRS1NAME=$(TARGET)
69SRC1FILES=			gridpages.src	\
70					commonpagesdbp.src	\
71					dbpilots.src	\
72					groupboxpages.src	\
73					listcombopages.src
74
75RESLIB1NAME=dbp
76RESLIB1SRSFILES= $(SRS)$/dbp.srs
77
78SHL1TARGET= $(TARGET)$(DLLPOSTFIX)
79SHL1VERSIONMAP=$(SOLARENV)/src/component.map
80
81SHL1STDLIBS= \
82		$(SVTOOLLIB) \
83		$(VCLLIB) \
84		$(TOOLSLIB) \
85		$(SVLLIB) \
86		$(SFXLIB)		\
87		$(DBTOOLSLIB) \
88                $(UNOTOOLSLIB) \
89		$(COMPHELPERLIB) \
90		$(CPPUHELPERLIB) \
91		$(CPPULIB) \
92		$(SALLIB)
93
94SHL1LIBS=		$(SLB)$/$(TARGET).lib
95SHL1IMPLIB=		i$(TARGET)
96SHL1DEPN=		$(SHL1LIBS)
97SHL1DEF=		$(MISC)$/$(SHL1TARGET).def
98
99DEF1NAME=		$(SHL1TARGET)
100
101# --- Targets ------------------------------------------------------
102
103.INCLUDE :	target.mk
104
105ALLTAR : $(MISC)/dbp.component
106
107$(MISC)/dbp.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
108        dbp.component
109    $(XSLTPROC) --nonet --stringparam uri \
110        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
111        $(SOLARENV)/bin/createcomponent.xslt dbp.component
112