makefile.mk (7871dc3e) makefile.mk (2d019523)
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

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

40
41.IF "$(L10N_framework)"==""
42
43.INCLUDE : libxsltversion.mk
44
45LIBXSLTVERSION=$(LIBXSLT_MAJOR).$(LIBXSLT_MINOR).$(LIBXSLT_MICRO)
46
47TARFILE_NAME=$(PRJNAME)-$(LIBXSLTVERSION)
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

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

40
41.IF "$(L10N_framework)"==""
42
43.INCLUDE : libxsltversion.mk
44
45LIBXSLTVERSION=$(LIBXSLT_MAJOR).$(LIBXSLT_MINOR).$(LIBXSLT_MICRO)
46
47TARFILE_NAME=$(PRJNAME)-$(LIBXSLTVERSION)
48TARFILE_MD5=e61d0364a30146aaa3001296f853b2b9
48TARFILE_MD5=1fc72f98e98bf4443f1651165f3aa146
49
50# libxslt-internal-symbols: #i112480#: Solaris ld requires symbols to be defined
51PATCH_FILES=libxslt-configure.patch \
49
50# libxslt-internal-symbols: #i112480#: Solaris ld requires symbols to be defined
51PATCH_FILES=libxslt-configure.patch \
52 libxslt-bsd.patch \
53 libxslt-win_manifest.patch \
52 libxslt-win_manifest.patch \
54 libxslt-mingw.patch \
55 libxslt-internal-symbols.patch
53 libxslt-CVE-2015-7995.patch
56
57
54
55
56
58# This is only for UNX environment now
59.IF "$(OS)"=="WNT"
60.IF "$(COM)"=="GCC"
61xslt_CC=$(CC) -mthreads
62.IF "$(MINGW_SHARED_GCCLIB)"=="YES"
63xslt_CC+=-shared-libgcc
64.ENDIF
65xslt_LIBS=

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

105.EXPORT: LDFLAGS
106.EXPORT: LIBXML2LIB
107
108.IF "$(COMNAME)"=="sunpro5"
109CPPFLAGS+:=$(ARCH_FLAGS) -xc99=none
110.ENDIF # "$(COMNAME)"=="sunpro5"
111CONFIGURE_DIR=
112CONFIGURE_ACTION=.$/configure
57# This is only for UNX environment now
58.IF "$(OS)"=="WNT"
59.IF "$(COM)"=="GCC"
60xslt_CC=$(CC) -mthreads
61.IF "$(MINGW_SHARED_GCCLIB)"=="YES"
62xslt_CC+=-shared-libgcc
63.ENDIF
64xslt_LIBS=

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

104.EXPORT: LDFLAGS
105.EXPORT: LIBXML2LIB
106
107.IF "$(COMNAME)"=="sunpro5"
108CPPFLAGS+:=$(ARCH_FLAGS) -xc99=none
109.ENDIF # "$(COMNAME)"=="sunpro5"
110CONFIGURE_DIR=
111CONFIGURE_ACTION=.$/configure
113CONFIGURE_FLAGS=--enable-ipv6=no --without-crypto --without-python --enable-static=no --with-sax1=yes
112CONFIGURE_FLAGS=--enable-ipv6=no --without-crypto --without-python --enable-static=no --with-sax1=yes ac_cv_func_clock_gettime=false
114BUILD_ACTION=chmod 777 xslt-config && $(GNUMAKE)
115BUILD_FLAGS+= -j$(EXTMAXPROCESS)
116BUILD_DIR=$(CONFIGURE_DIR)
117.ENDIF
118
119OUT2INC=libxslt$/*.h
120
121.IF "$(OS)"=="MACOSX"

--- 30 unchanged lines hidden ---
113BUILD_ACTION=chmod 777 xslt-config && $(GNUMAKE)
114BUILD_FLAGS+= -j$(EXTMAXPROCESS)
115BUILD_DIR=$(CONFIGURE_DIR)
116.ENDIF
117
118OUT2INC=libxslt$/*.h
119
120.IF "$(OS)"=="MACOSX"

--- 30 unchanged lines hidden ---