]> jspc29.x-matter.uni-frankfurt.de Git - trbnettools.git/commitdiff
update symlinks
authorhadaq <hadaq>
Mon, 19 Jul 2010 19:22:35 +0000 (19:22 +0000)
committerhadaq <hadaq>
Mon, 19 Jul 2010 19:22:35 +0000 (19:22 +0000)
trbnetd/Makefile

index d5ec032b68a0817084a5ffc5ad71fe02330afb49..99a4767b0efda03e12cae859b3593c4401625894 100644 (file)
@@ -77,6 +77,7 @@ clean:
 .PHONY: distclean
 distclean: clean
        rm -f $(TARGETS) $(LIB_TARGETS)
+       find . -type l -exec rm {} \;
        rcsclean -u
 
 .PHONY: cleanrpc
@@ -89,29 +90,29 @@ depend:
 
 # ------------ Dependencies --------------------------------------------
 
-trbcmd: trbcmd.o libtrbnet.a
-trbcmd.o: trbcmd.c
+trbcmd: trbcmd.o libtrbnet.a 
+trbcmd.o: trbcmd.c trberror.h
 
 trbdhcp: trbdhcp.o libtrbnet.a
-trbdhcp.o: trbdhcp.c
+trbdhcp.o: trbdhcp.c trberror.h
 
 trbflash: trbflash.o libtrbnet.a 
-trbflash.o: trbflash.c
+trbflash.o: trbflash.c trberror.h 
 
 trbrichcmd: trbrichcmd.o libtrbnet.a
-trbrichcmd.o: trbrichcmd.c
+trbrichcmd.o: trbrichcmd.c trberror.h
 
 trb_i2c: trb_i2c.o libtrbnet.a  
-trb_i2c.o: trb_i2c.c
+trb_i2c.o: trb_i2c.c trberror.h
 
 pulser: pulser.o libtrbnet.a
-pulser.o: pulser.c
+pulser.o: pulser.c trberror.h
 
 # ----------------------------------------------------------------------
 
 libtrbnet.a: trbnetrpc.o trbrpc_clnt.o trbrpc_xdr.o trberror.o
 
-trbnetrpc.o: trbnetrpc.c trbrpc.h
+trbnetrpc.o: trbnetrpc.c trbrpc.h trbnet.h trberror.h
 
 trbrpc_clnt.o: trbrpc_clnt.c trbrpc.h
 
@@ -121,3 +122,30 @@ trbrpc.h: trbrpc.x
 
 trberror.o: trberror.c
 
+# ----------------------------------------------------------------------
+trbcmd.c:
+       ln -s ../libtrbnet/trbcmd.c
+
+trbdhcp.c :
+       ln -s ../libtrbnet/trbdhcp.c
+
+pulser.c:
+       ln -s ../trbrich/pulser.c
+
+trb_i2c.c:
+       ln -s ../trbrich/trb_i2c.c
+
+trbflash.c:
+       ln -s ../trbrich/trbflash.c
+
+trbrichcmd.c:
+       ln -s ../trbrich/trbrichcmd.c
+
+trbnet.h:
+       ln -s ../libtrbnet/trbnet.h
+
+trberror.h:
+       ln -s ../libtrbnet/trberror.h
+
+trberror.c:
+       ln -s ../libtrbnet/trberror.c