VirtualBox

source: vbox/trunk/src/libs/libxml2-2.6.30/Makefile.kmk@ 16591

Last change on this file since 16591 was 14377, checked in by vboxsync, 16 years ago

libs/libxml2: Added LIBXML_STATIC_FOR_DLL for Windows builds since it eliminates the code that creates unnecessary cleanup threads (we link to libxml2 from a DLL only).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Date Revision Author Id
File size: 2.1 KB
Line 
1# $Id: Makefile.kmk 14377 2008-11-19 19:19:34Z vboxsync $
2## @file
3# Sub-Makefile for the libxml2 library.
4#
5
6#
7# Copyright (C) 2007 Sun Microsystems, Inc.
8#
9# This file is part of VirtualBox Open Source Edition (OSE), as
10# available from http://www.virtualbox.org. This file is free software;
11# you can redistribute it and/or modify it under the terms of the GNU
12# General Public License (GPL) as published by the Free Software
13# Foundation, in version 2 as it comes in the "COPYING" file of the
14# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16#
17# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
18# Clara, CA 95054 USA or visit http://www.sun.com if you need
19# additional information or have any questions.
20#
21
22SUB_DEPTH = ../../..
23include $(KBUILD_PATH)/subheader.kmk
24
25LIBRARIES += VBox-libxml2
26VBox-libxml2_TEMPLATE = VBOXR3
27VBox-libxml2_SDKS = VBOX_ZLIB
28VBox-libxml2_DEFS = LIBXML_STATIC _REENTRANT # the latter triggers thread support, see xmlversion-default.h and win32xmlversion.h.
29VBox-libxml2_DEFS.win = WIN32 _WINDOWS _MBCS _CRT_SECURE_NO_DEPRECATE _CRT_NONSTDC_NO_DEPRECATE \
30 LIBXML_STATIC_FOR_DLL HAVE_WIN32_THREADS HAVE_ZLIB_H
31VBox-libxml2_CFLAGS.win.amd64 = -wd4267
32VBox-libxml2_INCS = include
33VBox-libxml2_SOURCES = \
34 c14n.c \
35 catalog.c \
36 chvalid.c \
37 debugXML.c \
38 dict.c \
39 DOCBparser.c \
40 encoding.c \
41 entities.c \
42 error.c \
43 globals.c \
44 hash.c \
45 HTMLparser.c \
46 HTMLtree.c \
47 legacy.c \
48 list.c \
49 nanoftp.c \
50 nanohttp.c \
51 parser.c \
52 parserInternals.c \
53 pattern.c \
54 relaxng.c \
55 SAX2.c \
56 SAX.c \
57 schematron.c \
58 threads.c \
59 tree.c \
60 uri.c \
61 valid.c \
62 xinclude.c \
63 xlink.c \
64 xmlIO.c \
65 xmlmemory.c \
66 xmlreader.c \
67 xmlregexp.c \
68 xmlmodule.c \
69 xmlsave.c \
70 xmlschemas.c \
71 xmlschemastypes.c \
72 xmlunicode.c \
73 xmlwriter.c \
74 xpath.c \
75 xpointer.c \
76 xmlstring.c
77
78# For linking:
79# VBox-libxml2_LDFLAGS.win = /VERSION:$(LIBXML_MAJOR_VERSION).$(LIBXML_MINOR_VERSION)
80# VBox-libxml2_SDKS.win += WINPSDK
81
82include $(KBUILD_PATH)/subfooter.kmk
83
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette