-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.am
49 lines (38 loc) · 1.31 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
46
47
48
49
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = include src
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libdessert.pc
include doc/doxygen-include.am
DISSECTORS = dissectors/dessert.lua dissectors/dessert-ext-eth.lua dissectors/dessert-ext-ping.lua dissectors/dessert-ext-trace.lua
MIBS = doc/DESSERT-MIB.txt
DOCS = doc/libdessert.doxyfile doxygen/html doc/*.doxygen doc/style/*.css doc/style/*.html doc/style/images/*.png doc/style/images/*.gif doc/style/images/*.eps
EXTRA_DIST = autogen.sh $(DOCS) $(MIBS) $(DISSECTORS)
install-data-local: install-mibs install-dissectors
install-mibs: installdirs-mibs
if [ $(install_mibs) -eq 1 ]; then \
for i in $(MIBS) ; do \
$(INSTALL_DATA) $$i $(DESTDIR)/$(with_mibsdir) ; \
done ; \
fi
uninstall-mibs:
for i in $(MIBS) ; do \
rm -f $(with_mibsdir)/$$i ; \
done
installdirs-mibs:
if [ $(install_mibs) -eq 1 ]; then \
$(MKDIR_P) $(DESTDIR)/$(with_mibsdir) ; \
fi
install-dissectors: installdirs-dissectors
if [ $(install_dissectors) -eq 1 ]; then \
for i in $(DISSECTORS) ; do \
$(INSTALL_DATA) $$i $(DESTDIR)/$(with_dissectorsdir) ; \
done ; \
fi
uninstall-dissectors:
for i in $(DISSECTORS) ; do \
rm -f $(with_dissectorsdir)/$$i ; \
done
installdirs-dissectors:
if [ $(install_dissectors) -eq 1 ]; then \
$(MKDIR_P) $(DESTDIR)/$(with_dissectorsdir) ; \
fi