makefile.mk (5b11f0d3) | makefile.mk (08bb353f) |
---|---|
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 --- 30 unchanged lines hidden (view full) --- 39 40.IF "$(ENABLE_NSS_MODULE)"!="YES" 41@all: 42 @echo "No nss -> no libxmlsec -> no xmlsecurity/nss" 43.ENDIF 44 45.IF "$(SYSTEM_NSS)" != "YES" 46MOZ_INC = $(SOLARVERSION)$/$(INPATH)$/inc$(UPDMINOREXT)$/mozilla | 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 --- 30 unchanged lines hidden (view full) --- 39 40.IF "$(ENABLE_NSS_MODULE)"!="YES" 41@all: 42 @echo "No nss -> no libxmlsec -> no xmlsecurity/nss" 43.ENDIF 44 45.IF "$(SYSTEM_NSS)" != "YES" 46MOZ_INC = $(SOLARVERSION)$/$(INPATH)$/inc$(UPDMINOREXT)$/mozilla |
47NSS_INC = $(MOZ_INC)$/nss 48NSPR_INC = $(MOZ_INC)$/nspr | 47NSS_CFLAGS = -I$(MOZ_INC)$/nss 48NSPR_CFLAGS = -I$(MOZ_INC)$/nspr |
49.ELIF "$(GUI)" == "OS2" | 49.ELIF "$(GUI)" == "OS2" |
50NSS_INC = /@unixroot/usr/include/nss3 51NSPR_INC = /@unixroot/usr/include/nspr4 52.ELSE 53# TODO: better use pkgconfig to find the proper system include path 54NSS_INC = /usr/include/nss3 55NSPR_INC = /usr/include/nspr4 | 50NSS_CFLAGS = -I/@unixroot/usr/include/nss3 51NSPR_CFLAGS = I/@unixroot/usr/include/nspr4 |
56.ENDIF 57 58.IF "$(GUI)" == "WNT" 59.IF "$(DBG_LEVEL)" == "0" 60INCPRE += \ 61-I$(MOZ_INC)$/profile \ 62-I$(MOZ_INC)$/string \ 63-I$(MOZ_INC)$/embed_base --- 39 unchanged lines hidden (view full) --- 103CDEFS += -DXMLSEC_CRYPTO_NSS 104.ENDIF 105 106CDEFS += -DXMLSEC_NO_XSLT 107 108# --- Files -------------------------------------------------------- 109 110SOLARINC += \ | 52.ENDIF 53 54.IF "$(GUI)" == "WNT" 55.IF "$(DBG_LEVEL)" == "0" 56INCPRE += \ 57-I$(MOZ_INC)$/profile \ 58-I$(MOZ_INC)$/string \ 59-I$(MOZ_INC)$/embed_base --- 39 unchanged lines hidden (view full) --- 99CDEFS += -DXMLSEC_CRYPTO_NSS 100.ENDIF 101 102CDEFS += -DXMLSEC_NO_XSLT 103 104# --- Files -------------------------------------------------------- 105 106SOLARINC += \ |
111 -I$(NSPR_INC) \ | 107 $(NSPR_CFLAGS) \ |
112 -I$(PRJ)$/source$/xmlsec 113 | 108 -I$(PRJ)$/source$/xmlsec 109 |
114SOLARINC += -I$(NSS_INC) | 110SOLARINC += $(NSS_CFLAGS) |
115 116SLOFILES = \ 117 $(SLO)$/nssinitializer.obj \ 118 $(SLO)$/digestcontext.obj \ 119 $(SLO)$/ciphercontext.obj \ 120 $(SLO)$/xsec_nss.obj 121 122.IF "$(CRYPTO_ENGINE)" == "nss" --- 15 unchanged lines hidden --- | 111 112SLOFILES = \ 113 $(SLO)$/nssinitializer.obj \ 114 $(SLO)$/digestcontext.obj \ 115 $(SLO)$/ciphercontext.obj \ 116 $(SLO)$/xsec_nss.obj 117 118.IF "$(CRYPTO_ENGINE)" == "nss" --- 15 unchanged lines hidden --- |