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 #*************************************************************************
32 # UCP Version - Increase, if UCP libraray becomes incompatible.
35 # Name for the UCP. Will become part of the library name (See below).
38 # Relative path to project root.
46 ENABLE_EXCEPTIONS
=TRUE
50 # --- Settings ---------------------------------------------------------
53 .IF
"$(L10N_framework)"==""
55 .IF
"$(DISABLE_NEON)" == "TRUE"
58 @echo
"neon disabled...."
62 NEONINCDIR
=external
$/neon
64 .IF
"$(SYSTEM_NEON)" != "YES"
65 .INCLUDE
: $(SOLARINCDIR
)$/$(NEONINCDIR
)$/version.mk
68 CFLAGS
+= -DNEON_VERSION
=0x
$(NEON_VERSION
)
70 .IF
"$(SYSTEM_NEON)" == "YES"
71 CFLAGS
+= $(NEON_CFLAGS
)
73 CFLAGS
+= -I
$(SOLARINCDIR
)$/$(NEONINCDIR
)
76 .IF
"$(SYSTEM_LIBXML)" == "YES"
77 CFLAGS
+= $(LIBXML_CFLAGS
)
79 LIBXMLINCDIR
=external
$/libxml
80 CFLAGS
+= -I
$(SOLARINCDIR
)$/$(LIBXMLINCDIR
)
83 .IF
"$(SYSTEM_OPENSSL)" == "YES"
84 CFLAGS
+= $(OPENSSL_CFLAGS
)
87 # --- General -----------------------------------------------------
90 $(SLO
)$/webdavservices.obj \
91 $(SLO
)$/webdavprovider.obj \
92 $(SLO
)$/webdavcontent.obj \
93 $(SLO
)$/webdavcontentcaps.obj \
94 $(SLO
)$/webdavresultset.obj \
95 $(SLO
)$/webdavdatasupplier.obj \
96 $(SLO
)$/ContentProperties.obj \
97 $(SLO
)$/DAVProperties.obj \
98 $(SLO
)$/DAVSessionFactory.obj \
99 $(SLO
)$/DAVResourceAccess.obj \
100 $(SLO
)$/NeonUri.obj \
101 $(SLO
)$/NeonInputStream.obj \
102 $(SLO
)$/NeonPropFindRequest.obj \
103 $(SLO
)$/NeonHeadRequest.obj \
104 $(SLO
)$/NeonSession.obj \
105 $(SLO
)$/DateTimeHelper.obj \
106 $(SLO
)$/LinkSequence.obj \
107 $(SLO
)$/LockSequence.obj \
108 $(SLO
)$/LockEntrySequence.obj \
109 $(SLO
)$/UCBDeadPropertyValue.obj
111 LIB1TARGET
=$(SLB
)$/_
$(TARGET
).lib
112 LIB1OBJFILES
=$(SLOFILES
)
114 # --- Shared-Library ---------------------------------------------------
116 SHL1TARGET
=$(TARGET
)$(UCP_VERSION
)
117 SHL1IMPLIB
=i
$(TARGET
)
119 SHL1VERSIONMAP
=exports.map
134 SHL1STDLIBS
+= $(WSOCK32LIB
)
135 .IF
"$(WINDOWS_VISTA_PSDK)" != ""
136 SHL1STDLIBS
+= $(WS2_32LIB
)
138 SHL1STDLIBS
+= $(OPENSSLLIB
)
140 .IF
"$(OS)"=="SOLARIS"
141 SHL1STDLIBS
+= -lnsl
-lsocket
-ldl
144 SHL1STDLIBS
+= pthread.lib libz.lib
146 .IF
"$(SYSTEM_OPENSSL)"=="YES"
147 SHL1STDLIBS
+= $(OPENSSLLIB
)
149 SHL1STDLIBS
+= $(OPENSSLLIBST
)
155 SHL1DEF
=$(MISC
)$/$(SHL1TARGET
).def
156 SHL1LIBS
=$(LIB1TARGET
)
158 # --- Def-File ---------------------------------------------------------
160 DEF1NAME
=$(SHL1TARGET
)
162 .ENDIF
#"$(DISABLE_NEON)" == "TRUE"
164 .ENDIF
# L10N_framework
165 # --- Targets ----------------------------------------------------------