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=..$/..$/..
29PRJINC=..$/..
30PRJNAME=connectivity
31TARGET=file
32
33USE_DEFFILE=TRUE
34VISIBILITY_HIDDEN=TRUE
35
36# --- Settings ----------------------------------
37.IF "$(DBGUTIL_OJ)"!=""
38ENVCFLAGS+=/FR$(SLO)$/
39.ENDIF
40
41.INCLUDE : settings.mk
42.INCLUDE :  $(PRJ)$/version.mk
43
44CDEFS += -DOOO_DLLIMPLEMENTATION_FILE
45
46# --- Files -------------------------------------
47EXCEPTIONSFILES=\
48	$(SLO)$/FNoException.obj		\
49	$(SLO)$/FConnection.obj			\
50	$(SLO)$/FResultSetMetaData.obj	\
51	$(SLO)$/FColumns.obj			\
52	$(SLO)$/FTables.obj				\
53	$(SLO)$/FTable.obj				\
54	$(SLO)$/FCatalog.obj			\
55	$(SLO)$/FResultSet.obj			\
56	$(SLO)$/FStatement.obj			\
57	$(SLO)$/FPreparedStatement.obj	\
58	$(SLO)$/FDatabaseMetaData.obj	\
59	$(SLO)$/FDriver.obj				\
60	$(SLO)$/fanalyzer.obj			\
61	$(SLO)$/fcomp.obj               \
62	$(SLO)$/fcode.obj
63
64SLOFILES=\
65	$(EXCEPTIONSFILES)				\
66	$(SLO)$/FStringFunctions.obj	\
67	$(SLO)$/FDateFunctions.obj	\
68	$(SLO)$/FNumericFunctions.obj \
69    $(SLO)$/quotedstring.obj
70
71
72# --- Library -----------------------------------
73SHL1TARGET=$(TARGET)$(DLLPOSTFIX)
74SHL1OBJS=$(SLOFILES)
75SHL1STDLIBS=\
76	$(CPPULIB)					\
77	$(CPPUHELPERLIB)			\
78	$(VOSLIB)					\
79	$(SVLLIB)					\
80	$(TOOLSLIB)					\
81	$(UCBHELPERLIB)				\
82	$(SALLIB)					\
83	$(DBTOOLSLIB)				\
84	$(UNOTOOLSLIB)				\
85	$(COMPHELPERLIB)
86
87SHL1DEPN=
88SHL1IMPLIB=	i$(TARGET)
89
90SHL1DEF=	$(MISC)$/$(SHL1TARGET).def
91
92DEF1NAME=	$(SHL1TARGET)
93DEF1DEPN=	$(MISC)$/$(SHL1TARGET).flt \
94			$(SLB)$/$(TARGET).lib
95DEFLIB1NAME=$(TARGET)
96
97# --- Targets ----------------------------------
98
99.INCLUDE : target.mk
100
101
102# --- filter file ------------------------------
103
104$(MISC)$/$(SHL1TARGET).flt: makefile.mk
105	@echo ------------------------------
106	@echo _TI				>$@
107	@echo _real				>>$@
108
109