-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.am
46 lines (35 loc) · 1.1 KB
/
Makefile.am
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
# $Id: Makefile.am,v 1.22 2004/09/02 13:17:35 alor Exp $
include $(top_srcdir)/Makefile.am.common
SUBDIRS = man share include include src utils
if PLUGINS
SUBDIRS += plug-ins
endif
EXTRA_DIST = AUTHORS \
CHANGELOG \
LICENSE \
README \
README.BINARIES \
README.BUGS \
README.CVS \
README.PLATFORMS \
THANKS \
TODO \
TODO.TESTING \
Makefile.am.common \
Makefile.mingw.in \
shtool \
contrib/* \
doc/*
CLEANFILES = -R auto4te.cache *~ *.log *.out *.cache *.so ettercap etterlog etterfilter
dist-hook:
rm -rf `find $(distdir)/doc -name CVS`
rm -rf `find $(distdir)/contrib -name CVS`
cat $(distdir)/Makefile.am.common | sed s/#no/no/g > $(distdir)/Makefile.am.common
test: all
rm -f ettercap etterfilter etterlog *.so
ln -fs ./src/ettercap ./
ln -fs ./utils/etterlog/etterlog ./
ln -fs ./utils/etterfilter/etterfilter ./
find ./plug-ins -name '*.so' -exec ln -fs {} ./ \;
./shtool fixperm ./
# vim:ts=4:noexpandtab