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