Lines Matching +full:- +full:o
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
54 CFLAGS += -DOS_NO_C_LIB_DEFINES
58 CFLAGS += -DCONFIG_NATIVE_WINDOWS
59 LIBS += -lws2_32
62 OBJS += main.o
63 OBJS += config_file.o
65 OBJS += ../src/ap/hostapd.o
66 OBJS += ../src/ap/wpa_auth_glue.o
67 OBJS += ../src/ap/drv_callbacks.o
68 OBJS += ../src/ap/ap_drv_ops.o
69 OBJS += ../src/ap/utils.o
70 OBJS += ../src/ap/authsrv.o
71 OBJS += ../src/ap/ieee802_1x.o
72 OBJS += ../src/ap/ap_config.o
73 OBJS += ../src/ap/eap_user_db.o
74 OBJS += ../src/ap/ieee802_11_auth.o
75 OBJS += ../src/ap/sta_info.o
76 OBJS += ../src/ap/wpa_auth.o
77 OBJS += ../src/ap/tkip_countermeasures.o
78 OBJS += ../src/ap/ap_mlme.o
79 OBJS += ../src/ap/wpa_auth_ie.o
80 OBJS += ../src/ap/preauth_auth.o
81 OBJS += ../src/ap/pmksa_cache_auth.o
82 OBJS += ../src/ap/ieee802_11_shared.o
83 OBJS += ../src/ap/beacon.o
84 OBJS += ../src/ap/bss_load.o
85 OBJS += ../src/ap/neighbor_db.o
86 OBJS += ../src/ap/rrm.o
88 OBJS_c = hostapd_cli.o
89 OBJS_c += ../src/common/wpa_ctrl.o
90 OBJS_c += ../src/utils/os_$(CONFIG_OS).o
91 OBJS_c += ../src/common/cli.o
98 OBJS += ../src/drivers/drivers.o
99 CFLAGS += -DHOSTAPD
102 CFLAGS += -DCONFIG_TAXONOMY
103 OBJS += ../src/ap/taxonomy.o
107 CFLAGS += -DCONFIG_MODULE_TESTS
108 OBJS += hapd_module_tests.o
112 CFLAGS += -DWPA_TRACE
113 OBJS += ../src/utils/trace.o
114 HOBJS += ../src/utils/trace.o
115 LDFLAGS += -rdynamic
116 CFLAGS += -funwind-tables
118 CFLAGS += -DPACKAGE="hostapd" -DWPA_TRACE_BFD
119 LIBS += -lbfd -ldl -liberty -lz
120 LIBS_c += -lbfd -ldl -liberty -lz
121 LIBS_h += -lbfd -ldl -liberty -lz
122 LIBS_n += -lbfd -ldl -liberty -lz
123 LIBS_s += -lbfd -ldl -liberty -lz
130 OBJS += ../src/utils/$(CONFIG_ELOOP).o
131 OBJS_c += ../src/utils/$(CONFIG_ELOOP).o
134 # Using glibc < 2.17 requires -lrt for clock_gettime()
135 LIBS += -lrt
136 LIBS_c += -lrt
137 LIBS_h += -lrt
138 LIBS_n += -lrt
142 CFLAGS += -DCONFIG_ELOOP_POLL
146 CFLAGS += -DCONFIG_ELOOP_EPOLL
150 CFLAGS += -DCONFIG_ELOOP_KQUEUE
153 OBJS += ../src/utils/common.o
154 OBJS_c += ../src/utils/common.o
155 OBJS += ../src/utils/wpa_debug.o
156 OBJS_c += ../src/utils/wpa_debug.o
157 OBJS += ../src/utils/wpabuf.o
158 OBJS += ../src/utils/os_$(CONFIG_OS).o
159 OBJS += ../src/utils/ip_addr.o
160 OBJS += ../src/utils/crc32.o
162 OBJS += ../src/common/ieee802_11_common.o
163 OBJS += ../src/common/wpa_common.o
164 OBJS += ../src/common/hw_features_common.o
166 OBJS += ../src/eapol_auth/eapol_auth_sm.o
170 CFLAGS += -O0 -fprofile-arcs -ftest-coverage
171 LIBS += -lgcov
172 LIBS_c += -lgcov
173 LIBS_h += -lgcov
174 LIBS_n += -lgcov
181 CFLAGS += -DHOSTAPD_DUMP_STATE
182 OBJS += ../src/eapol_auth/eapol_auth_dump.o
186 CFLAGS += -DCONFIG_NO_RADIUS
189 OBJS += ../src/radius/radius.o
190 OBJS += ../src/radius/radius_client.o
191 OBJS += ../src/radius/radius_das.o
195 CFLAGS += -DCONFIG_NO_ACCOUNTING
197 OBJS += ../src/ap/accounting.o
201 CFLAGS += -DCONFIG_NO_VLAN
203 OBJS += ../src/ap/vlan_init.o
204 OBJS += ../src/ap/vlan_ifconfig.o
205 OBJS += ../src/ap/vlan.o
209 CFLAGS += -DCONFIG_FULL_DYNAMIC_VLAN
210 OBJS += ../src/ap/vlan_full.o
212 OBJS += ../src/ap/vlan_util.o
214 OBJS += ../src/ap/vlan_ioctl.o
220 CFLAGS += -DCONFIG_NO_CTRL_IFACE
223 CFLAGS += -DCONFIG_CTRL_IFACE_UDP
226 CFLAGS += -DCONFIG_CTRL_IFACE_UDP
227 CFLAGS += -DCONFIG_CTRL_IFACE_UDP_IPV6
229 ifeq ($(CONFIG_CTRL_IFACE), udp-remote)
230 CFLAGS += -DCONFIG_CTRL_IFACE_UDP
231 CFLAGS += -DCONFIG_CTRL_IFACE_UDP_REMOTE
233 ifeq ($(CONFIG_CTRL_IFACE), udp6-remote)
234 CFLAGS += -DCONFIG_CTRL_IFACE_UDP
235 CFLAGS += -DCONFIG_CTRL_IFACE_UDP_REMOTE
236 CFLAGS += -DCONFIG_CTRL_IFACE_UDP_IPV6
238 CFLAGS += -DCONFIG_CTRL_IFACE_UNIX
243 OBJS += ../src/common/ctrl_iface_common.o
244 OBJS += ctrl_iface.o
245 OBJS += ../src/ap/ctrl_iface_ap.o
249 CFLAGS += -DCONFIG_CTRL_IFACE
253 CFLAGS += -DCONFIG_RSN_PREAUTH
266 CFLAGS += -DCONFIG_SUITEB
270 CFLAGS += -DCONFIG_SUITEB192
275 CFLAGS += -DCONFIG_OCV
276 OBJS += ../src/common/ocv.o
280 CFLAGS += -DCONFIG_IEEE80211R -DCONFIG_IEEE80211R_AP
281 OBJS += ../src/ap/wpa_auth_ft.o
289 CFLAGS += -DCONFIG_ETH_P_OUI
290 OBJS += ../src/ap/eth_p_oui.o
294 CFLAGS += -DCONFIG_SAE
295 OBJS += ../src/common/sae.o
297 CFLAGS += -DCONFIG_SAE_PK
298 OBJS += ../src/common/sae_pk.o
308 CFLAGS += -DCONFIG_OWE
318 L_CFLAGS += -DCONFIG_WAPI_INTERFACE
322 CFLAGS += -DCONFIG_AIRTIME_POLICY
323 OBJS += ../src/ap/airtime_policy.o
327 CFLAGS += -DCONFIG_FILS
328 OBJS += ../src/ap/fils_hlp.o
332 CFLAGS += -DCONFIG_FILS_SK_PFS
338 CFLAGS += -DCONFIG_WNM -DCONFIG_WNM_AP
339 OBJS += ../src/ap/wnm_ap.o
343 CFLAGS += -DCONFIG_IEEE80211AC
347 CFLAGS += -DCONFIG_IEEE80211AX
348 OBJS += ../src/ap/ieee802_11_he.o
352 CFLAGS += -DCONFIG_MBO
353 OBJS += ../src/ap/mbo_ap.o
365 LIBS += -lpcap
366 OBJS += ../src/l2_packet/l2_packet_freebsd.o
368 LIBS += -ldnet -lpcap
369 OBJS += ../src/l2_packet/l2_packet_pcap.o
372 OBJS += ../src/l2_packet/l2_packet_linux.o
375 OBJS += ../src/l2_packet/l2_packet_none.o
380 CFLAGS += -DCONFIG_ERP
385 CFLAGS += -DEAP_SERVER_MD5
386 OBJS += ../src/eap_server/eap_server_md5.o
391 CFLAGS += -DEAP_SERVER_TLS
392 OBJS += ../src/eap_server/eap_server_tls.o
397 CFLAGS += -DEAP_SERVER_UNAUTH_TLS
399 OBJS += ../src/eap_server/eap_server_tls.o
405 CFLAGS += -DEAP_SERVER_PEAP
406 OBJS += ../src/eap_server/eap_server_peap.o
407 OBJS += ../src/eap_common/eap_peap_common.o
413 CFLAGS += -DEAP_SERVER_TTLS
414 OBJS += ../src/eap_server/eap_server_ttls.o
420 CFLAGS += -DEAP_SERVER_MSCHAPV2
421 OBJS += ../src/eap_server/eap_server_mschapv2.o
426 CFLAGS += -DEAP_SERVER_GTC
427 OBJS += ../src/eap_server/eap_server_gtc.o
431 CFLAGS += -DEAP_SERVER_SIM
432 OBJS += ../src/eap_server/eap_server_sim.o
438 CFLAGS += -DEAP_SERVER_AKA
439 OBJS += ../src/eap_server/eap_server_aka.o
445 CFLAGS += -DEAP_SERVER_AKA_PRIME
449 OBJS += ../src/eap_common/eap_sim_common.o
450 # Example EAP-SIM/AKA interface for GSM/UMTS authentication. This can be
453 OBJS += ../src/eap_server/eap_sim_db.o
458 CFLAGS += -DEAP_SERVER_PAX
459 OBJS += ../src/eap_server/eap_server_pax.o ../src/eap_common/eap_pax_common.o
463 CFLAGS += -DEAP_SERVER_PSK
464 OBJS += ../src/eap_server/eap_server_psk.o ../src/eap_common/eap_psk_common.o
470 CFLAGS += -DEAP_SERVER_SAKE
471 OBJS += ../src/eap_server/eap_server_sake.o ../src/eap_common/eap_sake_common.o
475 CFLAGS += -DEAP_SERVER_GPSK
476 OBJS += ../src/eap_server/eap_server_gpsk.o ../src/eap_common/eap_gpsk_common.o
478 CFLAGS += -DEAP_GPSK_SHA256
483 CFLAGS += -DEAP_SERVER_PWD
484 OBJS += ../src/eap_server/eap_server_pwd.o ../src/eap_common/eap_pwd_common.o
490 CFLAGS += -DEAP_SERVER_EKE
491 OBJS += ../src/eap_server/eap_server_eke.o ../src/eap_common/eap_eke_common.o
497 CFLAGS += -DEAP_SERVER_VENDOR_TEST
498 OBJS += ../src/eap_server/eap_server_vendor_test.o
502 CFLAGS += -DEAP_SERVER_FAST
503 OBJS += ../src/eap_server/eap_server_fast.o
504 OBJS += ../src/eap_common/eap_fast_common.o
511 CFLAGS += -DEAP_SERVER_TEAP
512 OBJS += ../src/eap_server/eap_server_teap.o
513 OBJS += ../src/eap_common/eap_teap_common.o
523 CFLAGS += -DCONFIG_WPS -DEAP_SERVER_WSC
524 OBJS += ../src/utils/uuid.o
525 OBJS += ../src/ap/wps_hostapd.o
526 OBJS += ../src/eap_server/eap_server_wsc.o ../src/eap_common/eap_wsc_common.o
527 OBJS += ../src/wps/wps.o
528 OBJS += ../src/wps/wps_common.o
529 OBJS += ../src/wps/wps_attr_parse.o
530 OBJS += ../src/wps/wps_attr_build.o
531 OBJS += ../src/wps/wps_attr_process.o
532 OBJS += ../src/wps/wps_dev_attr.o
533 OBJS += ../src/wps/wps_enrollee.o
534 OBJS += ../src/wps/wps_registrar.o
542 CFLAGS += -DCONFIG_WPS_NFC
543 OBJS += ../src/wps/ndef.o
548 CFLAGS += -DCONFIG_WPS_OOB
552 CFLAGS += -DCONFIG_WPS_UPNP
553 OBJS += ../src/wps/wps_upnp.o
554 OBJS += ../src/wps/wps_upnp_ssdp.o
555 OBJS += ../src/wps/wps_upnp_web.o
556 OBJS += ../src/wps/wps_upnp_event.o
557 OBJS += ../src/wps/wps_upnp_ap.o
558 OBJS += ../src/wps/upnp_xml.o
559 OBJS += ../src/wps/httpread.o
560 OBJS += ../src/wps/http_client.o
561 OBJS += ../src/wps/http_server.o
565 CFLAGS += -DCONFIG_WPS_STRICT
566 OBJS += ../src/wps/wps_validate.o
570 CFLAGS += -DCONFIG_WPS_TESTING
576 CFLAGS += -DCONFIG_DPP
577 OBJS += ../src/common/dpp.o
578 OBJS += ../src/common/dpp_auth.o
579 OBJS += ../src/common/dpp_backup.o
580 OBJS += ../src/common/dpp_crypto.o
581 OBJS += ../src/common/dpp_pkex.o
582 OBJS += ../src/common/dpp_reconfig.o
583 OBJS += ../src/common/dpp_tcp.o
584 OBJS += ../src/ap/dpp_hostapd.o
585 OBJS += ../src/ap/gas_query_ap.o
598 CFLAGS += -DCONFIG_DPP2
603 CFLAGS += -DCONFIG_PASN
604 CFLAGS += -DCONFIG_PTKSA_CACHE
609 OBJS += ../src/common/ptksa_cache.o
613 CFLAGS += -DEAP_SERVER_IKEV2
614 OBJS += ../src/eap_server/eap_server_ikev2.o ../src/eap_server/ikev2.o
615 OBJS += ../src/eap_common/eap_ikev2_common.o ../src/eap_common/ikev2_common.o
623 CFLAGS += -DEAP_SERVER_TNC
624 OBJS += ../src/eap_server/eap_server_tnc.o
625 OBJS += ../src/eap_server/tncs.o
628 LIBS += -ldl
633 CFLAGS += -DCONFIG_MACSEC
634 OBJS += ../src/ap/wpa_auth_kay.o
635 OBJS += ../src/pae/ieee802_1x_cp.o
636 OBJS += ../src/pae/ieee802_1x_kay.o
637 OBJS += ../src/pae/ieee802_1x_key.o
638 OBJS += ../src/pae/ieee802_1x_secy_ops.o
642 OBJS += eap_register.o
643 OBJS += ../src/eap_server/eap_server.o
644 OBJS += ../src/eap_common/eap_common.o
645 OBJS += ../src/eap_server/eap_server_methods.o
646 OBJS += ../src/eap_server/eap_server_identity.o
647 CFLAGS += -DEAP_SERVER_IDENTITY
650 CFLAGS += -DEAP_SERVER
654 CFLAGS += -DPKCS12_FUNCS
658 OBJS += ../src/common/dragonfly.o
662 OBJS += ../src/crypto/ms_funcs.o
668 OBJS += ../src/eap_common/chap.o
674 CFLAGS += -DEAP_TLS_FUNCS
675 OBJS += ../src/eap_server/eap_server_tls_common.o
684 CFLAGS += -DCONFIG_TLSV11
688 CFLAGS += -DCONFIG_TLSV12
694 OBJS += ../src/crypto/tls_wolfssl.o
695 LIBS += -lwolfssl -lm
697 OBJS += ../src/crypto/crypto_wolfssl.o
698 HOBJS += ../src/crypto/crypto_wolfssl.o
700 OBJS += ../src/crypto/fips_prf_wolfssl.o
703 LIBS += -lwolfssl -lm
704 LIBS_h += -lwolfssl -lm
706 LIBS += -ldl
707 LIBS_h += -ldl
714 OBJS += ../src/crypto/tls_openssl.o
715 OBJS += ../src/crypto/tls_openssl_ocsp.o
716 LIBS += -lssl
718 OBJS += ../src/crypto/crypto_openssl.o
719 HOBJS += ../src/crypto/crypto_openssl.o
720 SOBJS += ../src/crypto/crypto_openssl.o
722 OBJS += ../src/crypto/fips_prf_openssl.o
725 LIBS += -lcrypto
726 LIBS_h += -lcrypto
727 LIBS_n += -lcrypto
728 LIBS_s += -lcrypto
730 LIBS += -ldl
731 LIBS_h += -ldl
732 LIBS_s += -ldl
737 CFLAGS += -DTLS_DEFAULT_CIPHERS=\"$(CONFIG_TLS_DEFAULT_CIPHERS)\"
746 OBJS += ../src/crypto/tls_gnutls.o
747 LIBS += -lgnutls -lgpg-error
749 OBJS += ../src/crypto/crypto_$(CONFIG_CRYPTO).o
750 HOBJS += ../src/crypto/crypto_$(CONFIG_CRYPTO).o
752 OBJS += ../src/crypto/fips_prf_internal.o
753 SHA1OBJS += ../src/crypto/sha1-internal.o
756 LIBS += -lgcrypt
757 LIBS_h += -lgcrypt
758 LIBS_n += -lgcrypt
763 LIBS += -lnettle -lgmp
764 LIBS_p += -lnettle -lgmp
775 OBJS += ../src/crypto/crypto_internal-rsa.o
776 OBJS += ../src/crypto/tls_internal.o
777 OBJS += ../src/tls/tlsv1_common.o
778 OBJS += ../src/tls/tlsv1_record.o
779 OBJS += ../src/tls/tlsv1_cred.o
780 OBJS += ../src/tls/tlsv1_server.o
781 OBJS += ../src/tls/tlsv1_server_write.o
782 OBJS += ../src/tls/tlsv1_server_read.o
783 OBJS += ../src/tls/rsa.o
784 OBJS += ../src/tls/x509v3.o
785 OBJS += ../src/tls/pkcs1.o
786 OBJS += ../src/tls/pkcs5.o
787 OBJS += ../src/tls/pkcs8.o
796 CFLAGS += -DCONFIG_TLS_INTERNAL
797 CFLAGS += -DCONFIG_TLS_INTERNAL_SERVER
801 OBJS += ../src/crypto/crypto_internal-cipher.o
804 OBJS += ../src/crypto/crypto_internal-modexp.o
805 OBJS += ../src/tls/bignum.o
808 OBJS += ../src/crypto/crypto_libtomcrypt.o
809 LIBS += -ltomcrypt -ltfm
810 LIBS_h += -ltomcrypt -ltfm
816 OBJS += ../src/crypto/crypto_internal.o
818 CFLAGS += -DCONFIG_CRYPTO_INTERNAL
820 CFLAGS += -DCONFIG_INTERNAL_LIBTOMMATH
822 CFLAGS += -DLTM_FAST
825 LIBS += -ltommath
826 LIBS_h += -ltommath
840 OBJS += ../src/crypto/crypto_cryptoapi.o
841 OBJS_p += ../src/crypto/crypto_cryptoapi.o
842 CFLAGS += -DCONFIG_CRYPTO_CRYPTOAPI
849 OBJS += ../src/crypto/crypto_linux.o
851 OBJS += ../src/crypto/crypto_internal-rsa.o
852 OBJS += ../src/crypto/tls_internal.o
853 OBJS += ../src/tls/tlsv1_common.o
854 OBJS += ../src/tls/tlsv1_record.o
855 OBJS += ../src/tls/tlsv1_cred.o
856 OBJS += ../src/tls/tlsv1_server.o
857 OBJS += ../src/tls/tlsv1_server_write.o
858 OBJS += ../src/tls/tlsv1_server_read.o
859 OBJS += ../src/tls/rsa.o
860 OBJS += ../src/tls/x509v3.o
861 OBJS += ../src/tls/pkcs1.o
862 OBJS += ../src/tls/pkcs5.o
863 OBJS += ../src/tls/pkcs8.o
872 CFLAGS += -DCONFIG_TLS_INTERNAL
873 CFLAGS += -DCONFIG_TLS_INTERNAL_SERVER
876 OBJS += ../src/crypto/crypto_internal-modexp.o
877 OBJS += ../src/tls/bignum.o
878 CFLAGS += -DCONFIG_INTERNAL_LIBTOMMATH
879 CFLAGS += -DLTM_FAST
883 OBJS += ../src/crypto/fips_prf_internal.o
884 OBJS += ../src/crypto/sha1-internal.o
890 OBJS += ../src/crypto/tls_none.o
891 CFLAGS += -DEAP_TLS_NONE
896 OBJS += ../src/crypto/crypto_none.o
897 OBJS_p += ../src/crypto/crypto_none.o
903 OBJS += ../src/crypto/tls_none.o
914 AESOBJS += ../src/crypto/aes-internal.o ../src/crypto/aes-internal-enc.o
919 AESOBJS += ../src/crypto/aes-wrap.o
923 AESOBJS += ../src/crypto/aes-eax.o
927 AESOBJS += ../src/crypto/aes-siv.o
931 AESOBJS += ../src/crypto/aes-ctr.o
934 AESOBJS += ../src/crypto/aes-encblock.o
938 AESOBJS += ../src/crypto/aes-omac1.o
946 AESOBJS += ../src/crypto/aes-unwrap.o
956 AESOBJS += ../src/crypto/aes-cbc.o
963 AESOBJS += ../src/crypto/aes-internal-dec.o
975 SHA1OBJS += ../src/crypto/sha1.o
980 SHA1OBJS += ../src/crypto/sha1-prf.o
982 SHA1OBJS += ../src/crypto/sha1-internal.o
984 SHA1OBJS += ../src/crypto/fips_prf_internal.o
989 SHA1OBJS += ../src/crypto/sha1-pbkdf2.o
993 SHA1OBJS += ../src/crypto/sha1-tprf.o
996 SHA1OBJS += ../src/crypto/sha1-tlsprf.o
1008 OBJS += ../src/crypto/md5.o
1016 OBJS += ../src/crypto/md5-internal.o
1017 HOBJS += ../src/crypto/md5-internal.o
1023 OBJS += ../src/crypto/md4-internal.o
1028 CFLAGS += -DCONFIG_DES
1030 OBJS += ../src/crypto/des-internal.o
1035 CFLAGS += -DCONFIG_NO_RC4
1041 OBJS += ../src/crypto/rc4.o
1046 CFLAGS += -DCONFIG_SHA256
1051 OBJS += ../src/crypto/sha256.o
1056 OBJS += ../src/crypto/sha256-prf.o
1058 OBJS += ../src/crypto/sha256-internal.o
1061 OBJS += ../src/crypto/sha256-tlsprf.o
1064 OBJS += ../src/crypto/sha384-tlsprf.o
1067 OBJS += ../src/crypto/sha256-kdf.o
1070 OBJS += ../src/crypto/sha384-kdf.o
1073 OBJS += ../src/crypto/sha512-kdf.o
1076 CFLAGS += -DCONFIG_SHA384
1081 OBJS += ../src/crypto/sha384.o
1086 OBJS += ../src/crypto/sha384-prf.o
1089 CFLAGS += -DCONFIG_SHA512
1094 OBJS += ../src/crypto/sha512.o
1099 OBJS += ../src/crypto/sha512-prf.o
1103 CFLAGS += -DCONFIG_INTERNAL_SHA384
1104 OBJS += ../src/crypto/sha384-internal.o
1108 CFLAGS += -DCONFIG_INTERNAL_SHA512
1109 OBJS += ../src/crypto/sha512-internal.o
1113 OBJS += ../src/tls/asn1.o
1117 OBJS += ../src/crypto/dh_groups.o
1120 CFLAGS += -DALL_DH_GROUPS
1124 OBJS += ../src/crypto/dh_group5.o
1129 CFLAGS += -DCONFIG_ECC
1133 CFLAGS += -DCONFIG_NO_RANDOM_POOL
1136 CFLAGS += -DCONFIG_GETRANDOM
1138 OBJS += ../src/crypto/random.o
1139 HOBJS += ../src/crypto/random.o
1140 HOBJS += ../src/utils/eloop.o
1145 HOBJS += ../src/crypto/md5.o
1152 CFLAGS += -DRADIUS_SERVER
1153 OBJS += ../src/radius/radius_server.o
1157 CFLAGS += -DCONFIG_IPV6
1161 CFLAGS += -DCONFIG_DRIVER_RADIUS_ACL
1165 OBJS += ../src/utils/base64.o
1169 OBJS += ../src/utils/json.o
1170 CFLAGS += -DCONFIG_JSON
1174 OBJS += ../src/ap/wmm.o
1175 OBJS += ../src/ap/ap_list.o
1176 OBJS += ../src/ap/ieee802_11.o
1177 OBJS += ../src/ap/hw_features.o
1178 OBJS += ../src/ap/dfs.o
1179 CFLAGS += -DNEED_AP_MLME
1181 OBJS += ../src/ap/ieee802_11_ht.o
1184 OBJS += ../src/ap/ieee802_11_vht.o
1188 CFLAGS += -DCONFIG_P2P_MANAGER
1189 OBJS += ../src/ap/p2p_hostapd.o
1193 CFLAGS += -DCONFIG_HS20
1194 OBJS += ../src/ap/hs20.o
1199 CFLAGS += -DCONFIG_INTERWORKING
1204 OBJS += ../src/common/gas.o
1205 OBJS += ../src/ap/gas_serv.o
1209 CFLAGS += -DCONFIG_PROXYARP
1210 OBJS += ../src/ap/x_snoop.o
1211 OBJS += ../src/ap/dhcp_snoop.o
1213 OBJS += ../src/ap/ndisc_snoop.o
1217 OBJS += ../src/drivers/driver_common.o
1220 OBJS_c += ../src/utils/edit.o
1222 OBJS_c += ../src/utils/edit_simple.o
1226 CFLAGS += -DCONFIG_ACS
1227 OBJS += ../src/ap/acs.o
1228 LIBS += -lm
1232 CFLAGS += -DCONFIG_NO_STDOUT_DEBUG
1236 CFLAGS += -DCONFIG_DEBUG_SYSLOG
1240 CFLAGS += -DCONFIG_DEBUG_LINUX_TRACING
1244 CFLAGS += -DCONFIG_DEBUG_FILE
1248 CFLAGS += -DCONFIG_SQLITE
1249 LIBS += -lsqlite3
1250 LIBS_h += -lsqlite3
1254 CFLAGS += -DCONFIG_FST
1255 OBJS += ../src/fst/fst.o
1256 OBJS += ../src/fst/fst_group.o
1257 OBJS += ../src/fst/fst_iface.o
1258 OBJS += ../src/fst/fst_session.o
1259 OBJS += ../src/fst/fst_ctrl_aux.o
1261 CFLAGS += -DCONFIG_FST_TEST
1264 OBJS += ../src/fst/fst_ctrl_iface.o
1269 CFLAGS += -DCONFIG_WEP
1273 CFLAGS += -DCONFIG_NO_TKIP
1277 install -D $(<) $(@)
1285 $(Q)$(CC) $(LDFLAGS) -o hostapd $(OBJS) $(LIBS)
1289 OBJS_c += ../src/utils/trace.o
1296 $(Q)$(CC) $(LDFLAGS) -o hostapd_cli $(OBJS_c) $(LIBS_c)
1299 NOBJS = nt_password_hash.o ../src/crypto/ms_funcs.o $(SHA1OBJS)
1300 NOBJS += ../src/utils/common.o
1304 NOBJS += ../src/crypto/rc4.o
1309 NOBJS += ../src/crypto/md5-internal.o
1311 NOBJS += ../src/crypto/crypto_$(CONFIG_CRYPTO).o
1312 NOBJS += ../src/utils/os_$(CONFIG_OS).o
1313 NOBJS += ../src/utils/wpa_debug.o
1314 NOBJS += ../src/utils/wpabuf.o
1316 NOBJS += ../src/utils/trace.o
1319 …= hlr_auc_gw.o ../src/utils/common.o ../src/utils/wpa_debug.o ../src/utils/os_$(CONFIG_OS).o ../sr…
1320 HOBJS += ../src/crypto/aes-encblock.o
1322 HOBJS += ../src/crypto/aes-internal.o
1323 HOBJS += ../src/crypto/aes-internal-enc.o
1326 HOBJS += ../src/crypto/crypto_linux.o
1329 SOBJS += sae_pk_gen.o
1330 SOBJS += ../src/utils/common.o
1331 SOBJS += ../src/utils/os_$(CONFIG_OS).o
1332 SOBJS += ../src/utils/base64.o
1333 SOBJS += ../src/utils/wpa_debug.o
1334 SOBJS += ../src/utils/wpabuf.o
1336 SOBJS += ../src/utils/trace.o
1338 SOBJS += ../src/common/ieee802_11_common.o
1339 SOBJS += ../src/common/sae.o
1340 SOBJS += ../src/common/sae_pk.o
1341 SOBJS += ../src/common/dragonfly.o
1343 SOBJS += ../src/crypto/sha256-prf.o
1344 SOBJS += ../src/crypto/sha384-prf.o
1345 SOBJS += ../src/crypto/sha512-prf.o
1346 SOBJS += ../src/crypto/dh_groups.o
1347 SOBJS += ../src/crypto/sha256-kdf.o
1348 SOBJS += ../src/crypto/sha384-kdf.o
1349 SOBJS += ../src/crypto/sha512-kdf.o
1359 $(Q)$(CC) $(LDFLAGS) -o nt_password_hash $(NOBJS) $(LIBS_n)
1363 $(Q)$(CC) $(LDFLAGS) -o hlr_auc_gw $(HOBJS) $(LIBS_h)
1367 $(Q)$(CC) $(LDFLAGS) -o sae_pk_gen $(SOBJS) $(LIBS_s)
1370 .PHONY: lcov-html
1371 lcov-html:
1372 lcov -c -d $(BUILDDIR) > lcov.info
1373 genhtml lcov.info --output-directory lcov-html
1375 clean: common-clean
1376 rm -f core *~ nt_password_hash hlr_auc_gw
1377 rm -f sae_pk_gen
1378 rm -f lcov.info
1379 rm -rf lcov-html