dhcp: Move to plugin
[vpp.git] / src / plugins / dhcp / CMakeLists.txt
1 # Copyright (c) 2018 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
5 #
6 #     http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14 add_vpp_plugin(dhcp
15   SOURCES
16   client.c
17   dhcp_api.c
18   dhcp_client_detect.c
19   dhcp_proxy.c
20   dhcp4_proxy_node.c
21   dhcp6_client_common_dp.c
22   dhcp6_ia_na_client_dp.c
23   dhcp6_ia_na_client_cp.c
24   dhcp6_ia_na_client_cp_api.c
25   dhcp6_pd_client_cp.c
26   dhcp6_pd_client_cp_api.c
27   dhcp6_pd_client_dp.c
28   dhcp6_proxy_node.c
29
30   MULTIARCH_SOURCES
31   dhcp_client_detect.c
32
33   API_FILES
34   dhcp.api
35   dhcp6_pd_client_cp.api
36   dhcp6_ia_na_client_cp.api
37
38   INSTALL_HEADERS
39   client.h
40   dhcp4_packet.h
41   dhcp6_packet.h
42   dhcp_proxy.h
43   dhcp6_proxy_error.def
44   dhcp4_proxy_error.def
45   dhcp6_client_common_dp.h
46   dhcp6_pd_client_dp.h
47   dhcp6_ia_na_client_dp.h
48
49   API_TEST_SOURCES
50   dhcp_test.c
51 )