eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

sources.mk (17956B)


      1 # Imported by scripts/import-upstream; review changes when updating iwd.
      2 VERSION = 3.12
      3 
      4 ELL_SRC = \
      5 	$(ELL_DIR)/ell/util.c \
      6 	$(ELL_DIR)/ell/test.c \
      7 	$(ELL_DIR)/ell/test-dbus.c \
      8 	$(ELL_DIR)/ell/strv.c \
      9 	$(ELL_DIR)/ell/utf8.c \
     10 	$(ELL_DIR)/ell/queue.c \
     11 	$(ELL_DIR)/ell/hashmap.c \
     12 	$(ELL_DIR)/ell/string.c \
     13 	$(ELL_DIR)/ell/settings.c \
     14 	$(ELL_DIR)/ell/main.c \
     15 	$(ELL_DIR)/ell/idle.c \
     16 	$(ELL_DIR)/ell/signal.c \
     17 	$(ELL_DIR)/ell/timeout.c \
     18 	$(ELL_DIR)/ell/io.c \
     19 	$(ELL_DIR)/ell/ringbuf.c \
     20 	$(ELL_DIR)/ell/log.c \
     21 	$(ELL_DIR)/ell/checksum.c \
     22 	$(ELL_DIR)/ell/netlink.c \
     23 	$(ELL_DIR)/ell/genl.c \
     24 	$(ELL_DIR)/ell/rtnl.c \
     25 	$(ELL_DIR)/ell/dbus.c \
     26 	$(ELL_DIR)/ell/dbus-message.c \
     27 	$(ELL_DIR)/ell/dbus-util.c \
     28 	$(ELL_DIR)/ell/dbus-service.c \
     29 	$(ELL_DIR)/ell/dbus-client.c \
     30 	$(ELL_DIR)/ell/dbus-name-cache.c \
     31 	$(ELL_DIR)/ell/dbus-filter.c \
     32 	$(ELL_DIR)/ell/gvariant-util.c \
     33 	$(ELL_DIR)/ell/siphash.c \
     34 	$(ELL_DIR)/ell/hwdb.c \
     35 	$(ELL_DIR)/ell/cipher.c \
     36 	$(ELL_DIR)/ell/random.c \
     37 	$(ELL_DIR)/ell/uintset.c \
     38 	$(ELL_DIR)/ell/base64.c \
     39 	$(ELL_DIR)/ell/pem.c \
     40 	$(ELL_DIR)/ell/tls.c \
     41 	$(ELL_DIR)/ell/tls-record.c \
     42 	$(ELL_DIR)/ell/tls-suites.c \
     43 	$(ELL_DIR)/ell/tls-extensions.c \
     44 	$(ELL_DIR)/ell/uuid.c \
     45 	$(ELL_DIR)/ell/key.c \
     46 	$(ELL_DIR)/ell/file.c \
     47 	$(ELL_DIR)/ell/dir.c \
     48 	$(ELL_DIR)/ell/net.c \
     49 	$(ELL_DIR)/ell/dhcp.c \
     50 	$(ELL_DIR)/ell/dhcp-transport.c \
     51 	$(ELL_DIR)/ell/dhcp-lease.c \
     52 	$(ELL_DIR)/ell/dhcp-util.c \
     53 	$(ELL_DIR)/ell/dhcp-server.c \
     54 	$(ELL_DIR)/ell/cert.c \
     55 	$(ELL_DIR)/ell/cert-crypto.c \
     56 	$(ELL_DIR)/ell/ecc-external.c \
     57 	$(ELL_DIR)/ell/ecc.c \
     58 	$(ELL_DIR)/ell/ecdh.c \
     59 	$(ELL_DIR)/ell/time.c \
     60 	$(ELL_DIR)/ell/path.c \
     61 	$(ELL_DIR)/ell/dhcp6.c \
     62 	$(ELL_DIR)/ell/icmp6.c \
     63 	$(ELL_DIR)/ell/dhcp6-lease.c \
     64 	$(ELL_DIR)/ell/dhcp6-transport.c \
     65 	$(ELL_DIR)/ell/acd.c \
     66 	$(ELL_DIR)/ell/netconfig.c \
     67 	$(ELL_DIR)/ell/sysctl.c \
     68 	$(ELL_DIR)/ell/notifylist.c \
     69 	$(ELL_DIR)/ell/minheap.c
     70 
     71 ELL_HEADERS = \
     72 	$(ELL_DIR)/ell/util.h \
     73 	$(ELL_DIR)/ell/test.h \
     74 	$(ELL_DIR)/ell/strv.h \
     75 	$(ELL_DIR)/ell/utf8.h \
     76 	$(ELL_DIR)/ell/queue.h \
     77 	$(ELL_DIR)/ell/hashmap.h \
     78 	$(ELL_DIR)/ell/string.h \
     79 	$(ELL_DIR)/ell/settings.h \
     80 	$(ELL_DIR)/ell/main.h \
     81 	$(ELL_DIR)/ell/idle.h \
     82 	$(ELL_DIR)/ell/signal.h \
     83 	$(ELL_DIR)/ell/timeout.h \
     84 	$(ELL_DIR)/ell/io.h \
     85 	$(ELL_DIR)/ell/ringbuf.h \
     86 	$(ELL_DIR)/ell/log.h \
     87 	$(ELL_DIR)/ell/checksum.h \
     88 	$(ELL_DIR)/ell/netlink.h \
     89 	$(ELL_DIR)/ell/genl.h \
     90 	$(ELL_DIR)/ell/dbus.h \
     91 	$(ELL_DIR)/ell/rtnl.h \
     92 	$(ELL_DIR)/ell/dbus-service.h \
     93 	$(ELL_DIR)/ell/dbus-client.h \
     94 	$(ELL_DIR)/ell/hwdb.h \
     95 	$(ELL_DIR)/ell/cipher.h \
     96 	$(ELL_DIR)/ell/random.h \
     97 	$(ELL_DIR)/ell/uintset.h \
     98 	$(ELL_DIR)/ell/base64.h \
     99 	$(ELL_DIR)/ell/pem.h \
    100 	$(ELL_DIR)/ell/tls.h \
    101 	$(ELL_DIR)/ell/uuid.h \
    102 	$(ELL_DIR)/ell/key.h \
    103 	$(ELL_DIR)/ell/file.h \
    104 	$(ELL_DIR)/ell/dir.h \
    105 	$(ELL_DIR)/ell/net.h \
    106 	$(ELL_DIR)/ell/dhcp.h \
    107 	$(ELL_DIR)/ell/cert.h \
    108 	$(ELL_DIR)/ell/ecc.h \
    109 	$(ELL_DIR)/ell/ecdh.h \
    110 	$(ELL_DIR)/ell/time.h \
    111 	$(ELL_DIR)/ell/path.h \
    112 	$(ELL_DIR)/ell/icmp6.h \
    113 	$(ELL_DIR)/ell/dhcp6.h \
    114 	$(ELL_DIR)/ell/acd.h \
    115 	$(ELL_DIR)/ell/cleanup.h \
    116 	$(ELL_DIR)/ell/netconfig.h \
    117 	$(ELL_DIR)/ell/sysctl.h \
    118 	$(ELL_DIR)/ell/notifylist.h \
    119 	$(ELL_DIR)/ell/minheap.h \
    120 	$(ELL_DIR)/ell/private.h \
    121 	$(ELL_DIR)/ell/missing.h \
    122 	$(ELL_DIR)/ell/test-private.h \
    123 	$(ELL_DIR)/ell/main-private.h \
    124 	$(ELL_DIR)/ell/netlink-private.h \
    125 	$(ELL_DIR)/ell/rtnl-private.h \
    126 	$(ELL_DIR)/ell/dbus-private.h \
    127 	$(ELL_DIR)/ell/gvariant-private.h \
    128 	$(ELL_DIR)/ell/siphash-private.h \
    129 	$(ELL_DIR)/ell/asn1-private.h \
    130 	$(ELL_DIR)/ell/pem-private.h \
    131 	$(ELL_DIR)/ell/tls-private.h \
    132 	$(ELL_DIR)/ell/net-private.h \
    133 	$(ELL_DIR)/ell/dhcp-private.h \
    134 	$(ELL_DIR)/ell/cert-private.h \
    135 	$(ELL_DIR)/ell/ecc-private.h \
    136 	$(ELL_DIR)/ell/time-private.h \
    137 	$(ELL_DIR)/ell/dhcp6-private.h \
    138 	$(ELL_DIR)/ell/icmp6-private.h \
    139 	$(ELL_DIR)/ell/useful.h
    140 
    141 IWD_SRC = \
    142 	src/main.c \
    143 	src/netdev.c \
    144 	src/wiphy.c \
    145 	src/device.c \
    146 	src/station.c \
    147 	src/ie.c \
    148 	src/dbus.c \
    149 	src/mpdu.c \
    150 	src/eapol.c \
    151 	src/eapolutil.c \
    152 	src/handshake.c \
    153 	src/scan.c \
    154 	src/common.c \
    155 	src/agent.c \
    156 	src/storage.c \
    157 	src/network.c \
    158 	src/wsc.c \
    159 	src/backtrace.c \
    160 	src/knownnetworks.c \
    161 	src/rfkill.c \
    162 	src/ft.c \
    163 	src/ap.c \
    164 	src/adhoc.c \
    165 	src/sae.c \
    166 	src/nl80211util.c \
    167 	src/nl80211cmd.c \
    168 	src/owe.c \
    169 	src/blacklist.c \
    170 	src/manager.c \
    171 	src/erp.c \
    172 	src/fils.c \
    173 	src/anqp.c \
    174 	src/anqputil.c \
    175 	src/netconfig.c \
    176 	src/netconfig-commit.c \
    177 	src/resolve.c \
    178 	src/hotspot.c \
    179 	src/p2p.c \
    180 	src/p2putil.c \
    181 	src/module.c \
    182 	src/rrm.c \
    183 	src/frame-xchg.c \
    184 	src/eap-wsc.c \
    185 	src/wscutil.c \
    186 	src/diagnostic.c \
    187 	src/ip-pool.c \
    188 	src/band.c \
    189 	src/sysfs.c \
    190 	src/offchannel.c \
    191 	src/dpp-util.c \
    192 	src/json.c \
    193 	src/dpp.c \
    194 	src/udev.c \
    195 	src/pmksa.c \
    196 	src/vendor_quirks.c \
    197 	src/eap.c \
    198 	src/eap-md5.c \
    199 	src/eap-tls.c \
    200 	src/eap-ttls.c \
    201 	src/eap-mschapv2.c \
    202 	src/eap-sim.c \
    203 	src/eap-aka.c \
    204 	src/eap-peap.c \
    205 	src/eap-gtc.c \
    206 	src/eap-pwd.c \
    207 	src/util.c \
    208 	src/crypto.c \
    209 	src/simutil.c \
    210 	src/simauth.c \
    211 	src/watchlist.c \
    212 	src/eap-tls-common.c \
    213 	src/mschaputil.c
    214 
    215 MONITOR_SRC = \
    216 	monitor/main.c \
    217 	monitor/nlmon.c \
    218 	monitor/pcap.c \
    219 	monitor/display.c \
    220 	src/ie.c \
    221 	src/wscutil.c \
    222 	src/mpdu.c \
    223 	src/util.c \
    224 	src/crypto.c \
    225 	src/watchlist.c \
    226 	src/eapolutil.c \
    227 	src/nl80211cmd.c \
    228 	src/p2putil.c \
    229 	src/anqputil.c \
    230 	src/band.c
    231 
    232 HEADERS = \
    233 	linux/nl80211.h \
    234 	src/iwd.h \
    235 	src/missing.h \
    236 	src/defs.h \
    237 	src/netdev.h \
    238 	src/wiphy.h \
    239 	src/station.h \
    240 	src/ie.h \
    241 	src/dbus.h \
    242 	src/mpdu.h \
    243 	src/eapol.h \
    244 	src/eapolutil.h \
    245 	src/handshake.h \
    246 	src/scan.h \
    247 	src/common.h \
    248 	src/agent.h \
    249 	src/storage.h \
    250 	src/network.h \
    251 	src/wsc.h \
    252 	src/backtrace.h \
    253 	src/knownnetworks.h \
    254 	src/rfkill.h \
    255 	src/ft.h \
    256 	src/ap.h \
    257 	src/sae.h \
    258 	src/nl80211util.h \
    259 	src/nl80211cmd.h \
    260 	src/owe.h \
    261 	src/blacklist.h \
    262 	src/erp.h \
    263 	src/fils.h \
    264 	src/auth-proto.h \
    265 	src/anqp.h \
    266 	src/anqputil.h \
    267 	src/netconfig.h \
    268 	src/resolve.h \
    269 	src/p2p.h \
    270 	src/p2putil.h \
    271 	src/module.h \
    272 	src/frame-xchg.h \
    273 	src/eap-wsc.h \
    274 	src/wscutil.h \
    275 	src/diagnostic.h \
    276 	src/ip-pool.h \
    277 	src/band.h \
    278 	src/sysfs.h \
    279 	src/offchannel.h \
    280 	src/dpp-util.h \
    281 	src/json.h \
    282 	src/pmksa.h \
    283 	src/vendor_quirks.h \
    284 	src/eap.h \
    285 	src/eap-private.h \
    286 	src/eap-mschapv2.h \
    287 	src/util.h \
    288 	src/crypto.h \
    289 	src/simutil.h \
    290 	src/simauth.h \
    291 	src/watchlist.h \
    292 	src/eap-tls-common.h \
    293 	src/mschaputil.h \
    294 	monitor/nlmon.h \
    295 	monitor/pcap.h \
    296 	monitor/display.h
    297 
    298 ELL_OBJ = \
    299 	build/ell/util.o \
    300 	build/ell/test.o \
    301 	build/ell/test-dbus.o \
    302 	build/ell/strv.o \
    303 	build/ell/utf8.o \
    304 	build/ell/queue.o \
    305 	build/ell/hashmap.o \
    306 	build/ell/string.o \
    307 	build/ell/settings.o \
    308 	build/ell/main.o \
    309 	build/ell/idle.o \
    310 	build/ell/signal.o \
    311 	build/ell/timeout.o \
    312 	build/ell/io.o \
    313 	build/ell/ringbuf.o \
    314 	build/ell/log.o \
    315 	build/ell/checksum.o \
    316 	build/ell/netlink.o \
    317 	build/ell/genl.o \
    318 	build/ell/rtnl.o \
    319 	build/ell/dbus.o \
    320 	build/ell/dbus-message.o \
    321 	build/ell/dbus-util.o \
    322 	build/ell/dbus-service.o \
    323 	build/ell/dbus-client.o \
    324 	build/ell/dbus-name-cache.o \
    325 	build/ell/dbus-filter.o \
    326 	build/ell/gvariant-util.o \
    327 	build/ell/siphash.o \
    328 	build/ell/hwdb.o \
    329 	build/ell/cipher.o \
    330 	build/ell/random.o \
    331 	build/ell/uintset.o \
    332 	build/ell/base64.o \
    333 	build/ell/pem.o \
    334 	build/ell/tls.o \
    335 	build/ell/tls-record.o \
    336 	build/ell/tls-suites.o \
    337 	build/ell/tls-extensions.o \
    338 	build/ell/uuid.o \
    339 	build/ell/key.o \
    340 	build/ell/file.o \
    341 	build/ell/dir.o \
    342 	build/ell/net.o \
    343 	build/ell/dhcp.o \
    344 	build/ell/dhcp-transport.o \
    345 	build/ell/dhcp-lease.o \
    346 	build/ell/dhcp-util.o \
    347 	build/ell/dhcp-server.o \
    348 	build/ell/cert.o \
    349 	build/ell/cert-crypto.o \
    350 	build/ell/ecc-external.o \
    351 	build/ell/ecc.o \
    352 	build/ell/ecdh.o \
    353 	build/ell/time.o \
    354 	build/ell/path.o \
    355 	build/ell/dhcp6.o \
    356 	build/ell/icmp6.o \
    357 	build/ell/dhcp6-lease.o \
    358 	build/ell/dhcp6-transport.o \
    359 	build/ell/acd.o \
    360 	build/ell/netconfig.o \
    361 	build/ell/sysctl.o \
    362 	build/ell/notifylist.o \
    363 	build/ell/minheap.o
    364 
    365 build/ell/util.o: $(ELL_DIR)/ell/util.c
    366 build/ell/test.o: $(ELL_DIR)/ell/test.c
    367 build/ell/test-dbus.o: $(ELL_DIR)/ell/test-dbus.c
    368 build/ell/strv.o: $(ELL_DIR)/ell/strv.c
    369 build/ell/utf8.o: $(ELL_DIR)/ell/utf8.c
    370 build/ell/queue.o: $(ELL_DIR)/ell/queue.c
    371 build/ell/hashmap.o: $(ELL_DIR)/ell/hashmap.c
    372 build/ell/string.o: $(ELL_DIR)/ell/string.c
    373 build/ell/settings.o: $(ELL_DIR)/ell/settings.c
    374 build/ell/main.o: $(ELL_DIR)/ell/main.c
    375 build/ell/idle.o: $(ELL_DIR)/ell/idle.c
    376 build/ell/signal.o: $(ELL_DIR)/ell/signal.c
    377 build/ell/timeout.o: $(ELL_DIR)/ell/timeout.c
    378 build/ell/io.o: $(ELL_DIR)/ell/io.c
    379 build/ell/ringbuf.o: $(ELL_DIR)/ell/ringbuf.c
    380 build/ell/log.o: $(ELL_DIR)/ell/log.c
    381 build/ell/checksum.o: $(ELL_DIR)/ell/checksum.c
    382 build/ell/netlink.o: $(ELL_DIR)/ell/netlink.c
    383 build/ell/genl.o: $(ELL_DIR)/ell/genl.c
    384 build/ell/rtnl.o: $(ELL_DIR)/ell/rtnl.c
    385 build/ell/dbus.o: $(ELL_DIR)/ell/dbus.c
    386 build/ell/dbus-message.o: $(ELL_DIR)/ell/dbus-message.c
    387 build/ell/dbus-util.o: $(ELL_DIR)/ell/dbus-util.c
    388 build/ell/dbus-service.o: $(ELL_DIR)/ell/dbus-service.c
    389 build/ell/dbus-client.o: $(ELL_DIR)/ell/dbus-client.c
    390 build/ell/dbus-name-cache.o: $(ELL_DIR)/ell/dbus-name-cache.c
    391 build/ell/dbus-filter.o: $(ELL_DIR)/ell/dbus-filter.c
    392 build/ell/gvariant-util.o: $(ELL_DIR)/ell/gvariant-util.c
    393 build/ell/siphash.o: $(ELL_DIR)/ell/siphash.c
    394 build/ell/hwdb.o: $(ELL_DIR)/ell/hwdb.c
    395 build/ell/cipher.o: $(ELL_DIR)/ell/cipher.c
    396 build/ell/random.o: $(ELL_DIR)/ell/random.c
    397 build/ell/uintset.o: $(ELL_DIR)/ell/uintset.c
    398 build/ell/base64.o: $(ELL_DIR)/ell/base64.c
    399 build/ell/pem.o: $(ELL_DIR)/ell/pem.c
    400 build/ell/tls.o: $(ELL_DIR)/ell/tls.c
    401 build/ell/tls-record.o: $(ELL_DIR)/ell/tls-record.c
    402 build/ell/tls-suites.o: $(ELL_DIR)/ell/tls-suites.c
    403 build/ell/tls-extensions.o: $(ELL_DIR)/ell/tls-extensions.c
    404 build/ell/uuid.o: $(ELL_DIR)/ell/uuid.c
    405 build/ell/key.o: $(ELL_DIR)/ell/key.c
    406 build/ell/file.o: $(ELL_DIR)/ell/file.c
    407 build/ell/dir.o: $(ELL_DIR)/ell/dir.c
    408 build/ell/net.o: $(ELL_DIR)/ell/net.c
    409 build/ell/dhcp.o: $(ELL_DIR)/ell/dhcp.c
    410 build/ell/dhcp-transport.o: $(ELL_DIR)/ell/dhcp-transport.c
    411 build/ell/dhcp-lease.o: $(ELL_DIR)/ell/dhcp-lease.c
    412 build/ell/dhcp-util.o: $(ELL_DIR)/ell/dhcp-util.c
    413 build/ell/dhcp-server.o: $(ELL_DIR)/ell/dhcp-server.c
    414 build/ell/cert.o: $(ELL_DIR)/ell/cert.c
    415 build/ell/cert-crypto.o: $(ELL_DIR)/ell/cert-crypto.c
    416 build/ell/ecc-external.o: $(ELL_DIR)/ell/ecc-external.c
    417 build/ell/ecc.o: $(ELL_DIR)/ell/ecc.c
    418 build/ell/ecdh.o: $(ELL_DIR)/ell/ecdh.c
    419 build/ell/time.o: $(ELL_DIR)/ell/time.c
    420 build/ell/path.o: $(ELL_DIR)/ell/path.c
    421 build/ell/dhcp6.o: $(ELL_DIR)/ell/dhcp6.c
    422 build/ell/icmp6.o: $(ELL_DIR)/ell/icmp6.c
    423 build/ell/dhcp6-lease.o: $(ELL_DIR)/ell/dhcp6-lease.c
    424 build/ell/dhcp6-transport.o: $(ELL_DIR)/ell/dhcp6-transport.c
    425 build/ell/acd.o: $(ELL_DIR)/ell/acd.c
    426 build/ell/netconfig.o: $(ELL_DIR)/ell/netconfig.c
    427 build/ell/sysctl.o: $(ELL_DIR)/ell/sysctl.c
    428 build/ell/notifylist.o: $(ELL_DIR)/ell/notifylist.c
    429 build/ell/minheap.o: $(ELL_DIR)/ell/minheap.c
    430 
    431 TESTS = \
    432 	unit/test-eap-sim \
    433 	unit/test-cmac-aes \
    434 	unit/test-arc4 \
    435 	unit/test-hmac-md5 \
    436 	unit/test-hmac-sha1 \
    437 	unit/test-hmac-sha256 \
    438 	unit/test-prf-sha1 \
    439 	unit/test-kdf-sha256 \
    440 	unit/test-ie \
    441 	unit/test-band \
    442 	unit/test-crypto \
    443 	unit/test-mpdu \
    444 	unit/test-eapol \
    445 	unit/test-util \
    446 	unit/test-ssid-security \
    447 	unit/test-wsc \
    448 	unit/test-eap-mschapv2 \
    449 	unit/test-sae \
    450 	unit/test-p2p \
    451 	unit/test-dpp \
    452 	unit/test-json \
    453 	unit/test-nl80211util \
    454 	unit/test-pmksa \
    455 	unit/test-storage
    456 
    457 unit_test_eap_sim_OBJ = \
    458 	unit/test-eap-sim.c \
    459 	src/crypto.c \
    460 	src/simutil.c \
    461 	src/ie.c \
    462 	src/watchlist.c \
    463 	src/eapol.c \
    464 	src/eapolutil.c \
    465 	src/handshake.c \
    466 	src/pmksa.c \
    467 	src/eap.c \
    468 	src/util.c \
    469 	src/simauth.c \
    470 	src/erp.c \
    471 	src/band.c \
    472 	src/eap-sim.c
    473 
    474 unit/test-eap-sim: $(unit_test_eap_sim_OBJ:.c=.o) libell.a
    475 	$(CC) $(LDFLAGS) -o $@ $(unit_test_eap_sim_OBJ:.c=.o) libell.a $(LDLIBS)
    476 
    477 unit_test_cmac_aes_OBJ = \
    478 	unit/test-cmac-aes.c \
    479 	src/crypto.c
    480 
    481 unit/test-cmac-aes: $(unit_test_cmac_aes_OBJ:.c=.o) libell.a
    482 	$(CC) $(LDFLAGS) -o $@ $(unit_test_cmac_aes_OBJ:.c=.o) libell.a $(LDLIBS)
    483 
    484 unit_test_arc4_OBJ = \
    485 	unit/test-arc4.c \
    486 	src/crypto.c
    487 
    488 unit/test-arc4: $(unit_test_arc4_OBJ:.c=.o) libell.a
    489 	$(CC) $(LDFLAGS) -o $@ $(unit_test_arc4_OBJ:.c=.o) libell.a $(LDLIBS)
    490 
    491 unit_test_hmac_md5_OBJ = \
    492 	unit/test-hmac-md5.c \
    493 	src/crypto.c
    494 
    495 unit/test-hmac-md5: $(unit_test_hmac_md5_OBJ:.c=.o) libell.a
    496 	$(CC) $(LDFLAGS) -o $@ $(unit_test_hmac_md5_OBJ:.c=.o) libell.a $(LDLIBS)
    497 
    498 unit_test_hmac_sha1_OBJ = \
    499 	unit/test-hmac-sha1.c \
    500 	src/crypto.c
    501 
    502 unit/test-hmac-sha1: $(unit_test_hmac_sha1_OBJ:.c=.o) libell.a
    503 	$(CC) $(LDFLAGS) -o $@ $(unit_test_hmac_sha1_OBJ:.c=.o) libell.a $(LDLIBS)
    504 
    505 unit_test_hmac_sha256_OBJ = \
    506 	unit/test-hmac-sha256.c \
    507 	src/crypto.c
    508 
    509 unit/test-hmac-sha256: $(unit_test_hmac_sha256_OBJ:.c=.o) libell.a
    510 	$(CC) $(LDFLAGS) -o $@ $(unit_test_hmac_sha256_OBJ:.c=.o) libell.a $(LDLIBS)
    511 
    512 unit_test_prf_sha1_OBJ = \
    513 	unit/test-prf-sha1.c \
    514 	src/crypto.c
    515 
    516 unit/test-prf-sha1: $(unit_test_prf_sha1_OBJ:.c=.o) libell.a
    517 	$(CC) $(LDFLAGS) -o $@ $(unit_test_prf_sha1_OBJ:.c=.o) libell.a $(LDLIBS)
    518 
    519 unit_test_kdf_sha256_OBJ = \
    520 	unit/test-kdf-sha256.c \
    521 	src/crypto.c
    522 
    523 unit/test-kdf-sha256: $(unit_test_kdf_sha256_OBJ:.c=.o) libell.a
    524 	$(CC) $(LDFLAGS) -o $@ $(unit_test_kdf_sha256_OBJ:.c=.o) libell.a $(LDLIBS)
    525 
    526 unit_test_ie_OBJ = \
    527 	unit/test-ie.c \
    528 	src/ie.c
    529 
    530 unit/test-ie: $(unit_test_ie_OBJ:.c=.o) libell.a
    531 	$(CC) $(LDFLAGS) -o $@ $(unit_test_ie_OBJ:.c=.o) libell.a $(LDLIBS)
    532 
    533 unit_test_band_OBJ = \
    534 	unit/test-band.c \
    535 	src/band.c \
    536 	src/ie.c
    537 
    538 unit/test-band: $(unit_test_band_OBJ:.c=.o) libell.a
    539 	$(CC) $(LDFLAGS) -o $@ $(unit_test_band_OBJ:.c=.o) libell.a $(LDLIBS)
    540 
    541 unit_test_crypto_OBJ = \
    542 	unit/test-crypto.c \
    543 	src/crypto.c
    544 
    545 unit/test-crypto: $(unit_test_crypto_OBJ:.c=.o) libell.a
    546 	$(CC) $(LDFLAGS) -o $@ $(unit_test_crypto_OBJ:.c=.o) libell.a $(LDLIBS)
    547 
    548 unit_test_mpdu_OBJ = \
    549 	unit/test-mpdu.c \
    550 	src/mpdu.c \
    551 	src/ie.c
    552 
    553 unit/test-mpdu: $(unit_test_mpdu_OBJ:.c=.o) libell.a
    554 	$(CC) $(LDFLAGS) -o $@ $(unit_test_mpdu_OBJ:.c=.o) libell.a $(LDLIBS)
    555 
    556 unit_test_eapol_OBJ = \
    557 	unit/test-eapol.c \
    558 	src/crypto.c \
    559 	src/ie.c \
    560 	src/watchlist.c \
    561 	src/eapol.c \
    562 	src/eapolutil.c \
    563 	src/handshake.c \
    564 	src/pmksa.c \
    565 	src/eap.c \
    566 	src/eap-tls.c \
    567 	src/eap-ttls.c \
    568 	src/eap-md5.c \
    569 	src/util.c \
    570 	src/eap-tls-common.c \
    571 	src/erp.c \
    572 	src/band.c \
    573 	src/mschaputil.c
    574 
    575 unit/test-eapol: $(unit_test_eapol_OBJ:.c=.o) libell.a
    576 	$(CC) $(LDFLAGS) -o $@ $(unit_test_eapol_OBJ:.c=.o) libell.a $(LDLIBS)
    577 
    578 unit_test_util_OBJ = \
    579 	src/util.c \
    580 	src/band.c \
    581 	unit/test-util.c
    582 
    583 unit/test-util: $(unit_test_util_OBJ:.c=.o) libell.a
    584 	$(CC) $(LDFLAGS) -o $@ $(unit_test_util_OBJ:.c=.o) libell.a $(LDLIBS)
    585 
    586 unit_test_ssid_security_OBJ = \
    587 	unit/test-ssid-security.c \
    588 	src/ie.c \
    589 	src/common.c
    590 
    591 unit/test-ssid-security: $(unit_test_ssid_security_OBJ:.c=.o) libell.a
    592 	$(CC) $(LDFLAGS) -o $@ $(unit_test_ssid_security_OBJ:.c=.o) libell.a $(LDLIBS)
    593 
    594 unit_test_wsc_OBJ = \
    595 	unit/test-wsc.c \
    596 	src/wscutil.c \
    597 	src/crypto.c \
    598 	src/ie.c \
    599 	src/watchlist.c \
    600 	src/eapol.c \
    601 	src/eapolutil.c \
    602 	src/handshake.c \
    603 	src/pmksa.c \
    604 	src/eap.c \
    605 	src/util.c \
    606 	src/erp.c \
    607 	src/band.c \
    608 	src/eap-wsc.c
    609 
    610 unit/test-wsc: $(unit_test_wsc_OBJ:.c=.o) libell.a
    611 	$(CC) $(LDFLAGS) -o $@ $(unit_test_wsc_OBJ:.c=.o) libell.a $(LDLIBS)
    612 
    613 unit_test_eap_mschapv2_OBJ = \
    614 	src/eap-mschapv2.c \
    615 	src/eap.c \
    616 	src/mschaputil.c \
    617 	unit/test-eap-mschapv2.c
    618 
    619 unit/test-eap-mschapv2: $(unit_test_eap_mschapv2_OBJ:.c=.o) libell.a
    620 	$(CC) $(LDFLAGS) -o $@ $(unit_test_eap_mschapv2_OBJ:.c=.o) libell.a $(LDLIBS)
    621 
    622 unit_test_sae_OBJ = \
    623 	unit/test-sae.c \
    624 	src/sae.c \
    625 	src/crypto.c \
    626 	src/ie.c \
    627 	src/handshake.c \
    628 	src/pmksa.c \
    629 	src/erp.c \
    630 	src/band.c \
    631 	src/util.c \
    632 	src/mpdu.c
    633 
    634 unit/test-sae: $(unit_test_sae_OBJ:.c=.o) libell.a
    635 	$(CC) $(LDFLAGS) -o $@ $(unit_test_sae_OBJ:.c=.o) -Wl,-wrap,l_ecc_supported_ike_groups libell.a $(LDLIBS)
    636 
    637 unit_test_p2p_OBJ = \
    638 	unit/test-p2p.c \
    639 	src/wscutil.c \
    640 	src/crypto.c \
    641 	src/ie.c \
    642 	src/util.c \
    643 	src/p2putil.c \
    644 	src/band.c
    645 
    646 unit/test-p2p: $(unit_test_p2p_OBJ:.c=.o) libell.a
    647 	$(CC) $(LDFLAGS) -o $@ $(unit_test_p2p_OBJ:.c=.o) libell.a $(LDLIBS)
    648 
    649 unit_test_dpp_OBJ = \
    650 	unit/test-dpp.c \
    651 	src/dpp-util.c \
    652 	src/band.c \
    653 	src/util.c \
    654 	src/crypto.c \
    655 	src/json.c
    656 
    657 unit/test-dpp: $(unit_test_dpp_OBJ:.c=.o) libell.a
    658 	$(CC) $(LDFLAGS) -o $@ $(unit_test_dpp_OBJ:.c=.o) libell.a $(LDLIBS)
    659 
    660 unit_test_json_OBJ = \
    661 	unit/test-json.c \
    662 	src/json.c
    663 
    664 unit/test-json: $(unit_test_json_OBJ:.c=.o) libell.a
    665 	$(CC) $(LDFLAGS) -o $@ $(unit_test_json_OBJ:.c=.o) libell.a $(LDLIBS)
    666 
    667 unit_test_nl80211util_OBJ = \
    668 	unit/test-nl80211util.c \
    669 	src/nl80211util.c \
    670 	src/band.c \
    671 	src/ie.c \
    672 	src/util.c
    673 
    674 unit/test-nl80211util: $(unit_test_nl80211util_OBJ:.c=.o) libell.a
    675 	$(CC) $(LDFLAGS) -o $@ $(unit_test_nl80211util_OBJ:.c=.o) libell.a $(LDLIBS)
    676 
    677 unit_test_pmksa_OBJ = \
    678 	unit/test-pmksa.c \
    679 	src/pmksa.c
    680 
    681 unit/test-pmksa: $(unit_test_pmksa_OBJ:.c=.o) libell.a
    682 	$(CC) $(LDFLAGS) -o $@ $(unit_test_pmksa_OBJ:.c=.o) libell.a $(LDLIBS)
    683 
    684 unit_test_storage_OBJ = \
    685 	unit/test-storage.c \
    686 	src/storage.c \
    687 	src/crypto.c \
    688 	src/common.c
    689 
    690 unit/test-storage: $(unit_test_storage_OBJ:.c=.o) libell.a
    691 	$(CC) $(LDFLAGS) -o $@ $(unit_test_storage_OBJ:.c=.o) libell.a $(LDLIBS)
    692 
    693 TEST_OBJ = \
    694 	$(unit_test_eap_sim_OBJ:.c=.o) \
    695 	$(unit_test_cmac_aes_OBJ:.c=.o) \
    696 	$(unit_test_arc4_OBJ:.c=.o) \
    697 	$(unit_test_hmac_md5_OBJ:.c=.o) \
    698 	$(unit_test_hmac_sha1_OBJ:.c=.o) \
    699 	$(unit_test_hmac_sha256_OBJ:.c=.o) \
    700 	$(unit_test_prf_sha1_OBJ:.c=.o) \
    701 	$(unit_test_kdf_sha256_OBJ:.c=.o) \
    702 	$(unit_test_ie_OBJ:.c=.o) \
    703 	$(unit_test_band_OBJ:.c=.o) \
    704 	$(unit_test_crypto_OBJ:.c=.o) \
    705 	$(unit_test_mpdu_OBJ:.c=.o) \
    706 	$(unit_test_eapol_OBJ:.c=.o) \
    707 	$(unit_test_util_OBJ:.c=.o) \
    708 	$(unit_test_ssid_security_OBJ:.c=.o) \
    709 	$(unit_test_wsc_OBJ:.c=.o) \
    710 	$(unit_test_eap_mschapv2_OBJ:.c=.o) \
    711 	$(unit_test_sae_OBJ:.c=.o) \
    712 	$(unit_test_p2p_OBJ:.c=.o) \
    713 	$(unit_test_dpp_OBJ:.c=.o) \
    714 	$(unit_test_json_OBJ:.c=.o) \
    715 	$(unit_test_nl80211util_OBJ:.c=.o) \
    716 	$(unit_test_pmksa_OBJ:.c=.o) \
    717 	$(unit_test_storage_OBJ:.c=.o)
    718