xref: /AOO41X/main/embeddedobj/util/makefile.mk (revision b5ffe9b538c2ae169395e094ada5be59c5565375)
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#*************************************************************************
27
28PRJ=..
29
30PRJNAME=embeddedobj
31TARGET=embobj
32#LIBTARGET=NO
33#USE_DEFFILE=TRUE
34ENABLE_EXCEPTIONS=TRUE
35
36# --- Settings -----------------------------------------------------------
37
38.INCLUDE :  settings.mk
39
40# --- Files --------------------------------------------------------
41
42LIB1OBJFILES= \
43        $(SLO)$/miscobj.obj\
44        $(SLO)$/specialobject.obj\
45        $(SLO)$/persistence.obj\
46        $(SLO)$/embedobj.obj\
47        $(SLO)$/inplaceobj.obj\
48        $(SLO)$/visobj.obj\
49        $(SLO)$/dummyobject.obj\
50        $(SLO)$/xcreator.obj\
51        $(SLO)$/xfactory.obj\
52        $(SLO)$/register.obj\
53        $(SLO)$/docholder.obj\
54        $(SLO)$/intercept.obj
55
56LIB1TARGET=$(SLB)$/$(TARGET).lib
57
58SHL1TARGET= $(TARGET)
59
60SHL1STDLIBS=\
61    $(SALLIB)\
62    $(CPPULIB)\
63    $(COMPHELPERLIB)\
64    $(CPPUHELPERLIB)
65
66SHL1DEPN=
67SHL1IMPLIB= i$(TARGET)
68
69SHL1LIBS=   $(LIB1TARGET)
70
71SHL1DEF= $(MISC)$/$(SHL1TARGET).def
72
73DEF1NAME= $(SHL1TARGET)
74DEF1DEPN=   $(MISC)$/$(SHL1TARGET).flt \
75            $(LIB1TARGET)
76
77DEFLIB1NAME=$(TARGET)
78DEF1EXPORTFILE= exports.dxp
79
80# --- Targets -------------------------------------------------------------
81
82.INCLUDE :  target.mk
83
84
85$(MISC)$/$(SHL1TARGET).flt: makefile.mk
86    @echo ------------------------------
87    @echo CLEAR_THE_FILE    > $@
88    @echo __CT              >>$@
89
90
91ALLTAR : $(MISC)/embobj.component
92
93$(MISC)/embobj.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
94        embobj.component
95    $(XSLTPROC) --nonet --stringparam uri \
96        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
97        $(SOLARENV)/bin/createcomponent.xslt embobj.component
98