1 martin 1.16 #//%LICENSE////////////////////////////////////////////////////////////////
|
2 martin 1.17 #//
|
3 martin 1.16 #// Licensed to The Open Group (TOG) under one or more contributor license
4 #// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
5 #// this work for additional information regarding copyright ownership.
6 #// Each contributor licenses this file to you under the OpenPegasus Open
7 #// Source License; you may not use this file except in compliance with the
8 #// License.
|
9 martin 1.17 #//
|
10 martin 1.16 #// Permission is hereby granted, free of charge, to any person obtaining a
11 #// copy of this software and associated documentation files (the "Software"),
12 #// to deal in the Software without restriction, including without limitation
13 #// the rights to use, copy, modify, merge, publish, distribute, sublicense,
14 #// and/or sell copies of the Software, and to permit persons to whom the
15 #// Software is furnished to do so, subject to the following conditions:
|
16 martin 1.17 #//
|
17 martin 1.16 #// The above copyright notice and this permission notice shall be included
18 #// in all copies or substantial portions of the Software.
|
19 martin 1.17 #//
|
20 martin 1.16 #// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
21 martin 1.17 #// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
22 martin 1.16 #// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
23 #// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
24 #// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
25 #// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
26 #// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
27 martin 1.17 #//
|
28 martin 1.16 #//////////////////////////////////////////////////////////////////////////
|
29 h.sterling 1.1 # Makes the dynamic load libs for the files named in DIR
30 ROOT = ../../../..
31
32 DIR = Pegasus/ControlProviders/CertificateProvider
33
34 include $(ROOT)/mak/config.mak
35
36 ifdef PEGASUS_HAS_SSL
|
37 carson.hovey 1.13 ifdef OPENSSL_HOME
38 SYS_INCLUDES += -I$(OPENSSL_HOME)/include
39 endif
|
40 karl 1.7 else
|
41 carson.hovey 1.13 $(error PEGASUS_HAS_SSL not defined)
|
42 h.sterling 1.1 endif
43
44 LOCAL_DEFINES = -DPEGASUS_CERTIFICATEPROVIDER_INTERNAL -DPEGASUS_INTERNALONLY
45
|
46 carson.hovey 1.13 ifeq ($(OS_TYPE),vms)
47 STATIC=1
48 endif
49
|
50 h.sterling 1.1 LIBRARY = CertificateProvider
51
52 LIBRARIES = \
|
53 carson.hovey 1.14 pegrepository \
54 pegprovider \
|
55 carson.hovey 1.13 pegconfig \
|
56 thilo.boehm 1.18 peggeneral \
|
57 carson.hovey 1.14 pegcommon
|
58 h.sterling 1.1
|
59 ouyang.jian 1.12 ifeq ($(PEGASUS_PLATFORM),PASE_ISERIES_IBMCXX)
|
60 carson.hovey 1.13 LIBRARIES += ILEWrapperUtils
|
61 ouyang.jian 1.12 endif
62
|
63 h.sterling 1.1 SOURCES = CertificateProvider.cpp
64
65 ifeq ($(PEGASUS_SUPPORTS_DYNLIB),yes)
|
66 carson.hovey 1.13 NEEDS_LIBRARIES = -L$(LIB_DIR) -lpegcommon -lpegconfig -lpegprovider
|
67 h.sterling 1.1 endif
68
|
69 denise.eckstein 1.9 ifdef PEGASUS_HAS_SSL
|
70 carson.hovey 1.13 ifeq ($(OS_TYPE),windows)
71 SYS_LIBS += /libpath:$(OPENSSL_HOME)/lib libeay32.lib ssleay32.lib
72 else
|
73 john.eisenbraun 1.15 ifeq ($(OS_TYPE),vms)
74 EXTRA_LIBRARIES += -L$(OPENSSL_LIB) \
75 -lssl$$libssl_shr32 -lssl$$libcrypto_shr32
76 else
77 ifdef OPENSSL_HOME
78 EXTRA_LIBRARIES += -L$(OPENSSL_HOME)/lib
79 endif
80 EXTRA_LIBRARIES += -lssl -lcrypto
|
81 carson.hovey 1.13 endif
|
82 denise.eckstein 1.9 endif
|
83 h.sterling 1.1 endif
84
85 ifeq ($(PEGASUS_PLATFORM),AIX_RS_IBMCXX)
|
86 carson.hovey 1.13 AIX_LIB_PRIORITY=-20
|
87 h.sterling 1.1 endif
88
|
89 ouyang.jian 1.12 ifeq ($(PEGASUS_PLATFORM),PASE_ISERIES_IBMCXX)
|
90 carson.hovey 1.13 AIX_LIB_PRIORITY=-20
|
91 ouyang.jian 1.12 endif
92
|
93 a.dunfey 1.6 ifeq ($(OS_TYPE),windows)
|
94 carson.hovey 1.13 SYS_LIBS += ws2_32.lib advapi32.lib netapi32.lib
|
95 h.sterling 1.1 endif
96
|
97 carson.hovey 1.13 include $(ROOT)/mak/dynamic-library.mak
|