## Makefile.am -- Process this file with automake to produce Makefile.in bin_PROGRAMS = adcsrv adcsrv_SOURCES = adcsrv.cc \ adc_channel.cc \ adc_channel_direct.cc \ adc_channel_4_20mA.cc \ adc_channel_4_20mA_tri.cc \ channel_info.cc dist_noinst_HEADERS = channel_info.hh \ adc_channel.hh \ adc_channel_direct.hh \ adc_channel_4_20mA.hh \ adc_channel_4_20mA_tri.hh 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)