6 CFLAGS
= -MMD
-O2
-Wall
-g
9 # define HOSTAPD_DUMP_STATE to include SIGUSR1 handler for dumping state to
10 # a file (undefine it, if you want to save in binary size)
11 CFLAGS
+= -DHOSTAPD_DUMP_STATE
14 CFLAGS
+= -I..
/src
/crypto
15 CFLAGS
+= -I..
/src
/utils
16 CFLAGS
+= -I..
/src
/common
18 # Uncomment following line and set the path to your kernel tree include
19 # directory if your C library does not include all header files.
20 # CFLAGS += -DUSE_KERNEL_HEADERS -I/usr/src/linux/include
25 ifdef CONFIG_NATIVE_WINDOWS
32 ifeq ($(CONFIG_OS
), internal
)
33 CFLAGS
+= -DOS_NO_C_LIB_DEFINES
36 ifdef CONFIG_NATIVE_WINDOWS
37 CFLAGS
+= -DCONFIG_NATIVE_WINDOWS
41 OBJS
= hostapd.o main.o ieee802_1x.o eapol_sm.o \
42 config.o ieee802_11_auth.o \
44 preauth.o pmksa_cache.o \
46 tkip_countermeasures.o \
53 OBJS
+= ..
/src
/drivers
/drivers.o
54 OBJS
+= ..
/src
/drivers
/scan_helpers.o
57 OBJS
+= ..
/src
/utils
/eloop.o
58 OBJS
+= ..
/src
/utils
/common.o
59 OBJS
+= ..
/src
/utils
/wpa_debug.o
60 OBJS
+= ..
/src
/utils
/wpabuf.o
61 OBJS
+= ..
/src
/utils
/os_
$(CONFIG_OS
).o
62 OBJS
+= ..
/src
/utils
/ip_addr.o
64 OBJS
+= ..
/src
/common
/ieee802_11_common.o
65 OBJS
+= ..
/src
/common
/wpa_common.o
67 ifdef CONFIG_NO_RADIUS
68 CFLAGS
+= -DCONFIG_NO_RADIUS
69 CONFIG_NO_ACCOUNTING
=y
71 OBJS
+= ..
/src
/radius
/radius.o
72 OBJS
+= ..
/src
/radius
/radius_client.o
75 ifdef CONFIG_NO_ACCOUNTING
76 CFLAGS
+= -DCONFIG_NO_ACCOUNTING
82 CFLAGS
+= -DCONFIG_NO_VLAN
87 ifdef CONFIG_NO_CTRL_IFACE
88 CFLAGS
+= -DCONFIG_NO_CTRL_IFACE
91 OBJS
+= ctrl_iface_ap.o
94 OBJS
+= ..
/src
/crypto
/md5.o
96 CFLAGS
+= -DCONFIG_CTRL_IFACE
-DCONFIG_CTRL_IFACE_UNIX
99 CFLAGS
+= -DCONFIG_IAPP
103 ifdef CONFIG_RSN_PREAUTH
104 CFLAGS
+= -DCONFIG_RSN_PREAUTH
109 CFLAGS
+= -DCONFIG_PEERKEY
113 ifdef CONFIG_IEEE80211W
114 CFLAGS
+= -DCONFIG_IEEE80211W
118 ifdef CONFIG_IEEE80211R
119 CFLAGS
+= -DCONFIG_IEEE80211R
125 ifdef CONFIG_IEEE80211N
126 CFLAGS
+= -DCONFIG_IEEE80211N
129 include ..
/src
/drivers
/drivers.mak
130 OBJS
+= $(DRV_AP_OBJS
)
131 CFLAGS
+= $(DRV_AP_CFLAGS
)
132 LDFLAGS
+= $(DRV_AP_LDFLAGS
)
133 LIBS
+= $(DRV_AP_LIBS
)
135 ifdef CONFIG_L2_PACKET
136 ifdef CONFIG_DNET_PCAP
137 ifdef CONFIG_L2_FREEBSD
139 OBJS
+= ..
/src
/l2_packet
/l2_packet_freebsd.o
141 LIBS
+= -ldnet
-lpcap
142 OBJS
+= ..
/src
/l2_packet
/l2_packet_pcap.o
145 OBJS
+= ..
/src
/l2_packet
/l2_packet_linux.o
148 OBJS
+= ..
/src
/l2_packet
/l2_packet_none.o
153 CFLAGS
+= -DEAP_SERVER_MD5
154 OBJS
+= ..
/src
/eap_server
/eap_md5.o
159 CFLAGS
+= -DEAP_SERVER_TLS
160 OBJS
+= ..
/src
/eap_server
/eap_tls.o
164 ifdef CONFIG_EAP_PEAP
165 CFLAGS
+= -DEAP_SERVER_PEAP
166 OBJS
+= ..
/src
/eap_server
/eap_peap.o
167 OBJS
+= ..
/src
/eap_common
/eap_peap_common.o
169 CONFIG_EAP_MSCHAPV2
=y
172 ifdef CONFIG_EAP_TTLS
173 CFLAGS
+= -DEAP_SERVER_TTLS
174 OBJS
+= ..
/src
/eap_server
/eap_ttls.o
179 ifdef CONFIG_EAP_MSCHAPV2
180 CFLAGS
+= -DEAP_SERVER_MSCHAPV2
181 OBJS
+= ..
/src
/eap_server
/eap_mschapv2.o
186 CFLAGS
+= -DEAP_SERVER_GTC
187 OBJS
+= ..
/src
/eap_server
/eap_gtc.o
191 CFLAGS
+= -DEAP_SERVER_SIM
192 OBJS
+= ..
/src
/eap_server
/eap_sim.o
193 CONFIG_EAP_SIM_COMMON
=y
198 CFLAGS
+= -DEAP_SERVER_AKA
199 OBJS
+= ..
/src
/eap_server
/eap_aka.o
200 CONFIG_EAP_SIM_COMMON
=y
205 ifdef CONFIG_EAP_AKA_PRIME
206 CFLAGS
+= -DEAP_SERVER_AKA_PRIME
209 ifdef CONFIG_EAP_SIM_COMMON
210 OBJS
+= ..
/src
/eap_common
/eap_sim_common.o
211 # Example EAP-SIM/AKA interface for GSM/UMTS authentication. This can be
212 # replaced with another file implementating the interface specified in
214 OBJS
+= ..
/src
/eap_server
/eap_sim_db.o
219 CFLAGS
+= -DEAP_SERVER_PAX
220 OBJS
+= ..
/src
/eap_server
/eap_pax.o ..
/src
/eap_common
/eap_pax_common.o
224 CFLAGS
+= -DEAP_SERVER_PSK
225 OBJS
+= ..
/src
/eap_server
/eap_psk.o ..
/src
/eap_common
/eap_psk_common.o
231 ifdef CONFIG_EAP_SAKE
232 CFLAGS
+= -DEAP_SERVER_SAKE
233 OBJS
+= ..
/src
/eap_server
/eap_sake.o ..
/src
/eap_common
/eap_sake_common.o
236 ifdef CONFIG_EAP_GPSK
237 CFLAGS
+= -DEAP_SERVER_GPSK
238 OBJS
+= ..
/src
/eap_server
/eap_gpsk.o ..
/src
/eap_common
/eap_gpsk_common.o
239 ifdef CONFIG_EAP_GPSK_SHA256
240 CFLAGS
+= -DEAP_SERVER_GPSK_SHA256
246 ifdef CONFIG_EAP_VENDOR_TEST
247 CFLAGS
+= -DEAP_SERVER_VENDOR_TEST
248 OBJS
+= ..
/src
/eap_server
/eap_vendor_test.o
251 ifdef CONFIG_EAP_FAST
252 CFLAGS
+= -DEAP_SERVER_FAST
253 OBJS
+= ..
/src
/eap_server
/eap_fast.o
254 OBJS
+= ..
/src
/eap_common
/eap_fast_common.o
261 CFLAGS
+= -DCONFIG_WPS
-DEAP_SERVER_WSC
262 OBJS
+= ..
/src
/utils
/uuid.o
263 OBJS
+= wps_hostapd.o
264 OBJS
+= ..
/src
/eap_server
/eap_wsc.o ..
/src
/eap_common
/eap_wsc_common.o
265 OBJS
+= ..
/src
/wps
/wps.o
266 OBJS
+= ..
/src
/wps
/wps_common.o
267 OBJS
+= ..
/src
/wps
/wps_attr_parse.o
268 OBJS
+= ..
/src
/wps
/wps_attr_build.o
269 OBJS
+= ..
/src
/wps
/wps_attr_process.o
270 OBJS
+= ..
/src
/wps
/wps_dev_attr.o
271 OBJS
+= ..
/src
/wps
/wps_enrollee.o
272 OBJS
+= ..
/src
/wps
/wps_registrar.o
280 CFLAGS
+= -DCONFIG_WPS_UFD
281 OBJS
+= ..
/src
/wps
/wps_ufd.o
286 CFLAGS
+= -DCONFIG_WPS_NFC
287 OBJS
+= ..
/src
/wps
/ndef.o
288 OBJS
+= ..
/src
/wps
/wps_nfc.o
290 ifdef CONFIG_WPS_NFC_PN531
291 PN531_PATH ?
= /usr
/local
/src
/nfc
292 CFLAGS
+= -DCONFIG_WPS_NFC_PN531
293 CFLAGS
+= -I
${PN531_PATH}/inc
294 OBJS
+= ..
/src
/wps
/wps_nfc_pn531.o
295 LIBS
+= ${PN531_PATH}/lib
/wpsnfc.dll
296 LIBS
+= ${PN531_PATH}/lib
/libnfc_mapping_pn53x.dll
301 CFLAGS
+= -DCONFIG_WPS_OOB
304 ifdef CONFIG_WPS_UPNP
305 CFLAGS
+= -DCONFIG_WPS_UPNP
306 OBJS
+= ..
/src
/wps
/wps_upnp.o
307 OBJS
+= ..
/src
/wps
/wps_upnp_ssdp.o
308 OBJS
+= ..
/src
/wps
/wps_upnp_web.o
309 OBJS
+= ..
/src
/wps
/wps_upnp_event.o
310 OBJS
+= ..
/src
/wps
/httpread.o
315 ifdef CONFIG_EAP_IKEV2
316 CFLAGS
+= -DEAP_SERVER_IKEV2
317 OBJS
+= ..
/src
/eap_server
/eap_ikev2.o ..
/src
/eap_server
/ikev2.o
318 OBJS
+= ..
/src
/eap_common
/eap_ikev2_common.o ..
/src
/eap_common
/ikev2_common.o
325 CFLAGS
+= -DEAP_SERVER_TNC
326 OBJS
+= ..
/src
/eap_server
/eap_tnc.o
327 OBJS
+= ..
/src
/eap_server
/tncs.o
329 ifndef CONFIG_DRIVER_BSD
334 # Basic EAP functionality is needed for EAPOL
335 OBJS
+= ..
/src
/eap_server
/eap.o
336 OBJS
+= ..
/src
/eap_common
/eap_common.o
337 OBJS
+= ..
/src
/eap_server
/eap_methods.o
338 OBJS
+= ..
/src
/eap_server
/eap_identity.o
341 CFLAGS
+= -DEAP_SERVER
345 CFLAGS
+= -DPKCS12_FUNCS
349 OBJS
+= ..
/src
/crypto
/ms_funcs.o
355 OBJS
+= ..
/src
/eap_common
/chap.o
360 # Shared TLS functions (needed for EAP_TLS, EAP_PEAP, and EAP_TTLS)
361 CFLAGS
+= -DEAP_TLS_FUNCS
362 OBJS
+= ..
/src
/eap_server
/eap_tls_common.o
370 ifeq ($(CONFIG_TLS
), openssl
)
372 OBJS
+= ..
/src
/crypto
/tls_openssl.o
375 OBJS
+= ..
/src
/crypto
/crypto_openssl.o
376 HOBJS
+= ..
/src
/crypto
/crypto_openssl.o
377 ifdef NEED_FIPS186_2_PRF
378 OBJS
+= ..
/src
/crypto
/fips_prf_openssl.o
384 ifeq ($(CONFIG_TLS
), gnutls
)
386 OBJS
+= ..
/src
/crypto
/tls_gnutls.o
387 LIBS
+= -lgnutls
-lgpg-error
388 ifdef CONFIG_GNUTLS_EXTRA
389 CFLAGS
+= -DCONFIG_GNUTLS_EXTRA
390 LIBS
+= -lgnutls-extra
393 OBJS
+= ..
/src
/crypto
/crypto_gnutls.o
394 HOBJS
+= ..
/src
/crypto
/crypto_gnutls.o
395 ifdef NEED_FIPS186_2_PRF
396 OBJS
+= ..
/src
/crypto
/fips_prf_gnutls.o
400 CONFIG_INTERNAL_SHA256
=y
401 CONFIG_INTERNAL_RC4
=y
402 CONFIG_INTERNAL_DH_GROUP5
=y
405 ifeq ($(CONFIG_TLS
), schannel
)
407 OBJS
+= ..
/src
/crypto
/tls_schannel.o
409 OBJS
+= ..
/src
/crypto
/crypto_cryptoapi.o
410 OBJS_p
+= ..
/src
/crypto
/crypto_cryptoapi.o
411 CONFIG_INTERNAL_SHA256
=y
412 CONFIG_INTERNAL_RC4
=y
413 CONFIG_INTERNAL_DH_GROUP5
=y
416 ifeq ($(CONFIG_TLS
), nss
)
418 OBJS
+= ..
/src
/crypto
/tls_nss.o
421 OBJS
+= ..
/src
/crypto
/crypto_nss.o
422 ifdef NEED_FIPS186_2_PRF
423 OBJS
+= ..
/src
/crypto
/fips_prf_nss.o
427 CONFIG_INTERNAL_MD4
=y
428 CONFIG_INTERNAL_DH_GROUP5
=y
431 ifeq ($(CONFIG_TLS
), internal
)
433 CONFIG_CRYPTO
=internal
436 OBJS
+= ..
/src
/crypto
/tls_internal.o
437 OBJS
+= ..
/src
/tls
/tlsv1_common.o
438 OBJS
+= ..
/src
/tls
/tlsv1_record.o
439 OBJS
+= ..
/src
/tls
/tlsv1_cred.o
440 OBJS
+= ..
/src
/tls
/tlsv1_server.o
441 OBJS
+= ..
/src
/tls
/tlsv1_server_write.o
442 OBJS
+= ..
/src
/tls
/tlsv1_server_read.o
443 OBJS
+= ..
/src
/tls
/asn1.o
444 OBJS
+= ..
/src
/tls
/rsa.o
445 OBJS
+= ..
/src
/tls
/x509v3.o
449 CFLAGS
+= -DCONFIG_TLS_INTERNAL
450 CFLAGS
+= -DCONFIG_TLS_INTERNAL_SERVER
453 OBJS
+= ..
/src
/tls
/bignum.o
455 ifeq ($(CONFIG_CRYPTO
), libtomcrypt
)
456 CFLAGS
+= -DCONFIG_INTERNAL_X509
457 OBJS
+= ..
/src
/crypto
/crypto_libtomcrypt.o
458 LIBS
+= -ltomcrypt
-ltfm
459 LIBS_h
+= -ltomcrypt
-ltfm
460 CONFIG_INTERNAL_SHA256
=y
461 CONFIG_INTERNAL_RC4
=y
462 CONFIG_INTERNAL_DH_GROUP5
=y
464 ifeq ($(CONFIG_CRYPTO
), internal
)
465 CFLAGS
+= -DCONFIG_INTERNAL_X509
466 OBJS
+= ..
/src
/crypto
/crypto_internal.o
467 CFLAGS
+= -DCONFIG_CRYPTO_INTERNAL
468 ifdef CONFIG_INTERNAL_LIBTOMMATH
469 CFLAGS
+= -DCONFIG_INTERNAL_LIBTOMMATH
470 ifdef CONFIG_INTERNAL_LIBTOMMATH_FAST
477 CONFIG_INTERNAL_AES
=y
478 CONFIG_INTERNAL_DES
=y
479 CONFIG_INTERNAL_SHA1
=y
480 CONFIG_INTERNAL_MD4
=y
481 CONFIG_INTERNAL_MD5
=y
482 CONFIG_INTERNAL_SHA256
=y
483 CONFIG_INTERNAL_RC4
=y
484 CONFIG_INTERNAL_DH_GROUP5
=y
486 ifeq ($(CONFIG_CRYPTO
), cryptoapi
)
487 OBJS
+= ..
/src
/crypto
/crypto_cryptoapi.o
488 OBJS_p
+= ..
/src
/crypto
/crypto_cryptoapi.o
489 CFLAGS
+= -DCONFIG_CRYPTO_CRYPTOAPI
490 CONFIG_INTERNAL_SHA256
=y
491 CONFIG_INTERNAL_RC4
=y
495 ifeq ($(CONFIG_TLS
), none
)
497 OBJS
+= ..
/src
/crypto
/tls_none.o
498 CFLAGS
+= -DEAP_TLS_NONE
499 CONFIG_INTERNAL_AES
=y
500 CONFIG_INTERNAL_SHA1
=y
501 CONFIG_INTERNAL_MD5
=y
503 OBJS
+= ..
/src
/crypto
/crypto_none.o
504 OBJS_p
+= ..
/src
/crypto
/crypto_none.o
505 CONFIG_INTERNAL_SHA256
=y
506 CONFIG_INTERNAL_RC4
=y
510 OBJS
+= ..
/src
/crypto
/tls_none.o
511 ifeq ($(CONFIG_TLS
), internal
)
512 CONFIG_INTERNAL_AES
=y
513 CONFIG_INTERNAL_SHA1
=y
514 CONFIG_INTERNAL_MD5
=y
515 CONFIG_INTERNAL_RC4
=y
520 CFLAGS
+= -DCONFIG_MODEXP
523 AESOBJS
= # none so far
524 ifdef CONFIG_INTERNAL_AES
525 AESOBJS
+= ..
/src
/crypto
/aes-internal.o ..
/src
/crypto
/aes-internal-enc.o
528 AESOBJS
+= ..
/src
/crypto
/aes-wrap.o
530 AESOBJS
+= ..
/src
/crypto
/aes-eax.o
534 AESOBJS
+= ..
/src
/crypto
/aes-ctr.o
536 ifdef NEED_AES_ENCBLOCK
537 AESOBJS
+= ..
/src
/crypto
/aes-encblock.o
540 AESOBJS
+= ..
/src
/crypto
/aes-omac1.o
542 ifdef NEED_AES_UNWRAP
543 AESOBJS
+= ..
/src
/crypto
/aes-unwrap.o
546 ifdef CONFIG_INTERNAL_AES
547 AESOBJS
+= ..
/src
/crypto
/aes-internal-dec.o
549 AESOBJS
+= ..
/src
/crypto
/aes-cbc.o
556 SHA1OBJS
+= ..
/src
/crypto
/sha1.o
557 ifdef CONFIG_INTERNAL_SHA1
558 SHA1OBJS
+= ..
/src
/crypto
/sha1-internal.o
559 ifdef NEED_FIPS186_2_PRF
560 SHA1OBJS
+= ..
/src
/crypto
/fips_prf_internal.o
563 SHA1OBJS
+= ..
/src
/crypto
/sha1-pbkdf2.o
565 SHA1OBJS
+= ..
/src
/crypto
/sha1-tprf.o
568 SHA1OBJS
+= ..
/src
/crypto
/sha1-tlsprf.o
577 ifdef CONFIG_INTERNAL_MD5
578 OBJS
+= ..
/src
/crypto
/md5-internal.o
583 ifdef CONFIG_INTERNAL_MD4
584 OBJS
+= ..
/src
/crypto
/md4-internal.o
589 ifdef CONFIG_INTERNAL_DES
590 OBJS
+= ..
/src
/crypto
/des-internal.o
595 ifdef CONFIG_INTERNAL_RC4
596 OBJS
+= ..
/src
/crypto
/rc4.o
601 OBJS
+= ..
/src
/crypto
/sha256.o
602 ifdef CONFIG_INTERNAL_SHA256
603 OBJS
+= ..
/src
/crypto
/sha256-internal.o
607 ifdef CONFIG_INTERNAL_DH_GROUP5
609 OBJS
+= ..
/src
/crypto
/dh_groups.o
610 OBJS
+= ..
/src
/crypto
/dh_group5.o
611 ifdef NEED_DH_GROUPS_ALL
612 CFLAGS
+= -DALL_DH_GROUPS
616 ifdef NEED_DH_GROUPS_ALL
617 OBJS
+= ..
/src
/crypto
/dh_groups.o
618 CFLAGS
+= -DALL_DH_GROUPS
622 ifdef CONFIG_RADIUS_SERVER
623 CFLAGS
+= -DRADIUS_SERVER
624 OBJS
+= ..
/src
/radius
/radius_server.o
628 CFLAGS
+= -DCONFIG_IPV6
631 ifdef CONFIG_DRIVER_RADIUS_ACL
632 CFLAGS
+= -DCONFIG_DRIVER_RADIUS_ACL
635 ifdef CONFIG_FULL_DYNAMIC_VLAN
636 # define CONFIG_FULL_DYNAMIC_VLAN to have hostapd manipulate bridges
637 # and vlan interfaces for the vlan feature.
638 CFLAGS
+= -DCONFIG_FULL_DYNAMIC_VLAN
642 OBJS
+= ..
/src
/utils
/base64.o
646 OBJS
+= beacon.o wme.o ap_list.o ieee802_11.o
647 OBJS
+= hw_features.o
648 CFLAGS
+= -DNEED_AP_MLME
651 ifdef CONFIG_NO_STDOUT_DEBUG
652 CFLAGS
+= -DCONFIG_NO_STDOUT_DEBUG
655 ALL
=hostapd hostapd_cli
657 all: verify_config
$(ALL
)
667 $(Q
)$(CC
) -c
-o
$@
$(CFLAGS
) $<
671 @if
[ ! -r .config
]; then \
672 echo
'Building hostapd requires a configuration file'; \
673 echo
'(.config). See README for more instructions. You can'; \
674 echo
'run "cp defconfig .config" to create an example'; \
675 echo
'configuration.'; \
680 for i in
$(ALL
); do cp
$$i /usr
/local
/bin
/$$i; done
682 ..
/src
/drivers
/build.hostapd
:
683 @if
[ -e ..
/src
/drivers
/build.wpa_supplicant
]; then \
684 $(MAKE
) -C ..
/src
/drivers
clean; \
686 @touch ..
/src
/drivers
/build.hostapd
688 BCHECK
=..
/src
/drivers
/build.hostapd
690 hostapd
: $(BCHECK
) $(OBJS
)
691 $(CC
) $(LDFLAGS
) -o hostapd
$(OBJS
) $(LIBS
)
693 OBJS_c
= hostapd_cli.o ..
/src
/common
/wpa_ctrl.o ..
/src
/utils
/os_
$(CONFIG_OS
).o
694 hostapd_cli
: $(OBJS_c
)
695 $(CC
) $(LDFLAGS
) -o hostapd_cli
$(OBJS_c
)
697 NOBJS
= nt_password_hash.o ..
/src
/crypto
/ms_funcs.o
$(SHA1OBJS
) ..
/src
/crypto
/rc4.o ..
/src
/crypto
/md5.o
698 ifdef CONFIG_INTERNAL_MD5
699 NOBJS
+= ..
/src
/crypto
/md5-internal.o
701 NOBJS
+= ..
/src
/crypto
/crypto_openssl.o ..
/src
/utils
/os_
$(CONFIG_OS
).o
706 HOBJS
+= ..
/src
/hlr_auc_gw
/hlr_auc_gw.o ..
/src
/utils
/common.o ..
/src
/utils
/wpa_debug.o ..
/src
/utils
/os_
$(CONFIG_OS
).o ..
/src
/hlr_auc_gw
/milenage.o
707 HOBJS
+= ..
/src
/crypto
/aes-encblock.o
708 ifdef CONFIG_INTERNAL_AES
709 HOBJS
+= ..
/src
/crypto
/aes-internal.o
710 HOBJS
+= ..
/src
/crypto
/aes-internal-enc.o
713 nt_password_hash
: $(NOBJS
)
714 $(CC
) $(LDFLAGS
) -o nt_password_hash
$(NOBJS
) $(LIBS_n
)
717 $(CC
) $(LDFLAGS
) -o hlr_auc_gw
$(HOBJS
) $(LIBS_h
)
720 $(MAKE
) -C ..
/src
clean
721 rm -f core
*~
*.o hostapd hostapd_cli nt_password_hash hlr_auc_gw
725 fig2dev
-L eps
$*.fig
$*.eps
728 fig2dev
-L png
-m
3 $*.fig | pngtopnm | pnmscale
0.4 | pnmtopng \
731 docs-pics
: doc
/hostapd.png doc
/hostapd.eps
734 (cd ..
; doxygen hostapd
/doc
/doxygen.full
; cd hostapd
)
736 cp doc
/latex
/refman.pdf hostapd-devel.pdf
739 (cd ..
; doxygen hostapd
/doc
/doxygen.fast
; cd hostapd
)
742 rm -rf doc
/latex doc
/html
743 rm -f doc
/hostapd.
{eps
,png
} hostapd-devel.pdf
745 TEST_SRC_MILENAGE
= ..
/src
/hlr_auc_gw
/milenage.c ..
/src
/crypto
/aes-internal.c ..
/src
/crypto
/aes-internal-dec.c \
746 ..
/src
/crypto
/aes-cbc.c \
747 ..
/src
/crypto
/aes-ctr.c \
748 ..
/src
/crypto
/aes-eax.c \
749 ..
/src
/crypto
/aes-encblock.c \
750 ..
/src
/crypto
/aes-internal-enc.c \
751 ..
/src
/crypto
/aes-omac1.c \
752 ..
/src
/crypto
/aes-unwrap.c \
753 ..
/src
/crypto
/aes-wrap.c \
754 ..
/src
/utils
/common.c ..
/src
/utils
/wpa_debug.o ..
/src
/utils
/os_
$(CONFIG_OS
).c
755 test-milenage
: $(TEST_SRC_MILENAGE
)
756 $(CC
) $(LDFLAGS
) -o test-milenage
-Wall
-Werror
$(TEST_SRC_MILENAGE
) \
757 -DTEST_MAIN_MILENAGE
-I. \
758 -I..
/src
/crypto
-I..
/src
/utils
762 -include $(OBJS
:%.o
=%.d
)