(file) Return to Makefile CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / ControlProviders / CertificateProvider

 1 karl  1.4 #//%2006////////////////////////////////////////////////////////////////////////
 2 martin 1.3 #//
 3            #// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
 4            #// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
 5            #// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
 6            #// IBM Corp.; EMC Corporation, The Open Group.
 7            #// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
 8            #// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
 9            #// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
10            #// EMC Corporation; VERITAS Software Corporation; The Open Group.
11 karl   1.4 #// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
12            #// EMC Corporation; Symantec Corporation; The Open Group.
13 martin 1.3 #//
14            #// Permission is hereby granted, free of charge, to any person obtaining a copy
15            #// of this software and associated documentation files (the "Software"), to
16            #// deal in the Software without restriction, including without limitation the
17            #// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
18            #// sell copies of the Software, and to permit persons to whom the Software is
19            #// furnished to do so, subject to the following conditions:
20            #// 
21            #// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
22            #// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
23            #// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
24            #// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
25            #// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
26            #// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
27            #// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28            #// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29            #//
30            #//==============================================================================
31 h.sterling 1.1 # Makes the dynamic load libs for the files named in DIR
32                ROOT = ../../../..
33                
34                DIR = Pegasus/ControlProviders/CertificateProvider
35                
36                include $(ROOT)/mak/config.mak
37                
38                ifdef PEGASUS_HAS_SSL
39 carson.hovey 1.13     ifdef OPENSSL_HOME
40                           SYS_INCLUDES += -I$(OPENSSL_HOME)/include
41                       endif
42 karl         1.7  else
43 carson.hovey 1.13     $(error PEGASUS_HAS_SSL not defined)
44 h.sterling   1.1  endif
45                   
46                   LOCAL_DEFINES = -DPEGASUS_CERTIFICATEPROVIDER_INTERNAL -DPEGASUS_INTERNALONLY
47                   
48 carson.hovey 1.13 ifeq ($(OS_TYPE),vms)
49                       STATIC=1
50                   endif
51                   
52 h.sterling   1.1  LIBRARY = CertificateProvider
53                   
54                   LIBRARIES = \
55 carson.hovey 1.14     pegrepository \
56                       pegprovider \
57 carson.hovey 1.13     pegconfig \
58 carson.hovey 1.14     pegcommon
59 h.sterling   1.1  
60 ouyang.jian  1.12 ifeq ($(PEGASUS_PLATFORM),PASE_ISERIES_IBMCXX)
61 carson.hovey 1.13     LIBRARIES += ILEWrapperUtils
62 ouyang.jian  1.12 endif
63                   
64 h.sterling   1.1  SOURCES = CertificateProvider.cpp
65                   
66                   ifeq ($(PEGASUS_SUPPORTS_DYNLIB),yes)
67 carson.hovey 1.13     NEEDS_LIBRARIES = -L$(LIB_DIR) -lpegcommon -lpegconfig -lpegprovider
68 h.sterling   1.1  endif
69                   
70 denise.eckstein 1.9  ifdef PEGASUS_HAS_SSL
71 carson.hovey    1.13     ifeq ($(OS_TYPE),windows)
72                              SYS_LIBS += /libpath:$(OPENSSL_HOME)/lib libeay32.lib ssleay32.lib
73                          else
74                              ifdef OPENSSL_HOME
75                                  EXTRA_LIBRARIES += -L$(OPENSSL_HOME)/lib
76                              endif
77                              EXTRA_LIBRARIES += -lssl -lcrypto
78 denise.eckstein 1.9      endif
79 h.sterling      1.1  endif
80                      
81                      ifeq ($(PEGASUS_PLATFORM),AIX_RS_IBMCXX)
82 carson.hovey    1.13     AIX_LIB_PRIORITY=-20
83 h.sterling      1.1  endif
84                      
85 ouyang.jian     1.12 ifeq ($(PEGASUS_PLATFORM),PASE_ISERIES_IBMCXX)
86 carson.hovey    1.13     AIX_LIB_PRIORITY=-20
87 ouyang.jian     1.12 endif
88                      
89 a.dunfey        1.6  ifeq ($(OS_TYPE),windows)
90 carson.hovey    1.13     SYS_LIBS += ws2_32.lib advapi32.lib netapi32.lib
91 h.sterling      1.1  endif
92                      
93 carson.hovey    1.13 include $(ROOT)/mak/dynamic-library.mak

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2