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 $
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 #*************************************************************************
37 VISIBILITY_HIDDEN
=TRUE
38 ENABLE_EXCEPTIONS
=TRUE
40 # --- Settings ----------------------------------
42 .INCLUDE
: $(PRJ
)$/makefile.pmk
43 .INCLUDE
: $(PRJ
)$/version.mk
46 .IF
"$(OS)" == "MACOSX"
48 # === MACAB base library ==========================
50 # --- Files -------------------------------------
53 $(SLO
)$/MacabDriver.obj \
54 $(SLO
)$/MacabServices.obj
59 # --- Library -----------------------------------
61 SHL1VERSIONMAP
=$(TARGET
).map
63 SHL1TARGET
= $(TARGET
)$(MACAB_MAJOR
)
72 SHL1IMPLIB
= i
$(TARGET
)
74 SHL1DEF
= $(MISC
)$/$(SHL1TARGET
).def
76 DEF1NAME
= $(SHL1TARGET
)
78 # === MACAB impl library ==========================
80 # --- Files -------------------------------------
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
)
119 SHL2IMPLIB
= i
$(TARGET2
)
121 SHL2DEF
= $(MISC
)$/$(SHL2TARGET
).def
123 DEF2NAME
= $(SHL2TARGET
)
125 # --- Targets -----------------------------------
126 .ELSE
# "$(OS)" == "MACOSX"
128 @echo Not using Mac OS X
- nothing to build
131 .ELSE
# "$(GUI)" == "UNX"
133 @echo
"Nothing to build for GUI $(GUI)"
136 .INCLUDE
: $(PRJ
)$/target.pmk