]> jspc29.x-matter.uni-frankfurt.de Git - trbnettools.git/commitdiff
update symlink pexor
authorhadaq <hadaq>
Mon, 10 Oct 2011 20:03:58 +0000 (20:03 +0000)
committerhadaq <hadaq>
Mon, 10 Oct 2011 20:03:58 +0000 (20:03 +0000)
libtrbnet/Makefile

index f7de9e5736b0683a0028db3b6102ceb3e2c69da5..bcbab23bade097a583eeadbd6551acdbb4538434 100644 (file)
@@ -1,5 +1,4 @@
 # ------------ Compiler / Linker Options -------------------------------
-
 ifdef AXIS_TOP_DIR
        AXIS_USABLE_LIBS = UCLIBC GLIBC
        include $(AXIS_TOP_DIR)/tools/build/Rules.axis
@@ -83,6 +82,7 @@ clean:
 .PHONY: distclean
 distclean: clean
        rm -f $(TARGETS) $(LIB_TARGETS)
+       find . -type l -exec rm {} \;
        rcsclean -u
 
 .PHONY: depend
@@ -91,9 +91,16 @@ depend:
 
 # ------------ Dependencies --------------------------------------------
 
-trberror.o: trberror.c trberror.h
+ifndef AXIS_TOP_DIR
+pexor_user.h:
+       ln -s ../pexor/kernel-module/pexor_user.h
 
 trbnet.o: trbnet.c trberror.h trbnet.h pexor_user.h
+else
+trbnet.o: trbnet.c trberror.h trbnet.h
+endif
+
+trberror.o: trberror.c trberror.h
 
 libtrbnet.a: trberror.o trbnet.o
 
@@ -107,3 +114,4 @@ trbdhcp.o: trbdhcp.c trbnet.h trberror.h
 
 trbflash: trbflash.o libtrbnet.a
 trbflash.o: trbflash.c
+