## Makefile.am -- Process this file with automake to produce Makefile.in #bin_PROGRAMS = src/dat_expander #dat_expander_SOURCES = src/dat_expander.c bin_PROGRAMS = feeserver feeserver_SOURCES = ce_command.c \ feeserver.c # 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) debug = yes include_HEADERS = ce_command.h \ fee_defines.h \ fee_errors.h \ fee_functions.h \ fee_loglevels.h \ feepacket_flags.h \ fee_types.h # LDADD = libTRD.la 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) #lazy_update_%: install-strip # scp -rp $(DESTDIR)/$(prefix)/lib/libTRD.so.*.*.* root@$*:$(prefix)/lib # rm -rf $(DESTDIR)