1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
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 #*************************************************************************
37 VISIBILITY_HIDDEN
=TRUE
39 # --- Settings ----------------------------------
40 .IF
"$(DBGUTIL_OJ)"!=""
41 ENVCFLAGS
+=/FR
$(SLO
)$/
44 .INCLUDE
: $(PRJ
)$/makefile.pmk
45 .INCLUDE
: $(PRJ
)$/version.mk
47 # --- Files -------------------------------------
51 $(SLO
)$/DResultSet.obj \
52 $(SLO
)$/DStatement.obj \
53 $(SLO
)$/DPreparedStatement.obj \
54 $(SLO
)$/dindexnode.obj \
55 $(SLO
)$/DIndexIter.obj \
56 $(SLO
)$/DDatabaseMetaData.obj \
57 $(SLO
)$/DCatalog.obj \
58 $(SLO
)$/DColumns.obj \
59 $(SLO
)$/DIndexColumns.obj \
61 $(SLO
)$/DIndexes.obj \
64 $(SLO
)$/DConnection.obj \
65 $(SLO
)$/Dservices.obj \
70 $(SLO
)$/DResultSet.obj \
71 $(SLO
)$/DStatement.obj \
72 $(SLO
)$/DPreparedStatement.obj \
73 $(SLO
)$/dindexnode.obj \
74 $(SLO
)$/DIndexIter.obj \
75 $(SLO
)$/DDatabaseMetaData.obj \
76 $(SLO
)$/DCatalog.obj \
77 $(SLO
)$/DColumns.obj \
78 $(SLO
)$/DIndexColumns.obj \
80 $(SLO
)$/DIndexes.obj \
82 $(SLO
)$/DConnection.obj \
83 $(SLO
)$/Dservices.obj \
86 # [kh] ppc linux gcc compiler problem
87 .IF
"$(OS)$(COM)$(CPUNAME)"=="LINUXGCCPOWERPC"
88 EXCEPTIONSNOOPTFILES
= \
96 SHL1VERSIONMAP
=$(TARGET
).map
98 # --- Library -----------------------------------
100 SHL1TARGET
=$(TARGET
)$(DLLPOSTFIX
)
115 .IF
"$(DBFILELIB)" == ""
116 SHL1STDLIBS
+= ifile.lib
120 SHL1IMPLIB
= i
$(DBASE_TARGET
)
123 SHL1DEF
= $(MISC
)$/$(SHL1TARGET
).def
125 DEF1NAME
= $(SHL1TARGET
)
126 DEF1EXPORTFILE
= exports.dxp
129 # --- Targets ----------------------------------
131 .INCLUDE
: $(PRJ
)$/target.pmk