VirtualBox

Changeset 6091 in vbox


Ignore:
Timestamp:
Dec 15, 2007 7:48:16 PM (17 years ago)
Author:
vboxsync
Message:

Just keep it simple and clean.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/libxml2-2.6.30/Makefile.kmk

    r6090 r6091  
    1919include $(PATH_KBUILD)/header.kmk
    2020
    21 # include the generated config file
    22 ifeq ($(BUILD_TARGET),win)
    23  include win32/config.msvc
    24 endif
    25 
    26 LIBRARIES = \
    27         VBox-libxml2
     21LIBRARIES = VBox-libxml2
    2822
    2923VBox-libxml2_TEMPLATE       = VBOXR3
    3024VBox-libxml2_SDKS           = VBOX_ZLIB
     25VBox-libxml2_DEFS           = LIBXML_STATIC _REENTRANT # the latter triggers thread support, see xmlversion-default.h and win32xmlversion.h.
     26VBox-libxml2_DEFS.win       = WIN32 _WINDOWS _MBCS _CRT_SECURE_NO_DEPRECATE _CRT_NONSTDC_NO_DEPRECATE \
     27                              HAVE_WIN32_THREADS HAVE_ZLIB_H
     28VBox-libxml2_CFLAGS.win.amd64 = -wd4267
    3129VBox-libxml2_INCS           = include
    32 VBox-libxml2_DEFS           = LIBXML_STATIC
    3330VBox-libxml2_SOURCES        = \
    3431        c14n.c \
     
    7673        xmlstring.c
    7774
    78 VBox-libxml2_DEFS.win       = WIN32 _WINDOWS _MBCS \
    79                               _CRT_SECURE_NO_DEPRECATE _CRT_NONSTDC_NO_DEPRECATE
    80 VBox-libxml2_DEFS          += _REENTRANT # triggers thread support, see xmlversion-default.h and win32xmlversion.h.
    81 VBox-libxml2_LDFLAGS.win    = /VERSION:$(LIBXML_MAJOR_VERSION).$(LIBXML_MINOR_VERSION)
    82 
    83 # Note: all _LIBS stuff is left below is just in case if we want to build a
    84 # shared library one day.
    85 
    86 ifeq ($(filter-out yes ctls,$(WITH_THREADS)),)
    87  VBox-libxml2_DEFS.win     += HAVE_WIN32_THREADS HAVE_COMPILER_TLS
    88 else ifeq ($(WITH_THREADS),native)
    89  VBox-libxml2_DEFS.win     += HAVE_WIN32_THREADS
    90 else ifeq ($(WITH_THREADS),posix)
    91  VBox-libxml2_DEFS.win     += HAVE_PTHREAD_H
    92  VBox-libxml2_LIBS.win     += pthreadVC.lib
    93 endif
    94 
    95 ifeq ($(WITH_ZLIB),1)
    96  VBox-libxml2_DEFS.win     += HAVE_ZLIB_H
    97  VBox-libxml2_LIBS.win     += $(PATH_LIB)/VBox-zlib$(VBOX_LIB_SUFF)
    98  VBox-libxml2_INCS.win     += ../zlib-1.2.1
    99 endif
    100 
    101 ifeq ($(WITH_FTP),1)
    102  VBox-libxml2_LIBS.win     += wsock32.lib
    103 endif
    104 ifeq ($(WITH_ICONV),1)
    105  VBox-libxml2_LIBS.win     += iconv.lib
    106 endif
    107 ifeq ($(WITH_MODULES),1)
    108  VBox-libxml2_LIBS.win     += kernel32.lib
    109 endif
     75# For linking:
     76# VBox-libxml2_LDFLAGS.win    = /VERSION:$(LIBXML_MAJOR_VERSION).$(LIBXML_MINOR_VERSION)
     77# VBox-libxml2_SDKS.win      += WINPSDK
    11078
    11179include $(PATH_KBUILD)/footer.kmk
Note: See TracChangeset for help on using the changeset viewer.

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