xref: /aoo41x/main/ucb/source/ucp/ext/makefile.mk (revision cdf0e10c)
1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2008 by Sun Microsystems, Inc.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# $RCSfile: makefile.mk,v $
10#
11# $Revision: 1.4 $
12#
13# This file is part of OpenOffice.org.
14#
15# OpenOffice.org is free software: you can redistribute it and/or modify
16# it under the terms of the GNU Lesser General Public License version 3
17# only, as published by the Free Software Foundation.
18#
19# OpenOffice.org is distributed in the hope that it will be useful,
20# but WITHOUT ANY WARRANTY; without even the implied warranty of
21# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22# GNU Lesser General Public License version 3 for more details
23# (a copy is included in the LICENSE file that accompanied this code).
24#
25# You should have received a copy of the GNU Lesser General Public License
26# version 3 along with OpenOffice.org.  If not, see
27# <http://www.openoffice.org/license.html>
28# for a copy of the LGPLv3 License.
29#
30#*************************************************************************
31
32PRJ = ..$/..$/..
33PRJNAME = ucb
34TARGET = ucpext.uno
35ENABLE_EXCEPTIONS = TRUE
36
37.INCLUDE : settings.mk
38DLLPRE =
39
40SLOFILES= \
41        $(SLO)$/ucpext_provider.obj \
42        $(SLO)$/ucpext_content.obj \
43        $(SLO)$/ucpext_services.obj \
44        $(SLO)$/ucpext_resultset.obj \
45        $(SLO)$/ucpext_datasupplier.obj
46
47SHL1STDLIBS = \
48        $(UCBHELPERLIB)     \
49        $(COMPHELPERLIB)    \
50        $(CPPUHELPERLIB)    \
51        $(CPPULIB)          \
52        $(SALLIB)           \
53        $(SALHELPERLIB)
54
55SHL1VERSIONMAP = $(SOLARENV)/src/component.map
56SHL1TARGET = $(TARGET)
57
58SHL1DEPN =
59SHL1IMPLIB = i$(TARGET)
60SHL1LIBS = $(SLB)$/$(TARGET).lib
61SHL1DEF = $(MISC)$/$(SHL1TARGET).def
62
63DEF1NAME = $(SHL1TARGET)
64
65.INCLUDE : target.mk
66
67ALLTAR : $(MISC)/ucpext.component
68
69$(MISC)/ucpext.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
70        ucpext.component
71    $(XSLTPROC) --nonet --stringparam uri \
72        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
73        $(SOLARENV)/bin/createcomponent.xslt ucpext.component
74