mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-19 03:14:05 -05:00
build: Make more library things common
We don't really need to duplicate more of this, so just move the lib.rules include to the end and do more of the stuff that's common anyway there. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
f4b3d14e97
commit
1d0d8888af
@ -1,9 +1,3 @@
|
||||
include ../lib.rules
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
||||
|
||||
CFLAGS += -DHOSTAPD
|
||||
CFLAGS += -DNEED_AP_MLME
|
||||
CFLAGS += -DCONFIG_ETH_P_OUI
|
||||
@ -63,5 +57,4 @@ LIB_OBJS= \
|
||||
wps_hostapd.o \
|
||||
x_snoop.o
|
||||
|
||||
_OBJS_VAR := LIB_OBJS
|
||||
include ../objs.mk
|
||||
include ../lib.rules
|
||||
|
@ -1,9 +1,3 @@
|
||||
include ../lib.rules
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
||||
|
||||
CFLAGS += -DCONFIG_IEEE80211R
|
||||
CFLAGS += -DCONFIG_HS20
|
||||
CFLAGS += -DCONFIG_SAE
|
||||
@ -17,5 +11,4 @@ LIB_OBJS= \
|
||||
sae.o \
|
||||
wpa_common.o
|
||||
|
||||
_OBJS_VAR := LIB_OBJS
|
||||
include ../objs.mk
|
||||
include ../lib.rules
|
||||
|
@ -1,9 +1,3 @@
|
||||
include ../lib.rules
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
||||
|
||||
CFLAGS += -DCONFIG_CRYPTO_INTERNAL
|
||||
CFLAGS += -DCONFIG_TLS_INTERNAL_CLIENT
|
||||
CFLAGS += -DCONFIG_TLS_INTERNAL_SERVER
|
||||
@ -63,6 +57,4 @@ ifndef TEST_FUZZ
|
||||
LIB_OBJS += random.o
|
||||
endif
|
||||
|
||||
|
||||
_OBJS_VAR := LIB_OBJS
|
||||
include ../objs.mk
|
||||
include ../lib.rules
|
||||
|
@ -1,9 +1,3 @@
|
||||
include ../lib.rules
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
||||
|
||||
LIB_OBJS= \
|
||||
chap.o \
|
||||
eap_common.o \
|
||||
@ -21,5 +15,4 @@ LIB_OBJS= \
|
||||
eap_wsc_common.o \
|
||||
ikev2_common.o
|
||||
|
||||
_OBJS_VAR := LIB_OBJS
|
||||
include ../objs.mk
|
||||
include ../lib.rules
|
||||
|
@ -1,17 +1,13 @@
|
||||
include ../lib.rules
|
||||
|
||||
install:
|
||||
if ls *.so >/dev/null 2>&1; then \
|
||||
install -d $(DESTDIR)$(LIBDIR)/wpa_supplicant && \
|
||||
cp *.so $(DESTDIR)$(LIBDIR)/wpa_supplicant \
|
||||
; fi
|
||||
|
||||
|
||||
CFLAGS += -DIEEE8021X_EAPOL
|
||||
|
||||
LIB_OBJS= \
|
||||
eap.o \
|
||||
eap_methods.o
|
||||
|
||||
_OBJS_VAR := LIB_OBJS
|
||||
include ../objs.mk
|
||||
include ../lib.rules
|
||||
|
@ -1,9 +1,3 @@
|
||||
include ../lib.rules
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
||||
|
||||
CFLAGS += -DCONFIG_HS20
|
||||
|
||||
LIB_OBJS= \
|
||||
@ -11,5 +5,4 @@ LIB_OBJS= \
|
||||
eap_server_identity.o \
|
||||
eap_server_methods.o
|
||||
|
||||
_OBJS_VAR := LIB_OBJS
|
||||
include ../objs.mk
|
||||
include ../lib.rules
|
||||
|
@ -1,10 +1,2 @@
|
||||
include ../lib.rules
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
||||
|
||||
LIB_OBJS = eapol_auth_sm.o eapol_auth_dump.o
|
||||
|
||||
_OBJS_VAR := LIB_OBJS
|
||||
include ../objs.mk
|
||||
include ../lib.rules
|
||||
|
@ -1,12 +1,5 @@
|
||||
include ../lib.rules
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
||||
|
||||
CFLAGS += -DIEEE8021X_EAPOL
|
||||
|
||||
LIB_OBJS = eapol_supp_sm.o
|
||||
|
||||
_OBJS_VAR := LIB_OBJS
|
||||
include ../objs.mk
|
||||
include ../lib.rules
|
||||
|
@ -1,10 +1,3 @@
|
||||
include ../lib.rules
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
||||
|
||||
LIB_OBJS = l2_packet_linux.o
|
||||
|
||||
_OBJS_VAR := LIB_OBJS
|
||||
include ../objs.mk
|
||||
include ../lib.rules
|
||||
|
@ -12,10 +12,15 @@ endif
|
||||
CFLAGS += $(FUZZ_CFLAGS)
|
||||
CFLAGS += -I.. -I../utils
|
||||
|
||||
.SECONDEXPANSION:
|
||||
$(ALL): $$(LIB_OBJS)
|
||||
_OBJS_VAR := LIB_OBJS
|
||||
include ../objs.mk
|
||||
|
||||
$(ALL): $(LIB_OBJS)
|
||||
@$(E) " AR $(notdir $@)"
|
||||
$(Q)$(AR) crT $@ $?
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
||||
clean:
|
||||
$(Q)rm -f *~ *.o *.d *.gcno *.gcda *.gcov $(ALL)
|
||||
|
@ -1,9 +1,3 @@
|
||||
include ../lib.rules
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
||||
|
||||
CFLAGS += -DCONFIG_WIFI_DISPLAY
|
||||
CFLAGS += -DCONFIG_WPS_NFC
|
||||
|
||||
@ -19,5 +13,4 @@ LIB_OBJS= \
|
||||
p2p_sd.o \
|
||||
p2p_utils.o
|
||||
|
||||
_OBJS_VAR := LIB_OBJS
|
||||
include ../objs.mk
|
||||
include ../lib.rules
|
||||
|
@ -1,9 +1,3 @@
|
||||
include ../lib.rules
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
||||
|
||||
CFLAGS += -DCONFIG_IPV6
|
||||
|
||||
LIB_OBJS= \
|
||||
@ -12,5 +6,4 @@ LIB_OBJS= \
|
||||
radius_das.o \
|
||||
radius_server.o
|
||||
|
||||
_OBJS_VAR := LIB_OBJS
|
||||
include ../objs.mk
|
||||
include ../lib.rules
|
||||
|
@ -1,9 +1,3 @@
|
||||
include ../lib.rules
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
||||
|
||||
CFLAGS += -DCONFIG_IEEE80211R
|
||||
CFLAGS += -DCONFIG_TDLS
|
||||
CFLAGS += -DCONFIG_WNM
|
||||
@ -17,5 +11,4 @@ LIB_OBJS= \
|
||||
wpa.o \
|
||||
wpa_ie.o
|
||||
|
||||
_OBJS_VAR := LIB_OBJS
|
||||
include ../objs.mk
|
||||
include ../lib.rules
|
||||
|
@ -1,9 +1,3 @@
|
||||
include ../lib.rules
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
||||
|
||||
CFLAGS += -DCONFIG_INTERNAL_LIBTOMMATH
|
||||
CFLAGS += -DCONFIG_CRYPTO_INTERNAL
|
||||
CFLAGS += -DCONFIG_TLSV11
|
||||
@ -28,6 +22,4 @@ LIB_OBJS= \
|
||||
tlsv1_server_write.o \
|
||||
x509v3.o
|
||||
|
||||
|
||||
_OBJS_VAR := LIB_OBJS
|
||||
include ../objs.mk
|
||||
include ../lib.rules
|
||||
|
@ -1,9 +1,3 @@
|
||||
include ../lib.rules
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
||||
|
||||
#CFLAGS += -DWPA_TRACE
|
||||
CFLAGS += -DCONFIG_IPV6
|
||||
CFLAGS += -DCONFIG_DEBUG_FILE
|
||||
@ -32,5 +26,4 @@ LIB_OBJS += edit.o
|
||||
|
||||
#LIB_OBJS += pcsc_funcs.o
|
||||
|
||||
_OBJS_VAR := LIB_OBJS
|
||||
include ../objs.mk
|
||||
include ../lib.rules
|
||||
|
@ -1,9 +1,3 @@
|
||||
include ../lib.rules
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
||||
|
||||
CFLAGS += -DCONFIG_P2P
|
||||
CFLAGS += -DCONFIG_WPS_OOB
|
||||
CFLAGS += -DCONFIG_WPS_NFC
|
||||
@ -31,5 +25,4 @@ LIB_OBJS= \
|
||||
wps_upnp_ssdp.o \
|
||||
wps_upnp_web.o
|
||||
|
||||
_OBJS_VAR := LIB_OBJS
|
||||
include ../objs.mk
|
||||
include ../lib.rules
|
||||
|
Loading…
Reference in New Issue
Block a user