merge the formfield patch from ooo-build
[ooovba.git] / connectivity / source / drivers / file / makefile.mk
blobb2a3097c401858553e02c482c304c88e1441dda8
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.18 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 PRJ=..$/..$/..
33 PRJINC=..$/..
34 PRJNAME=connectivity
35 TARGET=file
37 USE_DEFFILE=TRUE
38 VISIBILITY_HIDDEN=TRUE
40 # --- Settings ----------------------------------
41 .IF "$(DBGUTIL_OJ)"!=""
42 ENVCFLAGS+=/FR$(SLO)$/
43 .ENDIF
45 .INCLUDE : settings.mk
46 .INCLUDE : $(PRJ)$/version.mk
48 CDEFS += -DOOO_DLLIMPLEMENTATION_FILE
50 # --- Files -------------------------------------
51 EXCEPTIONSFILES=\
52 $(SLO)$/FNoException.obj \
53 $(SLO)$/FConnection.obj \
54 $(SLO)$/FResultSetMetaData.obj \
55 $(SLO)$/FColumns.obj \
56 $(SLO)$/FTables.obj \
57 $(SLO)$/FTable.obj \
58 $(SLO)$/FCatalog.obj \
59 $(SLO)$/FResultSet.obj \
60 $(SLO)$/FStatement.obj \
61 $(SLO)$/FPreparedStatement.obj \
62 $(SLO)$/FDatabaseMetaData.obj \
63 $(SLO)$/FDriver.obj \
64 $(SLO)$/fanalyzer.obj \
65 $(SLO)$/fcomp.obj \
66 $(SLO)$/fcode.obj
68 SLOFILES=\
69 $(EXCEPTIONSFILES) \
70 $(SLO)$/FStringFunctions.obj \
71 $(SLO)$/FDateFunctions.obj \
72 $(SLO)$/FNumericFunctions.obj \
73 $(SLO)$/quotedstring.obj
76 # --- Library -----------------------------------
77 SHL1TARGET=$(TARGET)$(DLLPOSTFIX)
78 SHL1OBJS=$(SLOFILES)
79 SHL1STDLIBS=\
80 $(CPPULIB) \
81 $(CPPUHELPERLIB) \
82 $(VOSLIB) \
83 $(SVLLIB) \
84 $(TOOLSLIB) \
85 $(UCBHELPERLIB) \
86 $(SALLIB) \
87 $(DBTOOLSLIB) \
88 $(UNOTOOLSLIB) \
89 $(COMPHELPERLIB)
91 SHL1DEPN=
92 SHL1IMPLIB= i$(TARGET)
94 SHL1DEF= $(MISC)$/$(SHL1TARGET).def
96 DEF1NAME= $(SHL1TARGET)
97 DEF1DEPN= $(MISC)$/$(SHL1TARGET).flt \
98 $(SLB)$/$(TARGET).lib
99 DEFLIB1NAME=$(TARGET)
101 # --- Targets ----------------------------------
103 .INCLUDE : target.mk
106 # --- filter file ------------------------------
108 $(MISC)$/$(SHL1TARGET).flt: makefile.mk
109 @echo ------------------------------
110 @echo _TI >$@
111 @echo _real >>$@