| 1 |
# Aircrack-ng |
| 2 |
# |
| 3 |
# Copyright (C) 2017 Joseph Benden <[email protected]> |
| 4 |
# |
| 5 |
# Autotool support was written by: Joseph Benden <[email protected]> |
| 6 |
# |
| 7 |
# This program is free software; you can redistribute it and/or modify |
| 8 |
# it under the terms of the GNU General Public License as published by |
| 9 |
# the Free Software Foundation; either version 2 of the License, or |
| 10 |
# (at your option) any later version. |
| 11 |
# |
| 12 |
# This program is distributed in the hope that it will be useful, |
| 13 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 |
# GNU General Public License for more details. |
| 16 |
# |
| 17 |
# You should have received a copy of the GNU General Public License |
| 18 |
# along with this program; if not, write to the Free Software |
| 19 |
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA |
| 20 |
# |
| 21 |
# In addition, as a special exception, the copyright holders give |
| 22 |
# permission to link the code of portions of this program with the |
| 23 |
# OpenSSL library under certain conditions as described in each |
| 24 |
# individual source file, and distribute linked combinations |
| 25 |
# including the two. |
| 26 |
# |
| 27 |
# You must obey the GNU General Public License in all respects |
| 28 |
# for all of the code used other than OpenSSL. |
| 29 |
# |
| 30 |
# If you modify file(s) with this exception, you may extend this |
| 31 |
# exception to your dnl version of the file(s), but you are not obligated |
| 32 |
# to do so. |
| 33 |
# |
| 34 |
# If you dnl do not wish to do so, delete this exception statement from your |
| 35 |
# version. |
| 36 |
# |
| 37 |
# If you delete this exception statement from all source files in the |
| 38 |
# program, then also delete it here. |
| 39 |
|
| 40 |
SUBDIRS = man |
| 41 |
|
| 42 |
all-local: |
| 43 |
( cd $(srcdir) && $(PYTHON) setup.py build \ |
| 44 |
--build-base $(shell $(READLINK) -f $(builddir))/build \ |
| 45 |
--verbose ) |
| 46 |
|
| 47 |
install-data-local: |
| 48 |
$(MKDIR_P) $(DESTDIR)$(datadir)/airgraph-ng |
| 49 |
touch $(DESTDIR)$(datadir)/airgraph-ng/.keepthisfolder |
| 50 |
|
| 51 |
install-exec-local: |
| 52 |
( cd $(srcdir) && $(MKDIR_P) $(DESTDIR)$(pkgpythondir) && \ |
| 53 |
$(PYTHON) $(srcdir)/setup.py install \ |
| 54 |
--prefix $(DESTDIR)$(prefix) \ |
| 55 |
--record $(DESTDIR)$(pkgpythondir)/airgraph-ng-install_files.txt \ |
| 56 |
--verbose ) |
| 57 |
|
| 58 |
uninstall-local: |
| 59 |
cat $(DESTDIR)$(pkgpythondir)/airgraph-ng-install_files.txt | xargs rm -rf |
| 60 |
rm -rf $(DESTDIR)$(pkgpythondir)/airgraph-ng-install_files.txt |
| 61 |
rmdir $(DESTDIR)$(pkgpythondir) || : |
| 62 |
|
| 63 |
clean-local: |
| 64 |
rm -fr $(shell $(READLINK) -f $(builddir))/build |
| 65 |
|
| 66 |
EXTRA_DIST = airgraph-ng \ |
| 67 |
airodump-join \ |
| 68 |
lib \ |
| 69 |
setup.py \ |
| 70 |
airgraphviz \ |
| 71 |
README \ |
| 72 |
test |