Lines Matching +full:y +full:-
25 CFLAGS += -I$(abspath ../src)
26 CFLAGS += -I$(abspath ../src/utils)
33 GITVER := $(shell git describe --dirty=+)
35 CFLAGS += -DGIT_VERSION_STR_POSTFIX=\"-$(GITVER)\"
41 CFLAGS += -DCONFIG_TESTING_OPTIONS
42 CONFIG_WPS_TESTING=y
54 CFLAGS += -DOS_NO_C_LIB_DEFINES
58 CFLAGS += -DCONFIG_NATIVE_WINDOWS
59 LIBS += -lws2_32
94 NEED_RC4=y
95 NEED_AES=y
96 NEED_MD5=y
97 NEED_SHA1=y
100 CFLAGS += -DHOSTAPD
103 CFLAGS += -DCONFIG_TAXONOMY
108 CFLAGS += -DCONFIG_MODULE_TESTS
113 CFLAGS += -DWPA_TRACE
116 LDFLAGS += -rdynamic
117 CFLAGS += -funwind-tables
119 CFLAGS += -DPACKAGE="hostapd" -DWPA_TRACE_BFD
120 LIBS += -lbfd -ldl -liberty -lz
121 LIBS_c += -lbfd -ldl -liberty -lz
122 LIBS_h += -lbfd -ldl -liberty -lz
123 LIBS_n += -lbfd -ldl -liberty -lz
124 LIBS_s += -lbfd -ldl -liberty -lz
135 # Using glibc < 2.17 requires -lrt for clock_gettime()
136 LIBS += -lrt
137 LIBS_c += -lrt
138 LIBS_h += -lrt
139 LIBS_n += -lrt
143 CFLAGS += -DCONFIG_ELOOP_POLL
147 CFLAGS += -DCONFIG_ELOOP_EPOLL
151 CFLAGS += -DCONFIG_ELOOP_KQUEUE
171 CFLAGS += -O0 -fprofile-arcs -ftest-coverage -U_FORTIFY_SOURCE
172 LIBS += -lgcov
173 LIBS_c += -lgcov
174 LIBS_h += -lgcov
175 LIBS_n += -lgcov
182 CFLAGS += -DHOSTAPD_DUMP_STATE
187 CFLAGS += -DCONFIG_NO_RADIUS
188 CONFIG_NO_ACCOUNTING=y
196 CFLAGS += -DCONFIG_NO_ACCOUNTING
202 CFLAGS += -DCONFIG_NO_VLAN
210 CFLAGS += -DCONFIG_FULL_DYNAMIC_VLAN
221 CFLAGS += -DCONFIG_NO_CTRL_IFACE
224 CFLAGS += -DCONFIG_CTRL_IFACE_UDP
227 CFLAGS += -DCONFIG_CTRL_IFACE_UDP
228 CFLAGS += -DCONFIG_CTRL_IFACE_UDP_IPV6
230 ifeq ($(CONFIG_CTRL_IFACE), udp-remote)
231 CFLAGS += -DCONFIG_CTRL_IFACE_UDP
232 CFLAGS += -DCONFIG_CTRL_IFACE_UDP_REMOTE
234 ifeq ($(CONFIG_CTRL_IFACE), udp6-remote)
235 CFLAGS += -DCONFIG_CTRL_IFACE_UDP
236 CFLAGS += -DCONFIG_CTRL_IFACE_UDP_REMOTE
237 CFLAGS += -DCONFIG_CTRL_IFACE_UDP_IPV6
239 CFLAGS += -DCONFIG_CTRL_IFACE_UNIX
250 CFLAGS += -DCONFIG_CTRL_IFACE
254 CFLAGS += -DCONFIG_RSN_PREAUTH
255 CONFIG_L2_PACKET=y
259 CONFIG_PROXYARP=y
263 CONFIG_L2_PACKET=y
267 CFLAGS += -DCONFIG_SUITEB
271 CFLAGS += -DCONFIG_SUITEB192
272 NEED_SHA384=y
276 CFLAGS += -DCONFIG_OCV
280 NEED_AES_UNWRAP=y
283 CFLAGS += -DCONFIG_IEEE80211R -DCONFIG_IEEE80211R_AP
285 NEED_AES_UNWRAP=y
286 NEED_AES_SIV=y
287 NEED_ETH_P_OUI=y
288 NEED_HMAC_SHA256_KDF=y
292 CFLAGS += -DCONFIG_ETH_P_OUI
297 CFLAGS += -DCONFIG_SAE
300 CFLAGS += -DCONFIG_SAE_PK
301 NEED_AES_SIV=y
304 NEED_ECC=y
305 NEED_DH_GROUPS=y
306 NEED_HMAC_SHA256_KDF=y
307 NEED_AP_MLME=y
308 NEED_DRAGONFLY=y
312 CFLAGS += -DCONFIG_OWE
313 NEED_ECC=y
314 NEED_HMAC_SHA256_KDF=y
315 NEED_HMAC_SHA384_KDF=y
316 NEED_HMAC_SHA512_KDF=y
317 NEED_SHA384=y
318 NEED_SHA512=y
322 CFLAGS += -DCONFIG_AIRTIME_POLICY
327 CFLAGS += -DCONFIG_FILS
329 NEED_SHA384=y
330 NEED_AES_SIV=y
332 CFLAGS += -DCONFIG_FILS_SK_PFS
333 NEED_ECC=y
338 CFLAGS += -DCONFIG_WNM -DCONFIG_WNM_AP
343 CFLAGS += -DCONFIG_IEEE80211AC
347 CONFIG_IEEE80211AX=y
348 CFLAGS += -DCONFIG_IEEE80211BE
353 CFLAGS += -DCONFIG_IEEE80211AX
358 CFLAGS += -DCONFIG_MBO
371 LIBS += -lpcap
374 LIBS += -ldnet -lpcap
386 CFLAGS += -DCONFIG_ERP
387 NEED_HMAC_SHA256_KDF=y
391 CFLAGS += -DEAP_SERVER_MD5
393 CHAP=y
397 CFLAGS += -DEAP_SERVER_TLS
399 TLS_FUNCS=y
403 CFLAGS += -DEAP_SERVER_UNAUTH_TLS
406 TLS_FUNCS=y
411 CFLAGS += -DEAP_SERVER_PEAP
414 TLS_FUNCS=y
415 CONFIG_EAP_MSCHAPV2=y
419 CFLAGS += -DEAP_SERVER_TTLS
421 TLS_FUNCS=y
422 CHAP=y
426 CFLAGS += -DEAP_SERVER_MSCHAPV2
428 MS_FUNCS=y
432 CFLAGS += -DEAP_SERVER_GTC
437 CFLAGS += -DEAP_SERVER_SIM
439 CONFIG_EAP_SIM_COMMON=y
440 NEED_AES_CBC=y
444 CFLAGS += -DEAP_SERVER_AKA
446 CONFIG_EAP_SIM_COMMON=y
447 NEED_AES_CBC=y
451 CFLAGS += -DEAP_SERVER_AKA_PRIME
456 # Example EAP-SIM/AKA interface for GSM/UMTS authentication. This can be
460 NEED_FIPS186_2_PRF=y
464 CFLAGS += -DEAP_SERVER_PAX
469 CFLAGS += -DEAP_SERVER_PSK
471 NEED_AES_ENCBLOCK=y
472 NEED_AES_EAX=y
476 CFLAGS += -DEAP_SERVER_SAKE
481 CFLAGS += -DEAP_SERVER_GPSK
484 CFLAGS += -DEAP_GPSK_SHA256
489 CFLAGS += -DEAP_SERVER_PWD
491 NEED_ECC=y
492 NEED_DRAGONFLY=y
496 CFLAGS += -DEAP_SERVER_EKE
498 NEED_DH_GROUPS=y
499 NEED_DH_GROUPS_ALL=y
503 CFLAGS += -DEAP_SERVER_VENDOR_TEST
508 CFLAGS += -DEAP_SERVER_FAST
511 TLS_FUNCS=y
512 NEED_T_PRF=y
513 NEED_AES_UNWRAP=y
517 CFLAGS += -DEAP_SERVER_TEAP
520 TLS_FUNCS=y
521 NEED_T_PRF=y
522 NEED_SHA384=y
523 NEED_TLS_PRF_SHA256=y
524 NEED_TLS_PRF_SHA384=y
525 NEED_AES_UNWRAP=y
529 CFLAGS += -DCONFIG_WPS -DEAP_SERVER_WSC
541 NEED_DH_GROUPS=y
542 NEED_BASE64=y
543 NEED_AES_CBC=y
544 NEED_MODEXP=y
545 CONFIG_EAP=y
548 CFLAGS += -DCONFIG_WPS_NFC
550 NEED_WPS_OOB=y
554 CFLAGS += -DCONFIG_WPS_OOB
558 CFLAGS += -DCONFIG_WPS_UPNP
571 CFLAGS += -DCONFIG_WPS_STRICT
576 CFLAGS += -DCONFIG_WPS_TESTING
582 CFLAGS += -DCONFIG_DPP
592 NEED_AES_SIV=y
593 NEED_HMAC_SHA256_KDF=y
594 NEED_HMAC_SHA384_KDF=y
595 NEED_HMAC_SHA512_KDF=y
596 NEED_SHA384=y
597 NEED_SHA512=y
598 NEED_ECC=y
599 NEED_JSON=y
600 NEED_GAS=y
601 NEED_BASE64=y
602 NEED_ASN1=y
604 CFLAGS += -DCONFIG_DPP2
607 CFLAGS += -DCONFIG_DPP3
614 CFLAGS += -DCONFIG_NAN_USD
618 CFLAGS += -DCONFIG_PASN
619 CFLAGS += -DCONFIG_PTKSA_CACHE
620 NEED_HMAC_SHA256_KDF=y
621 NEED_HMAC_SHA384_KDF=y
622 NEED_SHA256=y
623 NEED_SHA384=y
627 CFLAGS += -DEAP_SERVER_IKEV2
630 NEED_DH_GROUPS=y
631 NEED_DH_GROUPS_ALL=y
632 NEED_MODEXP=y
633 NEED_CIPHER=y
637 CFLAGS += -DEAP_SERVER_TNC
640 NEED_BASE64=y
642 LIBS += -ldl
647 CFLAGS += -DCONFIG_MACSEC
661 CFLAGS += -DEAP_SERVER_IDENTITY
664 CFLAGS += -DEAP_SERVER
668 CFLAGS += -DPKCS12_FUNCS
677 NEED_DES=y
678 NEED_MD4=y
686 TLS_FUNCS=y
687 CFLAGS += -DCONFIG_RADIUS_TLS
691 NEED_DES=y
693 CFLAGS += -DEAP_TLS_FUNCS
695 NEED_TLS_PRF=y
703 CFLAGS += -DCONFIG_TLSV11
707 CFLAGS += -DCONFIG_TLSV12
714 LIBS += -lwolfssl -lm
721 NEED_TLS_PRF_SHA256=y
722 LIBS += -lwolfssl -lm
723 LIBS_h += -lwolfssl -lm
725 LIBS += -ldl
726 LIBS_h += -ldl
731 CFLAGS += -DCRYPTO_RSA_OAEP_SHA256
736 LIBS += -lssl
744 NEED_TLS_PRF_SHA256=y
745 LIBS += -lcrypto
746 LIBS_h += -lcrypto
747 LIBS_n += -lcrypto
748 LIBS_s += -lcrypto
750 LIBS += -ldl
751 LIBS_h += -ldl
752 LIBS_s += -ldl
757 CFLAGS += -DTLS_DEFAULT_CIPHERS=\"$(CONFIG_TLS_DEFAULT_CIPHERS)\"
767 LIBS += -lgnutls -lgpg-error
773 SHA1OBJS += ../src/crypto/sha1-internal.o
776 LIBS += -lgcrypt
777 LIBS_h += -lgcrypt
778 LIBS_n += -lgcrypt
779 CONFIG_INTERNAL_RC4=y
780 CONFIG_INTERNAL_DH_GROUP5=y
783 LIBS += -lnettle -lgmp
784 LIBS_p += -lnettle -lgmp
785 CONFIG_INTERNAL_RC4=y
786 CONFIG_INTERNAL_DH_GROUP5=y
795 OBJS += ../src/crypto/crypto_internal-rsa.o
808 NEED_ASN1=y
809 NEED_BASE64=y
810 NEED_TLS_PRF=y
812 NEED_TLS_PRF_SHA256=y
814 NEED_MODEXP=y
815 NEED_CIPHER=y
816 CFLAGS += -DCONFIG_TLS_INTERNAL
817 CFLAGS += -DCONFIG_TLS_INTERNAL_SERVER
820 NEED_DES=y
821 OBJS += ../src/crypto/crypto_internal-cipher.o
824 OBJS += ../src/crypto/crypto_internal-modexp.o
829 LIBS += -ltomcrypt -ltfm
830 LIBS_h += -ltomcrypt -ltfm
831 CONFIG_INTERNAL_SHA256=y
832 CONFIG_INTERNAL_RC4=y
833 CONFIG_INTERNAL_DH_GROUP5=y
837 NEED_AES_DEC=y
838 CFLAGS += -DCONFIG_CRYPTO_INTERNAL
840 CFLAGS += -DCONFIG_INTERNAL_LIBTOMMATH
842 CFLAGS += -DLTM_FAST
845 LIBS += -ltommath
846 LIBS_h += -ltommath
848 CONFIG_INTERNAL_AES=y
849 CONFIG_INTERNAL_DES=y
850 CONFIG_INTERNAL_SHA1=y
851 CONFIG_INTERNAL_MD4=y
852 CONFIG_INTERNAL_MD5=y
853 CONFIG_INTERNAL_SHA256=y
854 CONFIG_INTERNAL_SHA384=y
855 CONFIG_INTERNAL_SHA512=y
856 CONFIG_INTERNAL_RC4=y
857 CONFIG_INTERNAL_DH_GROUP5=y
862 CFLAGS += -DCONFIG_CRYPTO_CRYPTOAPI
863 CONFIG_INTERNAL_SHA256=y
864 CONFIG_INTERNAL_RC4=y
871 OBJS += ../src/crypto/crypto_internal-rsa.o
884 NEED_ASN1=y
885 NEED_BASE64=y
886 NEED_TLS_PRF=y
888 NEED_TLS_PRF_SHA256=y
890 NEED_MODEXP=y
891 NEED_CIPHER=y
892 CFLAGS += -DCONFIG_TLS_INTERNAL
893 CFLAGS += -DCONFIG_TLS_INTERNAL_SERVER
896 OBJS += ../src/crypto/crypto_internal-modexp.o
898 CFLAGS += -DCONFIG_INTERNAL_LIBTOMMATH
899 CFLAGS += -DLTM_FAST
901 CONFIG_INTERNAL_DH_GROUP5=y
904 OBJS += ../src/crypto/sha1-internal.o
911 CFLAGS += -DEAP_TLS_NONE
912 CONFIG_INTERNAL_AES=y
913 CONFIG_INTERNAL_SHA1=y
914 CONFIG_INTERNAL_MD5=y
918 CONFIG_INTERNAL_SHA256=y
919 CONFIG_INTERNAL_RC4=y
925 CONFIG_INTERNAL_AES=y
926 CONFIG_INTERNAL_SHA1=y
927 CONFIG_INTERNAL_MD5=y
928 CONFIG_INTERNAL_RC4=y
934 AESOBJS += ../src/crypto/aes-internal.o ../src/crypto/aes-internal-enc.o
939 AESOBJS += ../src/crypto/aes-wrap.o
943 AESOBJS += ../src/crypto/aes-eax.o
944 NEED_AES_CTR=y
947 AESOBJS += ../src/crypto/aes-siv.o
948 NEED_AES_CTR=y
951 AESOBJS += ../src/crypto/aes-ctr.o
954 AESOBJS += ../src/crypto/aes-encblock.o
959 AESOBJS += ../src/crypto/aes-omac1.o
967 NEED_AES_DEC=y
968 AESOBJS += ../src/crypto/aes-unwrap.o
974 NEED_AES_DEC=y
978 AESOBJS += ../src/crypto/aes-cbc.o
985 AESOBJS += ../src/crypto/aes-internal-dec.o
1002 SHA1OBJS += ../src/crypto/sha1-prf.o
1004 SHA1OBJS += ../src/crypto/sha1-internal.o
1011 SHA1OBJS += ../src/crypto/sha1-pbkdf2.o
1015 SHA1OBJS += ../src/crypto/sha1-tprf.o
1018 SHA1OBJS += ../src/crypto/sha1-tlsprf.o
1038 OBJS += ../src/crypto/md5-internal.o
1039 HOBJS += ../src/crypto/md5-internal.o
1045 OBJS += ../src/crypto/md4-internal.o
1050 CFLAGS += -DCONFIG_DES
1052 OBJS += ../src/crypto/des-internal.o
1057 CFLAGS += -DCONFIG_NO_RC4
1068 CFLAGS += -DCONFIG_SHA256
1078 OBJS += ../src/crypto/sha256-prf.o
1080 OBJS += ../src/crypto/sha256-internal.o
1083 OBJS += ../src/crypto/sha256-tlsprf.o
1086 OBJS += ../src/crypto/sha384-tlsprf.o
1089 OBJS += ../src/crypto/sha256-kdf.o
1092 OBJS += ../src/crypto/sha384-kdf.o
1095 OBJS += ../src/crypto/sha512-kdf.o
1098 CFLAGS += -DCONFIG_SHA384
1108 OBJS += ../src/crypto/sha384-prf.o
1111 CFLAGS += -DCONFIG_SHA512
1121 OBJS += ../src/crypto/sha512-prf.o
1125 CFLAGS += -DCONFIG_INTERNAL_SHA384
1126 OBJS += ../src/crypto/sha384-internal.o
1130 CFLAGS += -DCONFIG_INTERNAL_SHA512
1131 OBJS += ../src/crypto/sha512-internal.o
1142 CFLAGS += -DALL_DH_GROUPS
1151 CFLAGS += -DCONFIG_ECC
1155 CFLAGS += -DCONFIG_NO_RANDOM_POOL
1158 CFLAGS += -DCONFIG_GETRANDOM
1174 CFLAGS += -DRADIUS_SERVER
1179 CFLAGS += -DCONFIG_IPV6
1183 CFLAGS += -DCONFIG_DRIVER_RADIUS_ACL
1192 CFLAGS += -DCONFIG_JSON
1204 CFLAGS += -DNEED_AP_MLME
1213 CFLAGS += -DCONFIG_P2P_MANAGER
1218 CFLAGS += -DCONFIG_HS20
1220 CONFIG_INTERWORKING=y
1224 CFLAGS += -DCONFIG_INTERWORKING
1225 NEED_GAS=y
1234 CFLAGS += -DCONFIG_PROXYARP
1251 CFLAGS += -DCONFIG_ACS
1253 LIBS += -lm
1257 CFLAGS += -DCONFIG_NO_STDOUT_DEBUG
1261 CFLAGS += -DCONFIG_DEBUG_SYSLOG
1265 CFLAGS += -DCONFIG_DEBUG_LINUX_TRACING
1269 CFLAGS += -DCONFIG_DEBUG_FILE
1273 CFLAGS += -DCONFIG_SQLITE
1274 LIBS += -lsqlite3
1275 LIBS_h += -lsqlite3
1279 CFLAGS += -DCONFIG_FST
1286 CFLAGS += -DCONFIG_FST_TEST
1294 CFLAGS += -DCONFIG_WEP
1298 CFLAGS += -DCONFIG_NO_TKIP
1302 install -D $(<) $(@)
1310 $(Q)$(CC) $(LDFLAGS) -o hostapd $(OBJS) $(LIBS)
1321 $(Q)$(CC) $(LDFLAGS) -o hostapd_cli $(OBJS_c) $(LIBS_c)
1334 NOBJS += ../src/crypto/md5-internal.o
1345 HOBJS += ../src/crypto/aes-encblock.o
1347 HOBJS += ../src/crypto/aes-internal.o
1348 HOBJS += ../src/crypto/aes-internal-enc.o
1368 SOBJS += ../src/crypto/sha256-prf.o
1369 SOBJS += ../src/crypto/sha384-prf.o
1370 SOBJS += ../src/crypto/sha512-prf.o
1372 SOBJS += ../src/crypto/sha256-kdf.o
1373 SOBJS += ../src/crypto/sha384-kdf.o
1374 SOBJS += ../src/crypto/sha512-kdf.o
1384 $(Q)$(CC) $(LDFLAGS) -o nt_password_hash $(NOBJS) $(LIBS_n)
1388 $(Q)$(CC) $(LDFLAGS) -o hlr_auc_gw $(HOBJS) $(LIBS_h)
1392 $(Q)$(CC) $(LDFLAGS) -o sae_pk_gen $(SOBJS) $(LIBS_s)
1395 .PHONY: lcov-html
1396 lcov-html:
1397 lcov -c -d $(BUILDDIR) > lcov.info
1398 genhtml lcov.info --output-directory lcov-html
1400 clean: common-clean
1401 rm -f core *~ nt_password_hash hlr_auc_gw
1402 rm -f sae_pk_gen
1403 rm -f lcov.info
1404 rm -rf lcov-html