From: hades Date: Tue, 6 Sep 2005 14:37:43 +0000 (+0000) Subject: hadaq.h in current dir, Ingo X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=9b0fe0faa3cb1d04694c1d63b1fc4539efa7d5e4;p=daqdata.git hadaq.h in current dir, Ingo --- diff --git a/hadaq/Makefile.am b/hadaq/Makefile.am index fd257dd..76f63a6 100644 --- a/hadaq/Makefile.am +++ b/hadaq/Makefile.am @@ -6,16 +6,17 @@ VPATH = @srcdir@ SUFFIXES = .x _clnt.c _svc.c _xdr.c .h .x_clnt.c: - (echo "#define _BSD_SOURCE"; rpcgen -l $<) > $@ + (echo "#define _BSD_SOURCE"; rpcgen -l $<) | sed s%../../hadaq/%% > $@ .x_svc.c: - (echo "#define _BSD_SOURCE"; rpcgen -s tcp $<) > $@ + (echo "#define _BSD_SOURCE"; rpcgen -s tcp $<) | sed s%../../hadaq/%%> $@ .x_xdr.c: - (echo "#define _BSD_SOURCE"; rpcgen -c $<) > $@ + (echo "#define _BSD_SOURCE"; rpcgen -c $<) | sed s%../../hadaq/%%> $@ .x.h: rpcgen -h $< > $@ + echo @srcdir@ online_svc.c: online.x (echo "#define _BSD_SOURCE"; rpcgen -m online.x) >online_svc.c