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