2014-05-30 21:32:10 +02:00
|
|
|
############################################################################
|
|
|
|
# net/icmp/Make.defs
|
|
|
|
#
|
2021-02-19 12:45:37 +01:00
|
|
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
# contributor license agreements. See the NOTICE file distributed with
|
|
|
|
# this work for additional information regarding copyright ownership. The
|
|
|
|
# ASF licenses this file to you under the Apache License, Version 2.0 (the
|
|
|
|
# "License"); you may not use this file except in compliance with the
|
|
|
|
# License. You may obtain a copy of the License at
|
2014-05-30 21:32:10 +02:00
|
|
|
#
|
2021-02-19 12:45:37 +01:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2014-05-30 21:32:10 +02:00
|
|
|
#
|
2021-02-19 12:45:37 +01:00
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
|
|
# License for the specific language governing permissions and limitations
|
|
|
|
# under the License.
|
2014-05-30 21:32:10 +02:00
|
|
|
#
|
|
|
|
############################################################################
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_NET_ICMP),y)
|
2018-11-09 18:25:57 +01:00
|
|
|
ifneq ($(CONFIG_NET_ICMP_NO_STACK),y)
|
2014-05-30 21:32:10 +02:00
|
|
|
|
2015-01-14 23:10:38 +01:00
|
|
|
# ICMP source files
|
|
|
|
|
2021-11-25 15:03:33 +01:00
|
|
|
NET_CSRCS += icmp_input.c icmp_reply.c
|
2014-05-30 21:32:10 +02:00
|
|
|
|
2017-10-23 16:45:12 +02:00
|
|
|
ifeq ($(CONFIG_NET_ICMP_SOCKET),y)
|
2020-12-01 07:55:16 +01:00
|
|
|
SOCK_CSRCS += icmp_sockif.c icmp_poll.c icmp_conn.c icmp_sendmsg.c
|
2022-03-31 05:40:08 +02:00
|
|
|
SOCK_CSRCS += icmp_recvmsg.c icmp_netpoll.c icmp_ioctl.c
|
2014-05-30 21:32:10 +02:00
|
|
|
endif
|
|
|
|
|
2014-07-01 03:43:30 +02:00
|
|
|
# Include ICMP build support
|
2014-05-30 21:32:10 +02:00
|
|
|
|
|
|
|
DEPPATH += --dep-path icmp
|
|
|
|
VPATH += :icmp
|
2018-11-09 18:25:57 +01:00
|
|
|
|
|
|
|
endif # !CONFIG_NET_ICMP_NO_STACK
|
|
|
|
endif # CONFIG_NET_ICMP
|