![]() ![]() |
![]() |
File: [Pegasus] / pegasus / src / Pegasus / Client / Makefile
(download)
Revision: 1.17, Thu Apr 29 07:39:20 2004 UTC (20 years, 2 months ago) by marek Branch: MAIN Changes since 1.16: +3 -2 lines BUG#: 1415 TITLE: Casting error in CIMClientRep.cpp DESCRIPTION: I removed the call to inet_addr for those platforms requiring a (char *) as first parameter for gethostbyaddr() as those expect a string of type "x.x.x.x" (i.e. hostname) as input parameter. Moved the libraries required for call gethostbyaddr() out of the SLP only condition part. |
ROOT = ../../.. DIR = Pegasus/Client include $(ROOT)/mak/config.mak ifdef PEGASUS_HAS_SSL FLAGS += -DPEGASUS_HAS_SSL -DPEGASUS_SSL_RANDOMFILE SYS_INCLUDES += -I$(OPENSSL_HOME)/include endif ifdef PEGASUS_ENABLE_SLP FLAGS += -DPEGASUS_SLP_CLIENT_INTERFACE_WRAPPER endif EXTRA_INCLUDES = $(SYS_INCLUDES) LOCAL_DEFINES = -DPEGASUS_CLIENT_INTERNAL -DPEGASUS_INTERNALONLY LIBRARY = pegclient LIBRARIES = \ pegcommon PRE_DEPEND_INCLUDES = -I./depends SOURCES = \ CIMClientRep.cpp \ CIMClient.cpp \ CIMOperationRequestEncoder.cpp \ CIMOperationResponseDecoder.cpp \ ClientAuthenticator.cpp \ CIMClientException.cpp SOURCES_SLP = \ Attribute.cpp \ CIMServerDescription.cpp \ CIMServerDiscovery.cpp ifdef PEGASUS_ENABLE_SLP SOURCES += $(SOURCES_SLP) endif OBJECTS = $(SOURCES:.cpp=$(OBJ)) ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC) SYS_LIBS = ws2_32.lib advapi32.lib ifdef PEGASUS_ENABLE_SLP SYS_LIBS += $(PEGASUS_HOME)/lib/slp_client.lib endif endif include $(ROOT)/mak/library.mak
No CVS admin address has been configured |
Powered by ViewCVS 0.9.2 |