summaryrefslogtreecommitdiff
blob: 97c33cc3c026c408c15a698a0750449f273aeefc (plain)
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
--- ./Makefile	2007-01-20 00:41:07.000000000 +0100
+++ ./Makefile	2007-03-11 14:52:26.000000000 +0100
@@ -27,7 +27,9 @@
 
 default:all
 
-all: aircrack-ng airdecap-ng packetforge-ng aireplay-ng airodump-ng airtun-ng ivstools kstats makeivs
+userland: $(BINFILES) $(TESTFILES)
+
+all: userland $(SBINFILES)
 
 aircrack-ng-opt: src/aircrack-ng.c src/crypto.c src/sha1-mmx.S src/common.c
 	$(iCC) $(iCFLAGS) $(iOPTFLAGS) $(REVFLAGS) src/aircrack-ng.c src/crypto.c src/sha1-mmx.S src/common.c -o aircrack-ng-opt -lpthread
@@ -69,15 +71,18 @@
 strip: $(BINFILES) $(SBINFILES) $(TESTFILES)
 	strip $(BINFILES) $(SBINFILES) $(TESTFILES)
 
-install: $(BINFILES) $(SBINFILES) $(TESTFILES) $(SCRIPTS)
+install_userland: userland
 	install -d $(destdir)$(bindir)
 	install -m 755 $(BINFILES) $(destdir)$(bindir)
 	install -m 755 $(TESTFILES) $(destdir)$(bindir)
+	install -d $(destdir)$(mandir)
+	install -m 644 ./manpages/* $(destdir)$(mandir)
+
+
+install: install_userland $(SBINFILES) $(SCRIPTS)
 	install -d $(destdir)$(sbindir)
 	install -m 755 $(SBINFILES) $(destdir)$(sbindir)
 	install -m 755 $(SCRIPTS) $(destdir)$(sbindir)
-	install -d $(destdir)$(mandir)
-	install -m 644 ./manpages/* $(destdir)$(mandir)
 
 uninstall:
 	-rm -f $(destdir)$(bindir)/aircrack-ng