blob: 17d88f97995602bbe5aeb560703fa26627925729 [file] [log] [blame]
# Makefile.am - Automake script for wpa_supplicant_8_lib
ACLOCAL_AMFLAGS = -I m4
AM_CFLAGS = -Wall
if DEBUG
AM_CFLAGS += -g
else
AM_CFLAGS += -O2
endif
AM_CFLAGS += -Wno-unused-parameter -Wno-int-to-pointer-cast \
-Wno-maybe-uninitialized -Wno-parentheses \
-DCONFIG_P2P
h_sources = driver_cmd_nl80211_extn.h
library_includedir = $(pkgincludedir)
library_include_HEADERS = $(h_sources)
libwpa_supplicant_8_lib_la_SOURCES = driver_cmd_nl80211.c
libwpa_supplicant_8_lib_la_SOURCES += driver_cmd_nl80211_sr.c
libwpa_supplicant_8_lib_la_SOURCES += driver_cmd_nl80211_extn.c
libwpa_supplicant_8_lib_la_CFLAGS = ${AM_CFLAGS} ${LIBNL_CFLAGS}
libwpa_supplicant_8_lib_la_CFLAGS += "-I${WPA_SUPPLICANT_DIR}/src"
libwpa_supplicant_8_lib_la_CFLAGS += "-I${WPA_SUPPLICANT_DIR}/src/common"
libwpa_supplicant_8_lib_la_CFLAGS += "-I${WPA_SUPPLICANT_DIR}/src/drivers"
libwpa_supplicant_8_lib_la_CFLAGS += "-I${WPA_SUPPLICANT_DIR}/src/l2_packet"
libwpa_supplicant_8_lib_la_CFLAGS += "-I${WPA_SUPPLICANT_DIR}/src/utils"
libwpa_supplicant_8_lib_la_CFLAGS += "-I${WPA_SUPPLICANT_DIR}/src/wps"
libwpa_supplicant_8_lib_la_CFLAGS += "-I${WPA_SUPPLICANT_DIR}/wpa_supplicant"
libwpa_supplicant_8_lib_la_CFLAGS += "-DLINUX_EMBEDDED"
libwpa_supplicant_8_lib_la_LIBADD = ${LIBNL_LIBS}
lib_LTLIBRARIES = libwpa_supplicant_8_lib.la
pkgconfigdir = $(libdir)/pkgconfig