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