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