xref: /aoo4110/main/fpicker/source/office/makefile.mk (revision b1cdbd2c)
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=fpicker
27TARGET=fps_office
28LIBTARGET=NO
29ENABLE_EXCEPTIONS=TRUE
30VISIBILITY_HIDDEN=TRUE
31GEN_HID=TRUE
32
33# --- Settings -----------------------------------------------------
34
35.INCLUDE :  settings.mk
36DLLPRE=
37
38# --- Files --------------------------------------------------------
39
40SLOFILES=\
41	$(SLO)$/asyncfilepicker.obj \
42	$(SLO)$/commonpicker.obj \
43	$(SLO)$/OfficeControlAccess.obj \
44	$(SLO)$/OfficeFilePicker.obj \
45	$(SLO)$/OfficeFolderPicker.obj \
46	$(SLO)$/fpinteraction.obj \
47	$(SLO)$/fpsmartcontent.obj \
48	$(SLO)$/fps_office.obj \
49	$(SLO)$/iodlg.obj \
50	$(SLO)$/iodlgimp.obj
51
52SHL1TARGET=	$(TARGET).uno
53SHL1IMPLIB=	i$(TARGET)
54SHL1OBJS=	$(SLOFILES)
55SHL1STDLIBS=\
56	$(SVTOOLLIB) \
57	$(TKLIB) \
58	$(VCLLIB) \
59	$(SVLLIB) \
60	$(UNOTOOLSLIB) \
61	$(TOOLSLIB) \
62	$(UCBHELPERLIB) \
63	$(COMPHELPERLIB) \
64	$(CPPUHELPERLIB) \
65	$(CPPULIB) \
66	$(SALLIB)
67
68SHL1VERSIONMAP=$(SOLARENV)/src/component.map
69SHL1DEF=	$(MISC)$/$(SHL1TARGET).def
70DEF1NAME=	$(SHL1TARGET)
71
72SRS1NAME=	$(TARGET)
73SRC1FILES=	\
74	OfficeFilePicker.src \
75	iodlg.src
76
77RESLIB1NAME=$(TARGET)
78RESLIB1IMAGES=$(PRJ)$/res
79RESLIB1SRSFILES=\
80	$(SRS)$/fps_office.srs
81
82# --- Targets ------------------------------------------------------
83
84.INCLUDE :	target.mk
85
86ALLTAR : $(MISC)/fps_office.component
87
88$(MISC)/fps_office.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
89        fps_office.component
90    $(XSLTPROC) --nonet --stringparam uri \
91        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
92        $(SOLARENV)/bin/createcomponent.xslt fps_office.component
93