1ALL=wnm
2include ../rules.include
3
4CFLAGS += -DCONFIG_WNM
5CFLAGS += -DCONFIG_INTERWORKING
6CFLAGS += -DCONFIG_GAS
7CFLAGS += -DCONFIG_HS20
8CFLAGS += -DIEEE8021X_EAPOL
9
10LIBS += $(SRC)/common/libcommon.a
11LIBS += $(SRC)/crypto/libcrypto.a
12LIBS += $(SRC)/tls/libtls.a
13LIBS += $(SRC)/rsn_supp/librsn_supp.a
14LIBS += $(SRC)/eapol_supp/libeapol_supp.a
15LIBS += $(SRC)/eap_peer/libeap_peer.a
16LIBS += $(SRC)/eap_common/libeap_common.a
17LIBS += $(SRC)/l2_packet/libl2_packet.a
18LIBS += $(SRC)/utils/libutils.a
19
20ELIBS += $(SRC)/crypto/libcrypto.a
21ELIBS += $(SRC)/tls/libtls.a
22
23OBJS += $(WPAS_SRC)/bssid_ignore.o
24OBJS += $(WPAS_SRC)/bss.o
25OBJS += $(WPAS_SRC)/config.o
26OBJS += $(WPAS_SRC)/config_file.o
27OBJS += $(WPAS_SRC)/eap_register.o
28OBJS += $(WPAS_SRC)/events.o
29OBJS += $(WPAS_SRC)/gas_query.o
30OBJS += $(WPAS_SRC)/hs20_supplicant.o
31OBJS += $(WPAS_SRC)/interworking.o
32OBJS += $(WPAS_SRC)/notify.o
33OBJS += $(WPAS_SRC)/offchannel.o
34OBJS += $(WPAS_SRC)/op_classes.o
35OBJS += $(WPAS_SRC)/robust_av.o
36OBJS += $(WPAS_SRC)/rrm.o
37OBJS += $(WPAS_SRC)/scan.o
38OBJS += $(WPAS_SRC)/wmm_ac.o
39OBJS += $(WPAS_SRC)/wnm_sta.o
40OBJS += $(WPAS_SRC)/wpa_supplicant.o
41OBJS += $(WPAS_SRC)/wpas_glue.o
42OBJS += $(SRC)/drivers/driver_common.o
43OBJS += $(SRC)/drivers/drivers.o
44
45OBJS += wnm.o
46
47_OBJS_VAR := OBJS
48include ../../../src/objs.mk
49
50_OBJS_VAR := LIBS
51include ../../../src/objs.mk
52
53_OBJS_VAR := ELIBS
54include ../../../src/objs.mk
55
56wnm: $(OBJS) $(LIBS)
57	$(LDO) $(LDFLAGS) -o $@ $^ $(LIBS) $(ELIBS)
58
59clean: common-clean
60	rm -f wnm *~ *.o *.d ../*~ ../*.o ../*.d
61