blob: 22026921b90b3606c52028d9deeadb694214a347 [file] [log] [blame]
developer72fb0bb2023-01-11 09:46:29 +08001##########################################################################
2# If not stated otherwise in this file or this component's LICENSE
3# file the following copyright and licenses apply:
4#
5# Copyright 2019 RDK Management
6#
7# Licensed under the Apache License, Version 2.0 (the "License");
8# you may not use this file except in compliance with the License.
9# You may obtain a copy of the License at
10#
11# http://www.apache.org/licenses/LICENSE-2.0
12#
13# Unless required by applicable law or agreed to in writing, software
14# distributed under the License is distributed on an "AS IS" BASIS,
15# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16# See the License for the specific language governing permissions and
17# limitations under the License.
18##########################################################################
19AM_CFLAGS = -D_ANSC_LINUX
20AM_CFLAGS += -D_ANSC_USER
21AM_CFLAGS += -D_ANSC_LITTLE_ENDIAN_
22
23AM_CPPFLAGS = -Wall -Werror
24ACLOCAL_AMFLAGS = -I m4
25hardware_platform = armv7ahf-neon-rdk-linux-musleabi
26
27lib_LTLIBRARIES = libhal_wifi.la
28libhal_wifi_la_CPPFLAGS = -I$(top_srcdir)/include $(CPPFLAGS)
developer6507ef12023-06-07 09:58:31 +080029libhal_wifi_la_SOURCES = wifi_hal.c
developer72fb0bb2023-01-11 09:46:29 +080030libhal_wifi_la_LDFLAGS = -lev -lwpa_client
31
32#wifihal test binary
33bin_PROGRAMS = wifihal
34wifihal_CPPFLAGS = -I$(top_srcdir)/include $(CPPFLAGS) -D_WIFI_HAL_TEST_
developer6507ef12023-06-07 09:58:31 +080035wifihal_SOURCES = wifi_hal.c