Outsource creation of random MAC address to a new function create_random_mac.
[mausezahn.git] / src / CMakeLists.txt
blobc437116ccbcdfcdef631957a249453f264c9463e
1 SET (SRCS
2         mz.c
3         layer1.c
4         layer2.c
5         layer3.c
6         layer4.c
7         init.c
8         hextools.c
9         tools.c
10         lookupdev.c
11         time.c
12         modifications.c
13         send_eth.c
14         send.c
15         cdp.c 
16         rtp.c 
17         dns.c 
18         rcv_rtp.c
19         syslog.c
20         cli.c
21         cli_cmds.c
22         cli_launch.c
23         cli_legacy.c
24         cli_packet.c
25         cli_interface.c
26         cli_set.c
27         cli_dns.c
28         cli_arp.c       
29         cli_bpdu.c
30         cli_eth.c
31         cli_ip.c
32         cli_udp.c
33         cli_tcp.c
34         cli_rtp.c
35         cli_tools.c
36         tx_switch.c
37         mops.c
38         mops_update.c
39         mops_tools.c
40         mops_checksums.c
41         mops_threads.c
42         mops_dot1Q.c
43         mops_mpls.c
44         mops_ip.c
45         mops_tcp.c
46         mops_ext.c
47         mops_ext_arp.c
48         mops_ext_bpdu.c
49         mops_ext_rtp.c
50         parse_xml.c
51         automops.c
52         mopsrx_arp.c
53         mops_ext_igmp.c
54         mops_ext_lldp.c
55         cli_igmp.c
56         cli_lldp.c
57         cli_sequence.c
58         mops_sequence.c
59         llist.c
60         directmops.c
61         mz.h
62         cli.h
63         mops.h
64         llist.h)
66 add_executable (mz ${SRCS})
67 target_link_libraries (mz net pcap rt cli pthread m)
69 install(TARGETS mz DESTINATION sbin)