# $Header: https://oberon.oapd.inaf.it/shins/trunk/shins/src/scicam_ctrl/Makefile.am 1601 2019-03-18 14:33:01Z depa $

include $(top_srcdir)/config/all.mk

SUBDIRS =

# Configuration files, go to $INSROOT/etc
etcdir=$(sysconfdir)
dist_etc_DATA = 

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

#
# 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 =
#
# 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
#
# Example:
# bin_PROGRAMS = AAA

# nodist_AAA_SOURCES = AAA.moc.cc ## moc builtfile for all QT Headerfiles (QOBJECT in the header), 
                                  ## all header have to be in one of *_HEADERS or *_SOURCES
# AAA_SOURCES = aaa.cc iii.ice uuu.ui 
# AAA_LDADD = $(QT_LIBS) $(ICE_LIBS) -lIsStatic
# AAA_LDFLAGS = -L. -DDEBUG
# AAA_DEPENDENCIES = ../libIsStatic.a # needed for dependencie checking

# if you wanna include ice files from a different directory.
# SLICE_PATH = ../somewhere
# nodist_AAA_SOURCES = jjj.ice

scicamCtrlIndiDriver_SOURCES =  scicamCtrlIndiDriver.cpp

scicamCtrlIndiDriver_LDFLAGS = $(INDI_LDFLAGS) $(NICE_LDFLAGS) -L/home/tan_unstable/opt/TAN/lib
scicamCtrlIndiDriver_LDADD = $(INDI_LIBS) $(NICE_LIBS) $(BOOST_THREAD_LIB) -lboost_chrono -lShinsUtil_SharknirType

# scicamControlServer_SOURCES = \
# ../util/indiClient.cpp \
# ../util/shins_util.cpp \
# ../util/shins.cpp \
# scicamControl.cpp \
# obsControlI.cpp \
# scicamControlServer.cpp

# scicamControlServer_LDFLAGS = -L -L/lib64 $(ICE_LDFLAGS) $(NICE_LDFLAGS) $(INDI_LDFLAGS)
# scicamControlServer_LDADD = $(NICE_LIBS) $(ICE_LIBS) $(BOOST_SYSTEM_LIB) $(INDI_LIBS)

# IMPORTANT !!!
# if you wanna use subdirs, something like this:
# AAA_SOURCES = dir/subdir/a1.cc
# then dont use AAA_CXXFLAGS, it will not work, with the current version of automake,
# instead use a global one:
# AM_CXXFLAGS = $(QT_CXXFLAGS) $(ICE_CXXFLAGS)
# and its even worse, with ice files you cant use it all,
# you should always use ONLY AM_CXXFLAGS.

AM_CXXFLAGS = -std=c++11 -I. -I$(top_srcdir)/src/util $(INDI_CXXFLAGS) $(ICE_CXXFLAGS) $(NICE_CXXFLAGS)

# if you want to use subdir header, e.g. dir/myheader.h, then prefix it with base_
# nobase_AAA_HEADERS = dir/myheader.h 
# otherwise it will not be installed in dir/

# if you want to have headers that should not be installed, but e.g. moc'ed then prefix it with noinst_
# noinst_HEADERS = noinstall.h


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

# 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 = 


