1 | # $Id: Makefile.kmk 8155 2008-04-18 15:16:47Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # 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 |
|
---|
22 | DEPTH = ../../..
|
---|
23 | include $(PATH_KBUILD)/header.kmk
|
---|
24 |
|
---|
25 | LIBRARIES = VBox-libxml2
|
---|
26 |
|
---|
27 | VBox-libxml2_TEMPLATE = VBOXR3
|
---|
28 | VBox-libxml2_SDKS = VBOX_ZLIB
|
---|
29 | VBox-libxml2_DEFS = LIBXML_STATIC _REENTRANT # the latter triggers thread support, see xmlversion-default.h and win32xmlversion.h.
|
---|
30 | VBox-libxml2_DEFS.win = WIN32 _WINDOWS _MBCS _CRT_SECURE_NO_DEPRECATE _CRT_NONSTDC_NO_DEPRECATE \
|
---|
31 | HAVE_WIN32_THREADS HAVE_ZLIB_H
|
---|
32 | VBox-libxml2_CFLAGS.win.amd64 = -wd4267
|
---|
33 | VBox-libxml2_INCS = include
|
---|
34 | VBox-libxml2_SOURCES = \
|
---|
35 | c14n.c \
|
---|
36 | catalog.c \
|
---|
37 | chvalid.c \
|
---|
38 | debugXML.c \
|
---|
39 | dict.c \
|
---|
40 | DOCBparser.c \
|
---|
41 | encoding.c \
|
---|
42 | entities.c \
|
---|
43 | error.c \
|
---|
44 | globals.c \
|
---|
45 | hash.c \
|
---|
46 | HTMLparser.c \
|
---|
47 | HTMLtree.c \
|
---|
48 | legacy.c \
|
---|
49 | list.c \
|
---|
50 | nanoftp.c \
|
---|
51 | nanohttp.c \
|
---|
52 | parser.c \
|
---|
53 | parserInternals.c \
|
---|
54 | pattern.c \
|
---|
55 | relaxng.c \
|
---|
56 | SAX2.c \
|
---|
57 | SAX.c \
|
---|
58 | schematron.c \
|
---|
59 | threads.c \
|
---|
60 | tree.c \
|
---|
61 | uri.c \
|
---|
62 | valid.c \
|
---|
63 | xinclude.c \
|
---|
64 | xlink.c \
|
---|
65 | xmlIO.c \
|
---|
66 | xmlmemory.c \
|
---|
67 | xmlreader.c \
|
---|
68 | xmlregexp.c \
|
---|
69 | xmlmodule.c \
|
---|
70 | xmlsave.c \
|
---|
71 | xmlschemas.c \
|
---|
72 | xmlschemastypes.c \
|
---|
73 | xmlunicode.c \
|
---|
74 | xmlwriter.c \
|
---|
75 | xpath.c \
|
---|
76 | xpointer.c \
|
---|
77 | xmlstring.c
|
---|
78 |
|
---|
79 | # For linking:
|
---|
80 | # VBox-libxml2_LDFLAGS.win = /VERSION:$(LIBXML_MAJOR_VERSION).$(LIBXML_MINOR_VERSION)
|
---|
81 | # VBox-libxml2_SDKS.win += WINPSDK
|
---|
82 |
|
---|
83 | include $(PATH_KBUILD)/footer.kmk
|
---|