version 1.3, 2005/05/12 15:29:46
|
version 1.8, 2007/07/03 17:46:15
|
|
|
#//%2005//////////////////////////////////////////////////////////////////////// |
#//%2006//////////////////////////////////////////////////////////////////////// |
#// | #// |
#// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development | #// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
#// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. | #// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
|
|
#// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. | #// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
#// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; | #// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
#// EMC Corporation; VERITAS Software Corporation; The Open Group. | #// EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
#// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
#// EMC Corporation; Symantec Corporation; The Open Group. |
#// | #// |
#// Permission is hereby granted, free of charge, to any person obtaining a copy | #// Permission is hereby granted, free of charge, to any person obtaining a copy |
#// of this software and associated documentation files (the "Software"), to | #// of this software and associated documentation files (the "Software"), to |
|
|
include $(ROOT)/mak/config.mak | include $(ROOT)/mak/config.mak |
| |
ifdef PEGASUS_HAS_SSL | ifdef PEGASUS_HAS_SSL |
FLAGS += -DPEGASUS_HAS_SSL -DPEGASUS_SSL_RANDOMFILE |
|
SYS_INCLUDES += -I$(OPENSSL_HOME)/include | SYS_INCLUDES += -I$(OPENSSL_HOME)/include |
|
else |
|
$(error PEGASUS_HAS_SSL not defined) |
endif | endif |
| |
LOCAL_DEFINES = -DPEGASUS_CERTIFICATEPROVIDER_INTERNAL -DPEGASUS_INTERNALONLY | LOCAL_DEFINES = -DPEGASUS_CERTIFICATEPROVIDER_INTERNAL -DPEGASUS_INTERNALONLY |
|
|
EXTRA_LIBRARIES += -lcrypt | EXTRA_LIBRARIES += -lcrypt |
ifdef PEGASUS_HAS_SSL | ifdef PEGASUS_HAS_SSL |
EXTRA_LIBRARIES += -L$(OPENSSL_HOME)/lib -lssl -lcrypto | EXTRA_LIBRARIES += -L$(OPENSSL_HOME)/lib -lssl -lcrypto |
EXTRA_LINK_ARGUMENTS = -Xlinker -rpath -Xlinker $(OPENSSL_HOME)/lib |
|
endif | endif |
endif | endif |
| |
|
|
endif | endif |
endif | endif |
| |
ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC) |
ifeq ($(OS_TYPE),windows) |
SYS_LIBS = ws2_32.lib advapi32.lib netapi32.lib | SYS_LIBS = ws2_32.lib advapi32.lib netapi32.lib |
ifdef PEGASUS_HAS_SSL | ifdef PEGASUS_HAS_SSL |
SYS_LIBS += /libpath:$(OPENSSL_HOME)/lib libeay32.lib ssleay32.lib | SYS_LIBS += /libpath:$(OPENSSL_HOME)/lib libeay32.lib ssleay32.lib |