2020-10-11 09:58:57 +02:00
|
|
|
ALL=eap-sim-peer
|
2019-06-02 15:38:17 +02:00
|
|
|
include ../rules.include
|
|
|
|
|
|
|
|
CFLAGS += -DIEEE8021X_EAPOL
|
|
|
|
CFLAGS += -DCONFIG_SIM_SIMULATOR
|
|
|
|
|
|
|
|
OBJS += $(SRC)/eap_peer/eap_sim.o
|
|
|
|
OBJS += $(SRC)/eap_common/eap_sim_common.o
|
|
|
|
OBJS += $(SRC)/eap_common/eap_common.o
|
|
|
|
LIBS += $(SRC)/crypto/libcrypto.a
|
|
|
|
LIBS += $(SRC)/utils/libutils.a
|
|
|
|
|
2020-10-11 09:58:57 +02:00
|
|
|
OBJS += eap-sim-peer.o
|
|
|
|
|
|
|
|
_OBJS_VAR := OBJS
|
|
|
|
include ../../../src/objs.mk
|
|
|
|
|
2020-10-11 09:58:58 +02:00
|
|
|
_OBJS_VAR := LIBS
|
|
|
|
include ../../../src/objs.mk
|
|
|
|
|
2020-10-11 09:58:57 +02:00
|
|
|
eap-sim-peer: $(OBJS) $(LIBS)
|
2019-06-02 15:38:17 +02:00
|
|
|
$(Q)$(LDO) $(LDFLAGS) -o $@ $^ $(LIBS) $(ELIBS)
|
|
|
|
@$(E) " LD " $@
|
|
|
|
|
2020-10-11 09:58:57 +02:00
|
|
|
clean: common-clean
|
2019-06-02 15:38:17 +02:00
|
|
|
rm -f eap-sim-peer *~ *.o *.d ../*~ ../*.o ../*.d
|