Changeset 6091 in vbox
- Timestamp:
- Dec 15, 2007 7:48:16 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/libxml2-2.6.30/Makefile.kmk
r6090 r6091 19 19 include $(PATH_KBUILD)/header.kmk 20 20 21 # include the generated config file 22 ifeq ($(BUILD_TARGET),win) 23 include win32/config.msvc 24 endif 25 26 LIBRARIES = \ 27 VBox-libxml2 21 LIBRARIES = VBox-libxml2 28 22 29 23 VBox-libxml2_TEMPLATE = VBOXR3 30 24 VBox-libxml2_SDKS = VBOX_ZLIB 25 VBox-libxml2_DEFS = LIBXML_STATIC _REENTRANT # the latter triggers thread support, see xmlversion-default.h and win32xmlversion.h. 26 VBox-libxml2_DEFS.win = WIN32 _WINDOWS _MBCS _CRT_SECURE_NO_DEPRECATE _CRT_NONSTDC_NO_DEPRECATE \ 27 HAVE_WIN32_THREADS HAVE_ZLIB_H 28 VBox-libxml2_CFLAGS.win.amd64 = -wd4267 31 29 VBox-libxml2_INCS = include 32 VBox-libxml2_DEFS = LIBXML_STATIC33 30 VBox-libxml2_SOURCES = \ 34 31 c14n.c \ … … 76 73 xmlstring.c 77 74 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 110 78 111 79 include $(PATH_KBUILD)/footer.kmk
Note:
See TracChangeset
for help on using the changeset viewer.