|
@@ -1328,6 +1328,13 @@ ifndef LDO
|
|
|
LDO=$(CC)
|
|
|
endif
|
|
|
|
|
|
+Q=@
|
|
|
+E=echo
|
|
|
+ifeq ($(V), 1)
|
|
|
+Q=
|
|
|
+E=true
|
|
|
+endif
|
|
|
+
|
|
|
dynamic_eap_methods: $(EAPDYN)
|
|
|
|
|
|
../src/drivers/build.wpa_supplicant:
|
|
@@ -1339,31 +1346,40 @@ dynamic_eap_methods: $(EAPDYN)
|
|
|
BCHECK=../src/drivers/build.wpa_supplicant
|
|
|
|
|
|
wpa_priv: $(BCHECK) $(OBJS_priv)
|
|
|
- $(LDO) $(LDFLAGS) -o wpa_priv $(OBJS_priv) $(LIBS)
|
|
|
+ $(Q)$(LDO) $(LDFLAGS) -o wpa_priv $(OBJS_priv) $(LIBS)
|
|
|
+ @$(E) " LD " $@
|
|
|
|
|
|
wpa_supplicant: .config $(BCHECK) $(OBJS) $(EXTRA_progs)
|
|
|
- $(LDO) $(LDFLAGS) -o wpa_supplicant $(OBJS) $(LIBS) $(EXTRALIBS)
|
|
|
+ $(Q)$(LDO) $(LDFLAGS) -o wpa_supplicant $(OBJS) $(LIBS) $(EXTRALIBS)
|
|
|
+ @$(E) " LD " $@
|
|
|
|
|
|
eapol_test: .config $(OBJS_t)
|
|
|
- $(LDO) $(LDFLAGS) -o eapol_test $(OBJS_t) $(LIBS)
|
|
|
+ $(Q)$(LDO) $(LDFLAGS) -o eapol_test $(OBJS_t) $(LIBS)
|
|
|
+ @$(E) " LD " $@
|
|
|
|
|
|
preauth_test: .config $(OBJS_t2)
|
|
|
- $(LDO) $(LDFLAGS) -o preauth_test $(OBJS_t2) $(LIBS)
|
|
|
+ $(Q)$(LDO) $(LDFLAGS) -o preauth_test $(OBJS_t2) $(LIBS)
|
|
|
+ @$(E) " LD " $@
|
|
|
|
|
|
wpa_passphrase: $(OBJS_p)
|
|
|
- $(LDO) $(LDFLAGS) -o wpa_passphrase $(OBJS_p) $(LIBS_p)
|
|
|
+ $(Q)$(LDO) $(LDFLAGS) -o wpa_passphrase $(OBJS_p) $(LIBS_p)
|
|
|
+ @$(E) " LD " $@
|
|
|
|
|
|
wpa_cli: $(OBJS_c)
|
|
|
- $(LDO) $(LDFLAGS) -o wpa_cli $(OBJS_c) $(LIBS_c)
|
|
|
+ $(Q)$(LDO) $(LDFLAGS) -o wpa_cli $(OBJS_c) $(LIBS_c)
|
|
|
+ @$(E) " LD " $@
|
|
|
|
|
|
link_test: $(OBJS) $(OBJS_h) tests/link_test.o
|
|
|
- $(LDO) $(LDFLAGS) -o link_test $(OBJS) $(OBJS_h) tests/link_test.o $(LIBS)
|
|
|
+ $(Q)$(LDO) $(LDFLAGS) -o link_test $(OBJS) $(OBJS_h) tests/link_test.o $(LIBS)
|
|
|
+ @$(E) " LD " $@
|
|
|
|
|
|
test_wpa: $(OBJS_wpa) $(OBJS_h)
|
|
|
- $(LDO) $(LDFLAGS) -o test_wpa $(OBJS_wpa) $(LIBS)
|
|
|
+ $(Q)$(LDO) $(LDFLAGS) -o test_wpa $(OBJS_wpa) $(LIBS)
|
|
|
+ @$(E) " LD " $@
|
|
|
|
|
|
win_if_list: win_if_list.c
|
|
|
- $(LDO) $(LDFLAGS) -o $@ win_if_list.c $(CFLAGS) $(LIBS_w)
|
|
|
+ $(Q)$(LDO) $(LDFLAGS) -o $@ win_if_list.c $(CFLAGS) $(LIBS_w)
|
|
|
+ @$(E) " LD " $@
|
|
|
|
|
|
eap_psk.so: ../src/eap_peer/eap_psk.c ../src/eap_common/eap_psk_common.c
|
|
|
$(CC) $(LDFLAGS) -o $@ $(CFLAGS) -shared -rdynamic -fPIC $^ \
|
|
@@ -1389,13 +1405,6 @@ eap_ikev2.so: ../src/eap_peer/eap_ikev2.c ../src/eap_peer/ikev2.c ../src/eap_com
|
|
|
$(CC) $(LDFLAGS) -o $@ $(CFLAGS) -shared -rdynamic -fPIC $< \
|
|
|
-D$(*F:eap_%=eap_peer_%)_register=eap_peer_method_dynamic_init
|
|
|
|
|
|
-Q=@
|
|
|
-E=echo
|
|
|
-ifeq ($(V), 1)
|
|
|
-Q=
|
|
|
-E=true
|
|
|
-endif
|
|
|
-
|
|
|
%.o: %.c
|
|
|
$(Q)$(CC) -c -o $@ $(CFLAGS) $<
|
|
|
@$(E) " CC " $<
|