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

File: [Pegasus] / pegasus / src / Pegasus / Client / Makefile (download)
Revision: 1.16.2.3, Mon Mar 22 21:33:42 2004 UTC (20 years, 3 months ago) by tony
Branch: RELEASE_2_3_2-branch
CVS Tags: RELEASE_2_3_2-testfreeze, RELEASE_2_3_2-releasesnapshot, RELEASE_2_3_2-branch-freeze
Changes since 1.16.2.2: +2 -2 lines
BUG#: 1297
BRANCH: RELEASE_2_3_2-branch
TITLE: SLP library name conflicts in windows
DESCRIPTION: Rename slp to pegslp and rename slp_client to pegslp_client

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

ifdef PEGASUS_ENABLE_SLP
ifneq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)
LIBRARIES += pegslp_client
endif
endif

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))

include $(ROOT)/mak/library.mak

ifdef PEGASUS_ENABLE_SLP
$(SOURCES): slp_client
slp_client :
	@ $(MAKE) -SC $(ROOT)/src/slp/slp_client
ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)
SYS_LIBS = $(PEGASUS_HOME)/lib/pegslp_client.lib ws2_32.lib advapi32.lib
endif
endif


No CVS admin address has been configured
Powered by
ViewCVS 0.9.2