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=..$/..$/..
25PRJINC=..$/..
26PRJNAME=connectivity
27TARGET=flat
28
29VISIBILITY_HIDDEN=TRUE
30
31# --- Settings ----------------------------------
32.IF "$(DBGUTIL_OJ)"!=""
33ENVCFLAGS+=/FR$(SLO)$/
34.ENDIF
35
36.INCLUDE : $(PRJ)$/makefile.pmk
37.INCLUDE :  $(PRJ)$/version.mk
38
39
40# --- Files -------------------------------------
41
42SLOFILES=\
43	$(SLO)$/EResultSet.obj			\
44	$(SLO)$/EStatement.obj			\
45	$(SLO)$/EPreparedStatement.obj	\
46	$(SLO)$/ETable.obj				\
47	$(SLO)$/EDatabaseMetaData.obj	\
48	$(SLO)$/ECatalog.obj			\
49	$(SLO)$/EColumns.obj			\
50	$(SLO)$/ETables.obj				\
51	$(SLO)$/EConnection.obj			\
52	$(SLO)$/Eservices.obj			\
53	$(SLO)$/EDriver.obj
54
55EXCEPTIONSFILES=\
56	$(SLO)$/EResultSet.obj			\
57	$(SLO)$/EStatement.obj			\
58	$(SLO)$/EPreparedStatement.obj	\
59	$(SLO)$/ETable.obj				\
60	$(SLO)$/EDatabaseMetaData.obj	\
61	$(SLO)$/ECatalog.obj			\
62	$(SLO)$/EColumns.obj			\
63	$(SLO)$/ETables.obj				\
64	$(SLO)$/EConnection.obj			\
65	$(SLO)$/Eservices.obj			\
66	$(SLO)$/EDriver.obj
67
68
69SHL1VERSIONMAP=$(SOLARENV)/src/component.map
70
71# --- Library -----------------------------------
72SHL1TARGET=$(TARGET)$(DLLPOSTFIX)
73SHL1OBJS=$(SLOFILES)
74SHL1STDLIBS=\
75	$(CPPULIB)					\
76	$(CPPUHELPERLIB)			\
77	$(VOSLIB)					\
78	$(TOOLSLIB)					\
79	$(SVLLIB)				\
80	$(UNOTOOLSLIB)				\
81	$(SALLIB)					\
82	$(DBTOOLSLIB)				\
83	$(DBFILELIB)				\
84	$(COMPHELPERLIB)
85
86.IF "$(DBFILELIB)" == ""
87SHL1STDLIBS+= ifile.lib
88.ENDIF
89
90SHL1DEPN=
91SHL1IMPLIB=	i$(TARGET)
92
93SHL1DEF=	$(MISC)$/$(SHL1TARGET).def
94
95DEF1NAME=	$(SHL1TARGET)
96DEF1EXPORTFILE=	exports.dxp
97
98
99# --- Targets ----------------------------------
100
101.INCLUDE : $(PRJ)$/target.pmk
102
103
104
105ALLTAR : $(MISC)/flat.component
106
107$(MISC)/flat.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
108        flat.component
109    $(XSLTPROC) --nonet --stringparam uri \
110        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
111        $(SOLARENV)/bin/createcomponent.xslt flat.component
112