makefile.mk (3f3f2619) makefile.mk (f3525e2f)
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 24 unchanged lines hidden (view full) ---

33.IF "$(SYSTEM_LIBXML)" == "YES"
34all:
35 @echo "An already available installation of libxml should exist on your system."
36 @echo "Therefore the version provided here does not need to be built in addition."
37.ENDIF
38
39# --- Files --------------------------------------------------------
40
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 24 unchanged lines hidden (view full) ---

33.IF "$(SYSTEM_LIBXML)" == "YES"
34all:
35 @echo "An already available installation of libxml should exist on your system."
36 @echo "Therefore the version provided here does not need to be built in addition."
37.ENDIF
38
39# --- Files --------------------------------------------------------
40
41LIBXML2VERSION=2.9.9
41LIBXML2VERSION=2.9.10
42
43TARFILE_NAME=$(PRJNAME)-$(LIBXML2VERSION)
42
43TARFILE_NAME=$(PRJNAME)-$(LIBXML2VERSION)
44TARFILE_MD5=c04a5a0a042eaa157e8e8c9eabe76bd6
44TARFILE_MD5=10942a1dc23137a8aa07f0639cbfece5
45
46PATCH_FILES=libxml2-configure.patch
47
48# libxml2-global-symbols: #i112480#: Solaris ld won't export non-listed symbols
49# libxml2-global-symbols.patch
50
51# This is only for UNX environment now
52

--- 4 unchanged lines hidden (view full) ---

57xml2_CC+=-shared-libgcc
58.ENDIF
59xml2_LIBS=-lws2_32
60.IF "$(MINGW_SHARED_GXXLIB)"=="YES"
61xml2_LIBS+=$(MINGW_SHARED_LIBSTDCPP)
62.ENDIF
63CONFIGURE_DIR=
64CONFIGURE_ACTION=.$/configure
45
46PATCH_FILES=libxml2-configure.patch
47
48# libxml2-global-symbols: #i112480#: Solaris ld won't export non-listed symbols
49# libxml2-global-symbols.patch
50
51# This is only for UNX environment now
52

--- 4 unchanged lines hidden (view full) ---

57xml2_CC+=-shared-libgcc
58.ENDIF
59xml2_LIBS=-lws2_32
60.IF "$(MINGW_SHARED_GXXLIB)"=="YES"
61xml2_LIBS+=$(MINGW_SHARED_LIBSTDCPP)
62.ENDIF
63CONFIGURE_DIR=
64CONFIGURE_ACTION=.$/configure
65CONFIGURE_FLAGS=--enable-ipv6=no --without-python --without-zlib --enable-static=no --without-debug --build=i586-pc-mingw32 --host=i586-pc-mingw32 lt_cv_cc_dll_switch="-shared" CC="$(xml2_CC)" LDFLAGS="-no-undefined -Wl,--enable-runtime-pseudo-reloc-v2 -L$(ILIB:s/;/ -L/)" LIBS="$(xml2_LIBS)" OBJDUMP=objdump
65CONFIGURE_FLAGS=--enable-ipv6=no --without-python --without-lzma --enable-static=no --without-debug --build=i586-pc-mingw32 --host=i586-pc-mingw32 lt_cv_cc_dll_switch="-shared" CC="$(xml2_CC)" LDFLAGS="-no-undefined -Wl,--enable-runtime-pseudo-reloc-v2 -L$(ILIB:s/;/ -L/)" LIBS="$(xml2_LIBS)" OBJDUMP=objdump
66BUILD_ACTION=$(GNUMAKE)
67BUILD_DIR=$(CONFIGURE_DIR)
68.ELSE
69CONFIGURE_DIR=win32
70CONFIGURE_ACTION=cscript configure.js
66BUILD_ACTION=$(GNUMAKE)
67BUILD_DIR=$(CONFIGURE_DIR)
68.ELSE
69CONFIGURE_DIR=win32
70CONFIGURE_ACTION=cscript configure.js
71CONFIGURE_FLAGS=iconv=no sax1=yes
71CONFIGURE_FLAGS=iconv=no sax1=yes lzma=no
72.IF "$(debug)"!=""
73CONFIGURE_FLAGS+=debug=yes
74.ENDIF
75BUILD_ACTION=nmake
76BUILD_DIR=$(CONFIGURE_DIR)
77.ENDIF
78.ELSE
79.IF "$(SYSBASE)"!=""
80xml2_CFLAGS+=-I$(SYSBASE)$/usr$/include
81.IF "$(COMNAME)"=="sunpro5"
82xml2_CFLAGS+=$(ARCH_FLAGS) $(C_RESTRICTIONFLAGS)
83.ENDIF # "$(COMNAME)"=="sunpro5"
84xml2_LDFLAGS+=-L$(SYSBASE)$/usr$/lib
85.ENDIF # "$(SYSBASE)"!=""
86
87CONFIGURE_DIR=
88.IF "$(OS)"=="OS2"
89CONFIGURE_ACTION=sh .$/configure
72.IF "$(debug)"!=""
73CONFIGURE_FLAGS+=debug=yes
74.ENDIF
75BUILD_ACTION=nmake
76BUILD_DIR=$(CONFIGURE_DIR)
77.ENDIF
78.ELSE
79.IF "$(SYSBASE)"!=""
80xml2_CFLAGS+=-I$(SYSBASE)$/usr$/include
81.IF "$(COMNAME)"=="sunpro5"
82xml2_CFLAGS+=$(ARCH_FLAGS) $(C_RESTRICTIONFLAGS)
83.ENDIF # "$(COMNAME)"=="sunpro5"
84xml2_LDFLAGS+=-L$(SYSBASE)$/usr$/lib
85.ENDIF # "$(SYSBASE)"!=""
86
87CONFIGURE_DIR=
88.IF "$(OS)"=="OS2"
89CONFIGURE_ACTION=sh .$/configure
90CONFIGURE_FLAGS=--enable-ipv6=no --without-python --without-zlib --enable-static=yes --with-sax1=yes ADDCFLAGS="$(xml2_CFLAGS)" CFLAGS="$(EXTRA_CFLAGS)" LDFLAGS="$(xml2_LDFLAGS) $(EXTRA_LINKFLAGS)"
90CONFIGURE_FLAGS=--enable-ipv6=no --without-python --without-zlib --without-lzma --enable-static=yes --with-sax1=yes ADDCFLAGS="$(xml2_CFLAGS)" CFLAGS="$(EXTRA_CFLAGS)" LDFLAGS="$(xml2_LDFLAGS) $(EXTRA_LINKFLAGS)"
91.ELSE
92CONFIGURE_ACTION=.$/configure
91.ELSE
92CONFIGURE_ACTION=.$/configure
93CONFIGURE_FLAGS=--enable-ipv6=no --without-python --without-zlib --enable-static=no --with-sax1=yes ADDCFLAGS="$(xml2_CFLAGS) $(EXTRA_CFLAGS)" LDFLAGS="$(xml2_LDFLAGS) $(EXTRA_LINKFLAGS)"
93CONFIGURE_FLAGS=--enable-ipv6=no --without-python --without-zlib --without-lzma --enable-static=no --with-sax1=yes ADDCFLAGS="$(xml2_CFLAGS) $(EXTRA_CFLAGS)" LDFLAGS="$(xml2_LDFLAGS) $(EXTRA_LINKFLAGS)"
94.ENDIF
95BUILD_ACTION=$(GNUMAKE)
96BUILD_FLAGS+= -j$(EXTMAXPROCESS)
97BUILD_DIR=$(CONFIGURE_DIR)
98.ENDIF
99
100
101OUTDIR2INC=include$/libxml

--- 29 unchanged lines hidden ---
94.ENDIF
95BUILD_ACTION=$(GNUMAKE)
96BUILD_FLAGS+= -j$(EXTMAXPROCESS)
97BUILD_DIR=$(CONFIGURE_DIR)
98.ENDIF
99
100
101OUTDIR2INC=include$/libxml

--- 29 unchanged lines hidden ---