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#*************************************************************************
27PRJ=..$/..
28PRJINC=..$/inc
29
30PRJNAME=extensions
31TARGET=pcr
32USE_DEFFILE=TRUE
33
34ENABLE_EXCEPTIONS=TRUE
35VISIBILITY_HIDDEN=TRUE
36
37# --- Settings -----------------------------------------------------
38
39.INCLUDE :	$(PRJ)$/util$/makefile.pmk
40
41# --- Files --------------------------------------------------------
42
43SLOFILES=           $(SLO)$/controlfontdialog.obj \
44					$(SLO)$/fontdialog.obj	\
45					$(SLO)$/pcrservices.obj	\
46					$(SLO)$/selectlabeldialog.obj	\
47					$(SLO)$/propcontroller.obj	\
48					$(SLO)$/formcontroller.obj	\
49                    $(SLO)$/modulepcr.obj  \
50					$(SLO)$/cellbindinghelper.obj   \
51					$(SLO)$/taborder.obj   \
52					$(SLO)$/pcrunodialogs.obj   \
53					$(SLO)$/unourl.obj   \
54					$(SLO)$/formlinkdialog.obj   \
55					$(SLO)$/listselectiondlg.obj   \
56					$(SLO)$/browserlistbox.obj	\
57					$(SLO)$/stringrepresentation.obj   \
58					$(SLO)$/eformshelper.obj   \
59					$(SLO)$/xsddatatypes.obj   \
60					$(SLO)$/xsdvalidationhelper.obj \
61					$(SLO)$/pushbuttonnavigation.obj \
62                    $(SLO)$/sqlcommanddesign.obj \
63                    $(SLO)$/composeduiupdate.obj \
64					$(SLO)$/propertycomposer.obj \
65					$(SLO)$/pcrcomponentcontext.obj \
66					$(SLO)$/commoncontrol.obj \
67					$(SLO)$/standardcontrol.obj \
68					$(SLO)$/usercontrol.obj \
69					$(SLO)$/browserline.obj \
70					$(SLO)$/genericpropertyhandler.obj \
71					$(SLO)$/buttonnavigationhandler.obj \
72                    $(SLO)$/handlerhelper.obj \
73                    $(SLO)$/propertyhandler.obj \
74                    $(SLO)$/eventhandler.obj \
75                    $(SLO)$/editpropertyhandler.obj \
76                    $(SLO)$/eformspropertyhandler.obj \
77                    $(SLO)$/cellbindinghandler.obj \
78                    $(SLO)$/submissionhandler.obj \
79                    $(SLO)$/xsdvalidationpropertyhandler.obj \
80                    $(SLO)$/formcomponenthandler.obj \
81					$(SLO)$/formmetadata.obj \
82					$(SLO)$/defaultforminspection.obj \
83					$(SLO)$/formbrowsertools.obj \
84					$(SLO)$/browserpage.obj	\
85					$(SLO)$/propertyeditor.obj	\
86					$(SLO)$/formstrings.obj	\
87					$(SLO)$/pcrstrings.obj	\
88					$(SLO)$/browserview.obj	\
89					$(SLO)$/pcrcommon.obj	\
90                    $(SLO)$/newdatatype.obj \
91                    $(SLO)$/propeventtranslation.obj \
92                    $(SLO)$/objectinspectormodel.obj \
93                    $(SLO)$/inspectorhelpwindow.obj \
94                    $(SLO)$/defaulthelpprovider.obj \
95                    $(SLO)$/MasterDetailLinkDialog.obj \
96                    $(SLO)$/inspectormodelbase.obj \
97                    $(SLO)$/propertycontrolextender.obj \
98                    $(SLO)$/formgeometryhandler.obj
99
100SRS1NAME=$(TARGET)
101SRC1FILES=			propres.src	 \
102					formres.src \
103					pcrmiscres.src \
104					taborder.src \
105					fontdialog.src \
106					selectlabeldialog.src \
107					formlinkdialog.src \
108					listselectiondlg.src \
109					newdatatype.src
110
111RESLIB1NAME=$(TARGET)
112RESLIB1IMAGES=$(PRJ)$/res
113RESLIB1SRSFILES= $(SRS)$/$(TARGET).srs
114
115SHL1TARGET= $(TARGET)$(DLLPOSTFIX)
116SHL1VERSIONMAP=$(SOLARENV)/src/component.map
117
118SHL1STDLIBS= \
119		$(EDITENGLIB)	\
120		$(SVXCORELIB)	\
121		$(SVXLIB)	\
122		$(SFXLIB)	\
123		$(SVTOOLLIB)\
124		$(TKLIB)	\
125		$(VCLLIB)	\
126		$(SVLLIB)	\
127		$(TOOLSLIB) \
128		$(I18NISOLANGLIB)   \
129		$(DBTOOLSLIB)	\
130		$(COMPHELPERLIB) 	 \
131		$(CPPUHELPERLIB) 	 \
132		$(CPPULIB) 	\
133		$(UNOTOOLSLIB) 	\
134		$(SALLIB)
135
136SHL1LIBS=		$(SLB)$/$(TARGET).lib
137SHL1IMPLIB=		i$(TARGET)
138SHL1DEPN=		$(SHL1LIBS)
139SHL1DEF=		$(MISC)$/$(SHL1TARGET).def
140
141DEF1NAME=		$(SHL1TARGET)
142
143# --- Targets ------------------------------------------------------
144
145.INCLUDE :	target.mk
146
147
148ALLTAR : $(MISC)/pcr.component
149
150$(MISC)/pcr.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
151        pcr.component
152    $(XSLTPROC) --nonet --stringparam uri \
153        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
154        $(SOLARENV)/bin/createcomponent.xslt pcr.component
155