
include $(top_srcdir)/config/all.mk


# content of SUBDIRS is compiled in obs_ctrl
# SUBDIRS = stagesX stagesXY wheels
#Interface Service


etcdir=$(sysconfdir)
dist_etc_DATA =

#
# http://sources.redhat.com/automake/automake.html#Program-and-Library-Variables
#
lib_LIBRARIES =

# lib_LIBRARIES += libindiIF_sharknir.a

# libindiIF_sharknir_adir = $(includedir)

# libindiIF_sharknir_a_SOURCES = indiClient.cpp indiIF.cpp

# libindiIF_sharknir_a_LIBADD = $(BOOST_SYSTEM_LIB) \
# $(ICE_LIBS)  \
# $(NICE_LIBS) \
# $(INDI_LIBS)

# libindiIF_sharknir_a_LDFLAGS = $(BOOST_LDFLAGS) \
#  $(ICE_LDFLAGS)  \
#  $(NICE_LDFLAGS) \
#  $(INDI_LDFLAGS)

# libindiIF_sharknir_a_CXXFLAGS = -I. $(BOOST_CPPFLAGS) \
#  $(ICE_CXXFLAGS) \
#  $(NICE_CXXFLAGS) \
#  $(INDI_CXXFLAGS)



#
# http://sources.redhat.com/automake/automake.html#A-Library
#

# static library example:
# lib_LIBRARIES = libXXX.a
# nodist_libXXX_a_SOURCES = XXX.cc
# libXXX_a_SOURCES = XXX.cc
# libXXX_adir = $(includedir)
# libXXX_a_HEADERS =  XXX.h

# lib_LTLIBRARIES = libIndiIF_SharknirType.la
# libIndiIF_SharknirType_ladir = $(includedir)
# libIndiIF_SharknirType_la_SOURCES = indiIF.cpp

lib_LTLIBRARIES = libcommon_sharknir.la

libcommon_sharknir_ladir = $(includedir)

libcommon_sharknir_la_HEADER = common_sharknir.h

libcommon_sharknir_la_SOURCES = common_sharknir.h

libcommon_sharknir_la_LIBADD = $(BOOST_SYSTEM_LIB)

libcommon_sharknir_la_LDFLAGS = -Wl,-no-undefined \
-version-info $(LIBRARY_VERSION) $(BOOST_LDFLAGS)

libcommon_sharknir_la_CXXFLAGS = -I. $(BOOST_CPPFLAGS)

# ----------------------------------------------


# # ----------------------------------------------

# lib_LTLIBRARIES += libMultiDevice_SharknirType.la

# libMultiDevice_SharknirType_ladir = $(includedir)

# nobase_libMultiDevice_SharknirType_la_HEADERS = \
# common_sharknir.h \
# multiDevice.h \
# wheels/multiWheel.h \
# stagesX/multiStageX.h \
# stagesXY/multiStageXY.h


# libMultiDevice_SharknirType_la_SOURCES = \
# wheels/multiWheel.cpp \
# stagesX/multiStageX.cpp \
# stagesXY/multiStageXY.cpp

# libMultiDevices_SharknirType_la_LIBADD = -lBasdaMoccaNService_NiceType \
#           $(BASDA_MOCCA_LIBS)	\
#           $(BASDA_LIBS)				\
#           $(NICE_LIBS)

# libMultiDevices_SharknirType_la_LDFLAGS = -Wl,-no-undefined \
#          -version-info $(LIBRARY_VERSION) \
#           -L. -L/lib64 \
#           $(BASDA_MOCCA_LDFLAGS) \
#           $(BASDA_LDFLAGS) \
#           $(NICE_LDFLAGS)

# libMultiDevices_SharknirType_la_CXXFLAGS = -I. -no-suppress \
# $(NICE_CXXFLAGS) \
# $(BASDA_MOCCA_CXXFLAGS) \
# $(BASDA_CXXFLAGS)


# libMultiDevices_SharknirType_la_DEPENDENCIES = libcommon_sharknir.la


# lib_LTLIBRARIES += libMotionDevices_SharknirType.la

# libMotionDevices_SharknirType_ladir = $(includedir)

# nobase_libMotionDevices_SharknirType_la_HEADERS = \
#           ../util/indiClient.h \
#           niceCallback.h \
#           common_sharknir.h \
#           indiIF.h \
#           ../obs_ctrl/os_sm.h \
#           multiDevice.h \
#           wheels/multiWheel.h \
#           stagesX/multiStageX.h \
#           stagesXY/multiStageXY.h

# libMotionDevices_SharknirType_la_SOURCES = \
#  indiClient.cpp \
#  indiIF.cpp \
#  ../obs_ctrl/os_sm.cpp \
#           niceCallback.cpp \
#           wheels/multiWheel.cpp \
#           stagesX/multiStageX.cpp \
#           stagesXY/multiStageXY.cpp

# libMotionDevices_SharknirType_la_LIBADD = -lBasdaMoccaNService_NiceType \
#           $(BASDA_MOCCA_LIBS)	\
#           $(BASDA_LIBS)				\
#           $(NICE_LIBS)				\
#           $(INDI_LIBS)

# libMotionDevices_SharknirType_la_LDFLAGS = -Wl,-no-undefined \
#          -version-info $(LIBRARY_VERSION) \
#           -L. -L/lib64 \
#           $(BASDA_MOCCA_LDFLAGS) \
#           $(BASDA_LDFLAGS) \
#           $(NICE_LDFLAGS) \
#           $(INDI_LDFLAGS)

# libMotionDevices_SharknirType_la_CXXFLAGS = -I. -no-suppress \
# $(NICE_CXXFLAGS) \
# $(BASDA_MOCCA_CXXFLAGS) \
# $(BASDA_CXXFLAGS) \
# $(INDI_CXXFLAGS)

# libMotionDevices_SharknirType_la_DEPENDENCIES = libcommon_sharknir.la

# # -------------------------------------------

# lib_LTLIBRARIES += libSharknirMotionCtrl.la

# libSharknirMotionCtrl_ladir = $(includedir)

# nobase_libSharknirMotionCtrl_la_HEADERS= \
#          applicationWrapper.h \
#          motionCtrl.h


# libSharknirMotionCtrl_la_SOURCES = \
#          applicationWrapper.cpp \
#          motionCtrl.cpp

# libSharknirMotionCtrl_la_LIBADD = -lBasdaMoccaNService_NiceType -lMotionDevices_SharknirType \
# $(BASDA_MOCCA_LIBS)	\
# $(BASDA_LIBS)				\
# $(NICE_LIBS) \
# $(INDI_LIBS)


# libSharknirMotionCtrl_la_LDFLAGS = -Wl,-no-undefined \
# -version-info $(LIBRARY_VERSION) \
# -L. -L/lib64 \
# $(BASDA_MOCCA_LDFLAGS) \
# $(BASDA_LDFLAGS) \
# $(NICE_LDFLAGS) \
# $(INDI_LDFLAGS)

# libSharknirMotionCtrl_la_CXXFLAGS = -I. $(NICE_CXXFLAGS) $(BASDA_MOCCA_CXXFLAGS) $(BASDA_CXXFLAGS) $(INDI_CXXFLAGS)
# to be completed


# libSharknirMotionCtrl_la_DEPENDENCIES = libcommon_sharknir.la


#
# http://sources.redhat.com/automake/automake.html#A-Shared-Library
#

# shared library example with package version:
# lib_LTLIBRARIES = libXXX.la
# nodist_libXXX_la_SOURCES = XXX.cc
# libXXX_la_SOURCES = XXX.cc
# libXXX_ladir = $(includedir)
# libXXX_la_HEADERS = XXX.h
# libXXX_la_LDFLAGS = -version-info ${LIBRARY_VERSION} -no-undefined
# libXXX_la_LIBADD = -lSOMELIBRARY


bin_PROGRAMS =

#
# http://sources.redhat.com/automake/automake.html#A-Program
#

# same as bin_PROGRAMS, only compiled if you do make check
check_PROGRAMS =

# for scripts
bin_SCRIPTS =

# test programs or scripts.
#
# http://sources.redhat.com/automake/automake.html#Tests
#
TESTS =



#
# http://sources.redhat.com/automake/automake.html#Sources
#
 
# files that have to go in the dist (project archive).

# Example:
EXTRA_DIST =


