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