]> rtime.felk.cvut.cz Git - socketcan-devel.git/blobdiff - test/Makefile
Added test script analogue to the LTP test to check the CAN networklayer.
[socketcan-devel.git] / test / Makefile
index e88698ab57b44262fd227384b7bcc35098b7828a..812e4554ea5fe195348eeb647642e498ecacf353 100644 (file)
 #
 #  Send feedback to <socketcan-users@lists.berlios.de>
 
-CFLAGS    = -O2 -Wall -Wno-parentheses -I../kernel/2.6/include \
+KERNELDIR = ../kernel/2.6
+
+CFLAGS    = -O2 -Wall -Wno-parentheses -I$(KERNELDIR)/include \
            -fno-strict-aliasing \
+           -DETH_P_CAN=0x000C \
            -DPF_CAN=29 \
            -DAF_CAN=PF_CAN
 
@@ -49,8 +52,12 @@ PROGRAMS =   tst-raw           \
                tst-raw-filter    \
                tst-err           \
                tst-raw-sendto    \
+               tst-packet        \
+               tst-filter        \
+               tst-filter-master \
+               tst-filter-server \
+               tst-rcv-own-msgs  \
                tst-bcm-cycle     \
-               tst-bcm-server    \
                tst-bcm-tx_read   \
                tst-bcm-rtr       \
                tst-bcm-single    \
@@ -58,11 +65,16 @@ PROGRAMS =  tst-raw           \
                tst-bcm-throttle  \
                tst-bcm-rx-sendto \
                tst-bcm-tx-sendto \
+               tst-bcm-dump      \
                tst-proc          \
+               gwtest            \
                canecho
 
 all: $(PROGRAMS)
 
+install:
+       cp -f $(PROGRAMS) /usr/local/bin
+
 clean:
        rm -f $(PROGRAMS)