xref: /aoo41x/main/dtrans/source/generic/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=dtrans
27TARGET=generic
28ENABLE_EXCEPTIONS=TRUE
29LIBTARGET=NO
30COMP1TYPELIST=dtrans
31
32# --- Settings -----------------------------------------------------
33
34.INCLUDE :  settings.mk
35.IF "$(L10N_framework)"==""
36# ------------------------------------------------------------------
37
38SLOFILES= \
39		$(SLO)$/generic_clipboard.obj \
40		$(SLO)$/clipboardmanager.obj \
41		$(SLO)$/dtrans.obj
42
43SHL1TARGET= dtrans
44
45SHL1VERSIONMAP=$(SOLARENV)/src/component.map
46
47SHL1STDLIBS= \
48		$(SALLIB)	\
49		$(CPPULIB) 	\
50		$(CPPUHELPERLIB)
51
52SHL1DEPN=
53SHL1IMPLIB=		i$(SHL1TARGET)
54SHL1OBJS=		$(SLOFILES)
55SHL1DEF=		$(MISC)$/$(SHL1TARGET).def
56
57DEF1NAME=		$(SHL1TARGET)
58DEF1EXPORTFILE=	exports.dxp
59
60# --- Targets ------------------------------------------------------
61.ENDIF # L10N_framework
62
63.INCLUDE :	target.mk
64
65ALLTAR : $(MISC)/dtrans.component
66
67$(MISC)/dtrans.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
68        dtrans.component
69    $(XSLTPROC) --nonet --stringparam uri \
70        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
71        $(SOLARENV)/bin/createcomponent.xslt dtrans.component
72