#----------------------------------------------------------------------
# Makefile.am  -  FINAL CUT library
#----------------------------------------------------------------------

AM_CPPFLAGS = -I$(top_srcdir)/src/include -Wall -Werror -DCOMPILE_FINAL_CUT -std=c++11

SUBDIRS = . 

lib_LTLIBRARIES = libfinal.la

libfinal_la_SOURCES = \
	fstring.cpp \
	fstringstream.cpp \
	fpoint.cpp \
	fsize.cpp \
	frect.cpp \
	fscrollbar.cpp \
	fprogressbar.cpp \
	flineedit.cpp \
	fbutton.cpp \
	fbuttongroup.cpp \
	fcallback.cpp \
	fdata.cpp \
	ftogglebutton.cpp \
	fradiobutton.cpp \
	fcheckbox.cpp \
	fswitch.cpp \
	flabel.cpp \
	flistbox.cpp \
	flistview.cpp \
	flog.cpp \
	flogger.cpp \
	fmenu.cpp \
	fmouse.cpp \
	fsystem.cpp \
	fsystemimpl.cpp \
	fkeyboard.cpp \
	fdialoglistmenu.cpp \
	fmenubar.cpp \
	fmenuitem.cpp \
	fradiomenuitem.cpp \
	fcheckmenuitem.cpp \
	fmenulist.cpp \
	fdialog.cpp \
	fscrollview.cpp \
	fwindow.cpp \
	fmessagebox.cpp \
	ftooltip.cpp \
	fbusyindicator.cpp \
	ffiledialog.cpp \
	fkey_map.cpp \
	fcharmap.cpp \
	fspinbox.cpp \
	fcombobox.cpp \
	fstartoptions.cpp \
	fstatusbar.cpp \
	ftermcap.cpp \
	ftermcapquirks.cpp \
	ftermxterminal.cpp \
	ftermfreebsd.cpp \
	ftermopenbsd.cpp \
	ftermlinux.cpp \
	ftermdebugdata.cpp \
	ftermdetection.cpp \
	ftermios.cpp \
	fterm.cpp \
	fterm_functions.cpp \
	ftextview.cpp \
	fvterm.cpp \
	fevent.cpp \
	sgr_optimizer.cpp \
	foptiattr.cpp \
	foptimove.cpp \
	ftermbuffer.cpp \
	fapplication.cpp \
	fcolorpalette.cpp \
	fwidgetcolors.cpp \
	fwidget.cpp \
	fwidget_functions.cpp \
	fobject.cpp

libfinal_la_LDFLAGS = -no-undefined -version-info @SO_VERSION@

finalcutincludedir = $(includedir)/final

finalcutinclude_HEADERS = \
	include/final/fapplication.h \
	include/final/fbutton.h \
	include/final/fbuttongroup.h \
	include/final/fcallback.h \
	include/final/fcheckbox.h \
	include/final/fcolorpair.h \
	include/final/fdata.h \
	include/final/fstyle.h \
	include/final/fconfig.h \
	include/final/fswitch.h \
	include/final/fdialog.h \
	include/final/fc.h \
	include/final/ftypes.h \
	include/final/emptyfstring.h \
	include/final/fevent.h \
	include/final/ffiledialog.h \
	include/final/final.h \
	include/final/fkey_map.h \
	include/final/fcharmap.h \
	include/final/flabel.h \
	include/final/flineedit.h \
	include/final/flistbox.h \
	include/final/flistview.h \
	include/final/flog.h \
	include/final/flogger.h \
	include/final/fmenu.h \
	include/final/fmouse.h \
	include/final/fkeyboard.h \
	include/final/fdialoglistmenu.h \
	include/final/fmenubar.h \
	include/final/fmenuitem.h \
	include/final/fradiomenuitem.h \
	include/final/fcheckmenuitem.h \
	include/final/fmenulist.h \
	include/final/fmessagebox.h \
	include/final/ftooltip.h \
	include/final/fbusyindicator.h \
	include/final/fobject.h \
	include/final/fpoint.h \
	include/final/fsize.h \
	include/final/sgr_optimizer.h \
	include/final/foptiattr.h \
	include/final/foptimove.h \
	include/final/ftermbuffer.h \
	include/final/fprogressbar.h \
	include/final/fradiobutton.h \
	include/final/frect.h \
	include/final/fscrollbar.h \
	include/final/fscrollview.h \
	include/final/fspinbox.h \
	include/final/fcombobox.h \
	include/final/fstartoptions.h \
	include/final/fstatusbar.h \
	include/final/fstring.h \
	include/final/fstringstream.h \
	include/final/fsystem.h \
	include/final/fsystemimpl.h \
	include/final/ftermcap.h \
	include/final/ftermcapquirks.h \
	include/final/ftermxterminal.h \
	include/final/ftermfreebsd.h \
	include/final/ftermopenbsd.h \
	include/final/ftermlinux.h \
	include/final/ftermdebugdata.h \
	include/final/ftermdetection.h \
	include/final/ftermios.h \
	include/final/fterm.h \
	include/final/ftermdata.h \
	include/final/ftextview.h \
	include/final/fvterm.h \
	include/final/ftogglebutton.h \
	include/final/fcolorpalette.h \
	include/final/fwidgetcolors.h \
	include/final/fwidget.h \
	include/final/fwindow.h

clean-local:
	-find . \( -name "*.gcda" -o -name "*.gcno" -o -name "*.gcov" \) -delete

uninstall-hook:
	if test -d ${finalcutincludedir}; then rmdir ${finalcutincludedir}; fi

