# Makefile core for this source directory, called by several ../build/*/*/Makefile # # $Id$ ARTIFACT=fancymodbus-tool ABI_VERSION=1 EXTPKGS=fancylog fancysock3 libmodbus INCLUDES=-I. -I$(srcdir) -I$(top_srcdir)/modules/libfancymodbus LIBS= -L../../modules/libfancymodbus -lfancymodbus LD=$(CXX) SOURCES=\ fancymodbus-tool.cpp \ fancymodbus-tool-readDO.cpp \ fancymodbus-tool-writeDO.cpp \ fancymodbus-tool-readDI.cpp \ $(ARTIFACT) : $(SILENT_LIBS) include /usr/share/pba-cbs/mk/main-executable.mk install-bin:: # exe is installed by the include above # /etc/myapp #mkdir -pv $(DESTDIR)/etc/myapp #cp -v $(top_srcdir)/etc/myapp/myapp.conf $(DESTDIR)/etc/myapp/myapp.conf.template