Add package: wsupp-libc
This commit is contained in:
38
core/wsupp-libc.d/files/Makefile
Normal file
38
core/wsupp-libc.d/files/Makefile
Normal file
@@ -0,0 +1,38 @@
|
||||
all: libs wsupp wifi
|
||||
|
||||
libs: common.a crypto.a nlusctl.a netlink.a
|
||||
|
||||
WSUPP_OBJ= \
|
||||
wsupp.o wsupp_netlink.o wsupp_eapol.o wsupp_crypto.o wsupp_cntrl.o \
|
||||
wsupp_slots.o wsupp_sta_ies.o wsupp_config.o wsupp_apsel.o \
|
||||
wsupp_rfkill.o wsupp_ifmon.o \
|
||||
common.a crypto.a nlusctl.a netlink.a
|
||||
|
||||
WIFI_OBJ= \
|
||||
wifi.o wifi_dump.o wifi_pass.o wifi_wire.o \
|
||||
common.a crypto.a nlusctl.a
|
||||
|
||||
wsupp: $(WSUPP_OBJ)
|
||||
$(CC) $(LDFLAGS) -o $@ $(WSUPP_OBJ)
|
||||
|
||||
wifi: $(WIFI_OBJ)
|
||||
$(CC) $(LDFLAGS) -o $@ $(WIFI_OBJ)
|
||||
|
||||
common.a:
|
||||
$(MAKE) -C common
|
||||
$(AR) cr $@ common/*.o
|
||||
|
||||
crypto.a:
|
||||
$(MAKE) -C crypto
|
||||
$(AR) cr $@ crypto/*.o
|
||||
|
||||
nlusctl.a:
|
||||
$(MAKE) -C nlusctl
|
||||
$(AR) cr $@ nlusctl/*.o
|
||||
|
||||
netlink.a:
|
||||
$(MAKE) -C netlink
|
||||
$(AR) cr $@ netlink/*.o
|
||||
|
||||
clean:
|
||||
rm -f *.a *.o */*.o
|
||||
10
core/wsupp-libc.d/files/common.mk
Normal file
10
core/wsupp-libc.d/files/common.mk
Normal file
@@ -0,0 +1,10 @@
|
||||
OBJ = \
|
||||
fail.o \
|
||||
memzero.o \
|
||||
nonzero.o \
|
||||
writeall.o
|
||||
|
||||
all: $(OBJ)
|
||||
|
||||
clean:
|
||||
rm -f *.o
|
||||
13
core/wsupp-libc.d/files/crypto.mk
Normal file
13
core/wsupp-libc.d/files/crypto.mk
Normal file
@@ -0,0 +1,13 @@
|
||||
OBJ = \
|
||||
aes128.o \
|
||||
aes128_unwrap.o \
|
||||
aes128_wrap.o \
|
||||
pbkdf2_sha1.o \
|
||||
sha1.o \
|
||||
sha1_hash.o \
|
||||
sha1_hmac.o
|
||||
|
||||
all: $(OBJ)
|
||||
|
||||
clean:
|
||||
rm -f *.o
|
||||
23
core/wsupp-libc.d/files/netlink.mk
Normal file
23
core/wsupp-libc.d/files/netlink.mk
Normal file
@@ -0,0 +1,23 @@
|
||||
OBJ = \
|
||||
attr_bin.o \
|
||||
attr_buf.o \
|
||||
attr_gen.o \
|
||||
attr_nst.o \
|
||||
attr_str.o \
|
||||
attr_sub.o \
|
||||
base_err.o \
|
||||
base_gen.o \
|
||||
ctx.o \
|
||||
ctx_cmd.o \
|
||||
ctx_gen.o \
|
||||
ctx_grp.o \
|
||||
genl_fam.o \
|
||||
genl_grp.o \
|
||||
pack.o \
|
||||
pack_str.o \
|
||||
pack_sub.o
|
||||
|
||||
all: $(OBJ)
|
||||
|
||||
clean:
|
||||
rm -f *.o
|
||||
12
core/wsupp-libc.d/files/nlusctl.mk
Normal file
12
core/wsupp-libc.d/files/nlusctl.mk
Normal file
@@ -0,0 +1,12 @@
|
||||
OBJ= \
|
||||
get.o \
|
||||
get_base.o \
|
||||
get_nest.o \
|
||||
put.o \
|
||||
recv.o \
|
||||
recv_msg.o
|
||||
|
||||
all: $(OBJ)
|
||||
|
||||
clean:
|
||||
rm -f *.o
|
||||
Reference in New Issue
Block a user