## 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 \ scsnbus.cc \ scsnbus_bridge.cc \ scsnguardian.cc \ cfdat.c \ shutdown.cc \ reset.c \ patch_maker.cc \ ack_channel.cc \ adcstat_reader.cc \ adc_device.cc \ temp_sensor.cc \ voltage_sensor.cc \ rstate_reader.cc \ errorinfo.cc \ robpower.cc \ roc_info.cc \ scsn_daq.cc \ logbuffermanager.cc \ logbuffer.cc \ logging.cc \ ltu_param.cc \ ltu/ltuparam.cc \ trap_reg.cc \ trap_cnf.cpp \ trd_factory.cc \ ladc.cc \ longadc.cc \ cfgadc.cc \ ttcrx_stat.cc \ scsncommandstack.cc \ ori/i2c_j2c.cc \ ori/i2c_j2c_phys.cc \ ori/ori_laser_par.cc \ ori/ori_result.cc \ ori/ori_control.cc \ gaintables/gaintbl_handler.cc \ mcmdmemread.cc include_HEADERS = ack_channel.hh \ adc.h \ adc_device.hh \ adcstat_reader.hh \ cfgadc.hh \ cfdat.h \ errorinfo.hh \ ladc.hh \ longadc.hh \ logging.hh \ logbuffermanager.hh \ logbuffer.hh \ logoperators.hh \ ltu_param.hh \ ltu/ltuparam.hh \ ltu/AliTRDltuParam.h \ ltu/TObject.h \ ltu/TMath.h \ mcmid_reader.hh \ patch_maker.hh \ reset.h \ robpower.hh \ roc_info.hh \ rstate_reader.hh \ scsn_daq.hh \ scsn_ids.h \ scsnbus.hh \ scsnbus_defs.hh \ scsnbus_bridge.hh \ scsncommandstack.hh \ scsnguardian.hh \ shutdown.hh \ stream_loglevels.hh \ trap_cnf.h \ temp_sensor.hh \ trap_defs.hh \ trap_reg.hh \ trd_factory.hh \ ttcrx_stat.hh \ voltage_sensor.hh \ ori/i2c_j2c.hh \ ori/i2c_j2c_phys.hh \ ori/ori_laser_par.hh \ ori/ori_result.hh \ ori/ori_control.hh \ gaintables/gaintbl_handler.hh \ mcmdmemread.hh nodist_include_HEADERS = libtrd-config.h ltuincldir=$(includedir)/ltu ltuincl_HEADERS = ltu/ltuparam.hh \ ltu/AliTRDltuParam.cxx \ ltu/AliTRDltuParam.h dist_noinst_HEADERS = trap_cnf_tables.h dist_noinst_DATA = libtrd.spec bin_PROGRAMS = adcrms \ patch_maker_test \ dat_expander \ scsn_ids_test \ scsnstress \ ltup \ mcmid \ peek \ poke \ ping_link \ bridge_mcm \ rob_reset \ rob_power \ read_volt \ read_temp \ dcsro \ rstate \ show_cfdat \ adcmode \ read_ttcrx \ write_ttcrx \ oricontrol \ gaintbl LDADD = libTRD.la adcmode_SOURCES = adcmode.cc adcrms_SOURCES = adcrms.cc # longadc_SOURCES = longadc.cc 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 dcsro_SOURCES = dcsro.cc rstate_SOURCES = rstate.cc ltup_SOURCES = ltup.cc mcmid_SOURCES = mcmid.cc mcmid_reader.cc peek_SOURCES = peek.cc poke_SOURCES = poke.cc ping_link_SOURCES = ping_link.cc bridge_mcm_SOURCES = bridge_mcm.cc scsnstress_SOURCES = scsnstress.cc read_ttcrx_SOURCES = read_ttcrx.cc write_ttcrx_SOURCES = write_ttcrx.cc oricontrol_SOURCES = oricontrol.cc gaintbl_SOURCES = gaintables/gaintbl.cc rpm: make dist rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz .PHONY: ipkg ipkg: rm Makefile ipkg/rules configure fakeroot ipkg-buildpackage DATETIME := $(shell date '+%Y%m%d-%H%M%S') armfs: if [ $$ARM_ROOTFS ] ; then \ make DESTDIR=$$ARM_ROOTFS install-strip ; \ rm -f $$ARM_ROOTFS/usr/lib/libTRD.la ; \ else \ echo target \"armfs\" is only available if ARM_ROOTFS is set ; \ fi update_%: DESTDIR=/tmp/update-$(PACKAGE)-$(VERSION)-$(DATETIME) update_%: install-strip scp -rp $(DESTDIR)/$(prefix)/* root@$*:$(prefix) rm -rf $(DESTDIR) lazy_update_%: install-strip scp -rp $(DESTDIR)/$(prefix)/lib/libTRD.so.*.*.* root@$*:$(prefix)/lib rm -rf $(DESTDIR)