]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
hadaq.h in current dir, Ingo
authorhades <hades>
Tue, 6 Sep 2005 14:37:43 +0000 (14:37 +0000)
committerhades <hades>
Tue, 6 Sep 2005 14:37:43 +0000 (14:37 +0000)
hadaq/Makefile.am

index fd257ddac16c9276f595a389132b4bbec84c3681..76f63a61ad1b4239ee1b95002e4616ba3dcd6787 100644 (file)
@@ -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