xref: /trunk/main/forms/util/makefile.mk (revision f94e042d6637da6492b3981d9c9915abfec7a90b)
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.IF "$(GUI)"=="OS2"
93SHL1STDLIBS += pthread.lib libz.lib
94.ENDIF
95
96# --- Targets ----------------------------------
97
98.INCLUDE : target.mk
99
100# --- Filter-Datei ---
101
102$(MISC)$/$(SHL1TARGET).flt: makefile.mk
103    @echo ------------------------------
104    @echo __CT                  >$@
105    @echo createRegistryInfo    >>$@
106    @echo queryInterface        >>$@
107    @echo queryAggregation      >>$@
108    @echo NavigationToolBar     >>$@
109    @echo ONavigationBar        >>$@
110
111
112ALLTAR : $(MISC)/frm.component
113
114$(MISC)/frm.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
115        frm.component
116    $(XSLTPROC) --nonet --stringparam uri \
117        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
118        $(SOLARENV)/bin/createcomponent.xslt frm.component
119