(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.12.4.1     ifdef OPENSSL_HOME
40                               SYS_INCLUDES += -I$(OPENSSL_HOME)/include
41                           endif
42 karl         1.7      else
43 carson.hovey 1.12.4.1     $(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.12.4.1 ifeq ($(OS_TYPE),vms)
49                           STATIC=1
50                       endif
51                       
52 h.sterling   1.1      LIBRARY = CertificateProvider
53                       
54                       LIBRARIES = \
55 carson.hovey 1.12.4.1     pegcommon \
56                           pegconfig \
57                           pegprovider
58 h.sterling   1.1      
59 ouyang.jian  1.12     ifeq ($(PEGASUS_PLATFORM),PASE_ISERIES_IBMCXX)
60 carson.hovey 1.12.4.1     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.12.4.1     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.12.4.1     ifeq ($(OS_TYPE),windows)
71                                  SYS_LIBS += /libpath:$(OPENSSL_HOME)/lib libeay32.lib ssleay32.lib
72                              else
73                                  ifdef OPENSSL_HOME
74                                      EXTRA_LIBRARIES += -L$(OPENSSL_HOME)/lib
75                                  endif
76                                  EXTRA_LIBRARIES += -lssl -lcrypto
77 denise.eckstein 1.9          endif
78 h.sterling      1.1      endif
79                          
80                          ifeq ($(PEGASUS_PLATFORM),AIX_RS_IBMCXX)
81 carson.hovey    1.12.4.1     AIX_LIB_PRIORITY=-20
82 h.sterling      1.1      endif
83                          
84 ouyang.jian     1.12     ifeq ($(PEGASUS_PLATFORM),PASE_ISERIES_IBMCXX)
85 carson.hovey    1.12.4.1     AIX_LIB_PRIORITY=-20
86 ouyang.jian     1.12     endif
87                          
88 a.dunfey        1.6      ifeq ($(OS_TYPE),windows)
89 carson.hovey    1.12.4.1     SYS_LIBS += ws2_32.lib advapi32.lib netapi32.lib
90 h.sterling      1.1      endif
91                          
92 carson.hovey    1.12.4.1 include $(ROOT)/mak/dynamic-library.mak

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2