makefile.mk (96e0c447) | makefile.mk (0a2e1b2f) |
---|---|
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 --- 81 unchanged lines hidden (view full) --- 90xmlsec_CC+=-shared-libgcc 91.ENDIF 92xmlsec_LIBS= 93.IF "$(MINGW_SHARED_GXXLIB)"=="YES" 94xmlsec_LIBS+=$(MINGW_SHARED_LIBSTDCPP) 95.ENDIF 96CONFIGURE_DIR= 97CONFIGURE_ACTION=.$/configure | 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 --- 81 unchanged lines hidden (view full) --- 90xmlsec_CC+=-shared-libgcc 91.ENDIF 92xmlsec_LIBS= 93.IF "$(MINGW_SHARED_GXXLIB)"=="YES" 94xmlsec_LIBS+=$(MINGW_SHARED_LIBSTDCPP) 95.ENDIF 96CONFIGURE_DIR= 97CONFIGURE_ACTION=.$/configure |
98CONFIGURE_FLAGS=--with-libxslt=no --with-openssl=no --with-gnutls=no --with-mozilla_ver=1.7.5 --enable-mscrypto --disable-crypto-dl --build=i586-pc-mingw32 --host=i586-pc-mingw32 CC="$(xmlsec_CC)" LDFLAGS="-no-undefined -L$(ILIB:s/;/ -L/)" LIBS="$(xmlsec_LIBS)" LIBXML2LIB=$(LIBXML2LIB) ZLIB3RDLIB=$(ZLIB3RDLIB) OBJDUMP="$(WRAPCMD) objdump" | 98CONFIGURE_FLAGS=--with-libxslt=no --with-openssl=no --with-gnutls=no --enable-mscrypto --disable-crypto-dl --build=i586-pc-mingw32 --host=i586-pc-mingw32 CC="$(xmlsec_CC)" LDFLAGS="-no-undefined -L$(ILIB:s/;/ -L/)" LIBS="$(xmlsec_LIBS)" LIBXML2LIB=$(LIBXML2LIB) ZLIB3RDLIB=$(ZLIB3RDLIB) OBJDUMP="$(WRAPCMD) objdump" |
99 | 99 |
100.IF "$(SYSTEM_MOZILLA)" != "YES" | 100.IF "$(SYSTEM_NSS)" != "YES" |
101CONFIGURE_FLAGS+=--enable-pkgconfig=no 102.ENDIF 103BUILD_ACTION=$(GNUMAKE) -j$(EXTMAXPROCESS) 104BUILD_DIR=$(CONFIGURE_DIR) 105.ELSE 106CONFIGURE_DIR=win32 107CONFIGURE_ACTION=cscript configure.js 108.IF "$(product)"!="full" && "$(CCNUMVER)" >= "001399999999" --- 34 unchanged lines hidden (view full) --- 143 144LDFLAGS:=$(xmlsec_LDFLAGS) 145.EXPORT: LDFLAGS 146 147.ENDIF 148CONFIGURE_DIR= 149CONFIGURE_ACTION=.$/configure ADDCFLAGS="$(xmlsec_CFLAGS)" CPPFLAGS="$(xmlsec_CPPFLAGS)" 150CONFIGURE_FLAGS=--with-pic --disable-shared --disable-crypto-dl --with-libxslt=no --with-openssl=no --with-gnutls=no LIBXML2LIB="$(LIBXML2LIB)" | 101CONFIGURE_FLAGS+=--enable-pkgconfig=no 102.ENDIF 103BUILD_ACTION=$(GNUMAKE) -j$(EXTMAXPROCESS) 104BUILD_DIR=$(CONFIGURE_DIR) 105.ELSE 106CONFIGURE_DIR=win32 107CONFIGURE_ACTION=cscript configure.js 108.IF "$(product)"!="full" && "$(CCNUMVER)" >= "001399999999" --- 34 unchanged lines hidden (view full) --- 143 144LDFLAGS:=$(xmlsec_LDFLAGS) 145.EXPORT: LDFLAGS 146 147.ENDIF 148CONFIGURE_DIR= 149CONFIGURE_ACTION=.$/configure ADDCFLAGS="$(xmlsec_CFLAGS)" CPPFLAGS="$(xmlsec_CPPFLAGS)" 150CONFIGURE_FLAGS=--with-pic --disable-shared --disable-crypto-dl --with-libxslt=no --with-openssl=no --with-gnutls=no LIBXML2LIB="$(LIBXML2LIB)" |
151# system-mozilla needs pkgconfig to get the information about nss | 151# system-nss needs pkgconfig to get the information about nss |
152# FIXME: This also will enable pkg-config usage for libxml2. It *seems* 153# that the internal headers still are used when they are there but.... 154# (and that pkg-config is allowed to fail...) 155# I have no real good idea how to get mozilla (nss) pkg-config'ed and libxml2 156# not... We need mozilla-nss pkg-config'ed since we can *not* just use 157# --with-nss or parse -pkg-config --libs / cflags mozilla-nss since 158# the lib may a) be in /usr/lib (Debian) and be not in $with_nss/include 159# $with_nss/lib. | 152# FIXME: This also will enable pkg-config usage for libxml2. It *seems* 153# that the internal headers still are used when they are there but.... 154# (and that pkg-config is allowed to fail...) 155# I have no real good idea how to get mozilla (nss) pkg-config'ed and libxml2 156# not... We need mozilla-nss pkg-config'ed since we can *not* just use 157# --with-nss or parse -pkg-config --libs / cflags mozilla-nss since 158# the lib may a) be in /usr/lib (Debian) and be not in $with_nss/include 159# $with_nss/lib. |
160.IF "$(SYSTEM_MOZILLA)" != "YES" | 160.IF "$(SYSTEM_NSS)" != "YES" |
161CONFIGURE_FLAGS+=--enable-pkgconfig=no 162.ENDIF 163BUILD_ACTION=$(GNUMAKE) -j$(EXTMAXPROCESS) 164BUILD_DIR=$(CONFIGURE_DIR) 165.ENDIF 166 167 168OUTDIR2INC=include$/xmlsec --- 20 unchanged lines hidden --- | 161CONFIGURE_FLAGS+=--enable-pkgconfig=no 162.ENDIF 163BUILD_ACTION=$(GNUMAKE) -j$(EXTMAXPROCESS) 164BUILD_DIR=$(CONFIGURE_DIR) 165.ENDIF 166 167 168OUTDIR2INC=include$/xmlsec --- 20 unchanged lines hidden --- |