developer | 72fb0bb | 2023-01-11 09:46:29 +0800 | [diff] [blame] | 1 | ########################################################################## |
| 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 | ########################################################################## |
| 19 | AM_CFLAGS = -D_ANSC_LINUX |
| 20 | AM_CFLAGS += -D_ANSC_USER |
| 21 | AM_CFLAGS += -D_ANSC_LITTLE_ENDIAN_ |
| 22 | |
| 23 | AM_CPPFLAGS = -Wall -Werror |
| 24 | ACLOCAL_AMFLAGS = -I m4 |
| 25 | hardware_platform = armv7ahf-neon-rdk-linux-musleabi |
| 26 | |
| 27 | lib_LTLIBRARIES = libhal_wifi.la |
| 28 | libhal_wifi_la_CPPFLAGS = -I$(top_srcdir)/include $(CPPFLAGS) |
developer | 6507ef1 | 2023-06-07 09:58:31 +0800 | [diff] [blame^] | 29 | libhal_wifi_la_SOURCES = wifi_hal.c |
developer | 72fb0bb | 2023-01-11 09:46:29 +0800 | [diff] [blame] | 30 | libhal_wifi_la_LDFLAGS = -lev -lwpa_client |
| 31 | |
| 32 | #wifihal test binary |
| 33 | bin_PROGRAMS = wifihal |
| 34 | wifihal_CPPFLAGS = -I$(top_srcdir)/include $(CPPFLAGS) -D_WIFI_HAL_TEST_ |
developer | 6507ef1 | 2023-06-07 09:58:31 +0800 | [diff] [blame^] | 35 | wifihal_SOURCES = wifi_hal.c |