Update ooo320-m1
[ooovba.git] / connectivity / source / drivers / macab / makefile.mk
blob8edc8951fa956c6ca8f5f5b9c6baccea650e1ff4
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.3.56.1 $
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=macab
36 TARGET2=$(TARGET)drv
37 VISIBILITY_HIDDEN=TRUE
38 ENABLE_EXCEPTIONS=TRUE
40 # --- Settings ----------------------------------
42 .INCLUDE : $(PRJ)$/makefile.pmk
43 .INCLUDE : $(PRJ)$/version.mk
45 .IF "$(GUI)" == "UNX"
46 .IF "$(OS)" == "MACOSX"
48 # === MACAB base library ==========================
50 # --- Files -------------------------------------
52 SLOFILES= \
53 $(SLO)$/MacabDriver.obj \
54 $(SLO)$/MacabServices.obj
56 DEPOBJFILES= \
57 $(SLO2FILES)
59 # --- Library -----------------------------------
61 SHL1VERSIONMAP=$(TARGET).map
63 SHL1TARGET= $(TARGET)$(MACAB_MAJOR)
64 SHL1OBJS=$(SLOFILES)
65 SHL1STDLIBS=\
66 $(CPPULIB) \
67 $(CPPUHELPERLIB) \
68 $(DBTOOLSLIB) \
69 $(SALLIB)
71 SHL1DEPN=
72 SHL1IMPLIB= i$(TARGET)
74 SHL1DEF= $(MISC)$/$(SHL1TARGET).def
76 DEF1NAME= $(SHL1TARGET)
78 # === MACAB impl library ==========================
80 # --- Files -------------------------------------
82 SLO2FILES=\
83 $(SLO)$/MacabColumns.obj \
84 $(SLO)$/MacabTable.obj \
85 $(SLO)$/MacabTables.obj \
86 $(SLO)$/MacabCatalog.obj \
87 $(SLO)$/MacabResultSet.obj \
88 $(SLO)$/MacabStatement.obj \
89 $(SLO)$/MacabPreparedStatement.obj \
90 $(SLO)$/MacabDatabaseMetaData.obj \
91 $(SLO)$/MacabConnection.obj \
92 $(SLO)$/MacabResultSetMetaData.obj \
93 $(SLO)$/macabcondition.obj \
94 $(SLO)$/macaborder.obj \
95 $(SLO)$/MacabRecord.obj \
96 $(SLO)$/MacabRecords.obj \
97 $(SLO)$/MacabHeader.obj \
98 $(SLO)$/MacabGroup.obj \
99 $(SLO)$/MacabAddressBook.obj
101 MACAB_LIB=-framework Carbon -framework AddressBook
103 # --- Library -----------------------------------
105 SHL2VERSIONMAP=$(TARGET2).map
107 SHL2TARGET= $(TARGET2)$(MACAB_MAJOR)
108 SHL2OBJS=$(SLO2FILES)
109 SHL2STDLIBS=\
110 $(CPPULIB) \
111 $(CPPUHELPERLIB) \
112 $(VOSLIB) \
113 $(SALLIB) \
114 $(DBTOOLSLIB) \
115 $(COMPHELPERLIB) \
116 $(MACAB_LIB)
118 SHL2DEPN=
119 SHL2IMPLIB= i$(TARGET2)
121 SHL2DEF= $(MISC)$/$(SHL2TARGET).def
123 DEF2NAME= $(SHL2TARGET)
125 # --- Targets -----------------------------------
126 .ELSE # "$(OS)" == "MACOSX"
127 dummy:
128 @echo Not using Mac OS X - nothing to build
129 .ENDIF
131 .ELSE # "$(GUI)" == "UNX"
132 dummy:
133 @echo "Nothing to build for GUI $(GUI)"
134 .ENDIF
136 .INCLUDE : $(PRJ)$/target.pmk