forked from kesnol/Aircrack-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
56 lines (40 loc) · 1.06 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
need := 3.81
ok := $(filter $(need),$(firstword $(sort $(MAKE_VERSION) \
$(need))))
ifndef ok
$(error fatal error... Need make $(need) but using $(MAKE_VERSION), please upgrade)
endif
AC_ROOT = .
include $(AC_ROOT)/common.mak
DOCFILES = ChangeLog INSTALLING README LICENSE AUTHORS VERSION
default: all
all:
$(MAKE) -C src $(@)
aircrack-ng-opt-prof_gen: all
mkdir -p prof
$(MAKE) -C src $(@)
aircrack-ng-opt-prof_use:
$(MAKE) -C src $(@)
install:
$(MAKE) -C src $(@)
$(MAKE) -C scripts $(@)
$(MAKE) -C manpages $(@)
@echo " "
@echo "[*] Run 'airodump-ng-oui-update' as root (or with sudo) to install or update Airodump-ng OUI file (Internet connection required)."
uninstall:
$(MAKE) -C src $(@)
-rm -fr $(DESTDIR)$(docdir)
$(MAKE) -C manpages $(@)
$(MAKE) -C scripts $(@)
strip:
$(MAKE) -C src $(@)
doc:
install -d $(DESTDIR)$(docdir)
install -m 644 $(DOCFILES) $(DESTDIR)$(docdir)
clean:
$(MAKE) -C src $(@)
$(MAKE) -C test/cryptounittest $(@)
distclean: clean
check:
$(MAKE) -C src $(@)
$(MAKE) -C test/cryptounittest $(@)