## Makefile.am -- Process this file with automake to produce Makefile.in #bin_PROGRAMS = src/dat_expander #dat_expander_SOURCES = src/dat_expander.c lib_LTLIBRARIES = libTRD.la # Please read the libtool manual before changing the version number! # http://www.gnu.org/software/libtool/manual.html#Versioning libTRD_la_LDFLAGS = -version-info $(LIB_VERSION) libTRD_la_SOURCES = scsn_ids.c \ cfdat.c \ shutdown.cc \ reset.c \ patch_maker.cc \ adc_device.cc \ temp_sensor.cc \ voltage_sensor.cc \ errorinfo.cc \ logbuffermanager.cc \ logbuffer.cc \ logging.cc include_HEADERS = scsn_ids.h \ cfdat.h \ shutdown.hh \ reset.h \ patch_maker.hh \ adc.h \ adc_device.hh \ temp_sensor.hh \ voltage_sensor.hh \ errorinfo.hh \ logging.hh \ logbuffermanager.hh \ logbuffer.hh \ logoperators.hh \ stream_loglevels.hh dist_noinst_DATA = libtrd.spec bin_PROGRAMS = patch_maker_test \ dat_expander \ scsn_ids_test \ rob_reset \ rob_power \ read_volt \ read_temp \ show_cfdat LDADD = libTRD.la show_cfdat_SOURCES = show_cfdat.cc patch_maker_test_SOURCES = patch_maker_test.cc scsn_ids_test_SOURCES = scsn_ids_test.c rob_power_SOURCES = rob_power.cc rob_reset_SOURCES = rob_reset.c read_volt_SOURCES = read_volt.cc read_temp_SOURCES = read_temp.cc dat_expander_SOURCES = dat_expander.c rpm: make dist rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz DATETIME := $(shell date '+%Y%m%d-%H%M%S') update_%: DESTDIR=/tmp/update-$(PACKAGE)-$(VERSION)-$(DATETIME) update_%: install-strip scp -rp $(DESTDIR)/$(prefix)/* root@$*:$(prefix) rm -rf $(DESTDIR)