MAKEBUNDLE=1
include $(top_srcdir)/Makefile-shared-lib.inc
check-local : all-ow-shared-libs
clean-local : clean-ow-shared-libs


check_LIBRARIES = \
liblaptopbat.a \
liblinuxprocess.a \
librpmip.a \
libtestinstance.a \
libinfiniteip.a


OW_SHARED_LIBS = \
liblaptopbat.$(LIB_EXT) \
liblinuxprocess.$(LIB_EXT) \
librpmip.$(LIB_EXT) \
libtestinstance.$(LIB_EXT) \
libinfiniteip.$(LIB_EXT)

# increment this number every time a release breaks binary compatibility
LIBRARY_BINARY_VERSION = $(OPENWBEM_LIBRARY_VERSION)

libinfiniteip_a_SOURCES = \
OW_Infinity.cpp

liblaptopbat_a_SOURCES = \
OW_LaptopBattery.cpp

liblinuxprocess_a_SOURCES = \
OW_LinuxProcess.cpp

librpmip_a_SOURCES = \
OW_RPM.cpp

libtestinstance_a_SOURCES = \
testinstance.cpp

EXTRA_DIST = \
demo_device.mof \
demo.mof \
demo_system.mof \
LaptopBattery.mof \
InfiniteInstances.mof \
LinuxProcess.mof \
SoftwarePackage.mof \
testinstance.mof

INCLUDES = \
-I$(top_srcdir)/src/common -I$(top_srcdir)/src/thread -I$(top_srcdir)/src \
-I$(top_srcdir)/src/cim \
-I$(top_srcdir)/src/cimom/server \
-I$(top_srcdir)/src/client \
-I$(top_srcdir)/src/providerifcs/cpp \
-I$(top_srcdir)/src/provider \
-I$(top_srcdir)/src/ifcs \
-I$(top_srcdir)/src/common/socket \
-I$(top_srcdir)/src/cimom/common

SHAREDLIBADD = \
-L$(top_builddir)/src/common -lopenwbem \
-L$(top_builddir)/src/cimom/server -lowserver \
-L$(top_builddir)/src/client -lowclient \
-L$(top_builddir)/src/provider -lowprovider \
-L$(top_builddir)/src/providerifcs/cpp -lowcppprovifc \
-L$(top_builddir)/src/xml -lowxml \
-L$(top_builddir)/src/http/common -lowhttpcommon \
-L$(top_builddir)/src/http/client -lowhttpclient
