xref: /AOO41X/main/forms/util/makefile.mk (revision 685bfa88af9aabf5dee74c9118df3709da85caa9)
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=..
25PRJNAME=forms
26TARGET=frm
27USE_DEFFILE=TRUE
28
29# --- Settings ----------------------------------
30
31.INCLUDE :  settings.mk
32.INCLUDE: $(PRJ)$/makefile.pmk
33
34# --- Library -----------------------------------
35# --- frm ---------------------------------------
36LIB1TARGET=$(SLB)$/forms.lib
37LIB1FILES=\
38        $(SLB)$/common.lib \
39        $(SLB)$/resource.lib \
40        $(SLB)$/component.lib \
41        $(SLB)$/helper.lib \
42        $(SLB)$/solarcomponent.lib  \
43        $(SLB)$/solarcontrol.lib \
44        $(SLB)$/richtext.lib \
45        $(SLB)$/runtime.lib \
46        $(SLB)$/xforms.lib \
47        $(SLB)$/xformssubmit.lib \
48        $(SLB)$/xformsxpath.lib
49
50SHL1TARGET=$(TARGET)$(DLLPOSTFIX)
51
52SHL1STDLIBS= \
53        $(EDITENGLIB) \
54        $(SALLIB) \
55        $(CPPULIB) \
56        $(CPPUHELPERLIB) \
57        $(TOOLSLIB) \
58        $(I18NISOLANGLIB) \
59        $(VCLLIB) \
60        $(SVTOOLLIB) \
61        $(SVLLIB)   \
62        $(TKLIB) \
63        $(SFX2LIB) \
64        $(VOSLIB) \
65        $(UNOTOOLSLIB) \
66        $(COMPHELPERLIB) \
67        $(DBTOOLSLIB) \
68        $(TKLIB) \
69        $(SVXCORELIB) \
70        $(UCBHELPERLIB) \
71        $(LIBXML2LIB) \
72        $(ICUUCLIB) \
73        $(ICUINLIB)
74
75SHL1LIBS=$(LIB1TARGET)
76SHL1DEPN=$(LIB1TARGET)  \
77        makefile.mk
78
79
80SHL1VERSIONMAP=$(SOLARENV)/src/component.map
81SHL1DEF=$(MISC)$/$(SHL1TARGET).def
82DEF1NAME=$(SHL1TARGET)
83
84# === .res file ==========================================================
85
86RES1FILELIST=\
87    $(SRS)$/resource.srs \
88
89RESLIB1NAME=$(TARGET)
90RESLIB1SRSFILES=$(RES1FILELIST)
91
92# --- Targets ----------------------------------
93
94.INCLUDE : target.mk
95
96# --- Filter-Datei ---
97
98$(MISC)$/$(SHL1TARGET).flt: makefile.mk
99    @echo ------------------------------
100    @echo __CT                  >$@
101    @echo createRegistryInfo    >>$@
102    @echo queryInterface        >>$@
103    @echo queryAggregation      >>$@
104    @echo NavigationToolBar     >>$@
105    @echo ONavigationBar        >>$@
106
107
108ALLTAR : $(MISC)/frm.component
109
110$(MISC)/frm.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
111        frm.component
112    $(XSLTPROC) --nonet --stringparam uri \
113        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
114        $(SOLARENV)/bin/createcomponent.xslt frm.component
115