xref: /aoo41x/main/unotools/util/makefile.mk (revision cdf0e10c)
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=..
29PRJNAME=unotools
30TARGET=utl
31TARGETTYPE=CUI
32USE_LDUMP2=TRUE
33
34USE_DEFFILE=TRUE
35
36# --- Settings ----------------------------------
37
38.INCLUDE :	settings.mk
39
40# --- Library -----------------------------------
41
42LIB1TARGET=$(SLB)$/untools.lib
43LIB1FILES=\
44		$(SLB)$/i18n.lib \
45		$(SLB)$/misc.lib \
46		$(SLB)$/streaming.lib \
47		$(SLB)$/config.lib \
48        $(SLB)$/ucbhelp.lib \
49		$(SLB)$/procfact.lib \
50		$(SLB)$/property.lib \
51		$(SLB)$/accessibility.lib
52
53SHL1TARGET=$(TARGET)$(DLLPOSTFIX)
54
55SHL1IMPLIB=iutl
56SHL1USE_EXPORTS=name
57
58SHL1STDLIBS= \
59		$(SALHELPERLIB) \
60		$(COMPHELPERLIB) \
61		$(UCBHELPERLIB) \
62		$(CPPUHELPERLIB) \
63		$(CPPULIB) \
64		$(I18NISOLANGLIB) \
65		$(TOOLSLIB) \
66		$(VOSLIB) \
67		$(SALLIB)
68
69SHL1LIBS=$(LIB1TARGET)
70SHL1DEF=$(MISC)$/$(SHL1TARGET).def
71
72SHL1DEPN=$(LIB1TARGET)
73
74DEF1NAME	=$(SHL1TARGET)
75DEF1DEPN        =$(MISC)$/$(SHL1TARGET).flt
76DEFLIB1NAME     =untools
77DEF1DES         =unotools
78
79# --- Targets ----------------------------------
80
81.INCLUDE : target.mk
82
83# --- Filter-Datei ---
84
85$(MISC)$/$(SHL1TARGET).flt: makefile.mk
86	@echo ------------------------------
87	@echo Making: $@
88	@echo CLEAR_THE_FILE		> $@
89	@echo _TI					>> $@
90	@echo _real					>> $@
91	@echo NodeValueAccessor			>> $@
92	@echo SubNodeAccess				>> $@
93	@echo UpdateFromConfig			>> $@
94	@echo UpdateToConfig				>> $@
95        @echo _Impl >> $@
96
97
98ALLTAR : $(MISC)/utl.component
99
100$(MISC)/utl.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
101        utl.component
102    $(XSLTPROC) --nonet --stringparam uri \
103        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
104        $(SOLARENV)/bin/createcomponent.xslt utl.component
105