]> 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 038fc03080002cdd964c90f473b9fe94abcf8092..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
 
@@ -50,10 +53,11 @@ PROGRAMS =  tst-raw           \
                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    \
@@ -63,6 +67,7 @@ PROGRAMS =    tst-raw           \
                tst-bcm-tx-sendto \
                tst-bcm-dump      \
                tst-proc          \
+               gwtest            \
                canecho
 
 all: $(PROGRAMS)