CMakeLists.txt revision 6bcc6a45
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
14add_vpp_plugin(dhcp
15  SOURCES
16  client.c
17  dhcp_api.c
18  dhcp_client_detect.c
19  dhcp_proxy.c
20  dhcp4_packet.c
21  dhcp4_proxy_node.c
22  dhcp6_client_common_dp.c
23  dhcp6_ia_na_client_dp.c
24  dhcp6_ia_na_client_cp.c
25  dhcp6_ia_na_client_cp_api.c
26  dhcp6_pd_client_cp.c
27  dhcp6_pd_client_cp_api.c
28  dhcp6_pd_client_dp.c
29  dhcp6_proxy_node.c
30
31  MULTIARCH_SOURCES
32  dhcp_client_detect.c
33
34  API_FILES
35  dhcp.api
36  dhcp6_pd_client_cp.api
37  dhcp6_ia_na_client_cp.api
38
39  INSTALL_HEADERS
40  client.h
41  dhcp4_packet.h
42  dhcp6_packet.h
43  dhcp_proxy.h
44  dhcp6_proxy_error.def
45  dhcp4_proxy_error.def
46  dhcp6_client_common_dp.h
47  dhcp6_pd_client_dp.h
48  dhcp6_ia_na_client_dp.h
49
50  API_TEST_SOURCES
51  dhcp_test.c
52)
53