forked from sit/dht
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
46 lines (38 loc) · 1.52 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
## Process this file with automake to produce Makefile.in
# $Id: Makefile.am,v 1.41 2006/08/16 17:03:54 sit Exp $
SUBDIRS = svc utils merkle chord dhash maint lsd tools paxos
chordinclude_HEADERS = config.h
CLEANFILES = core *.core *~
MAINTAINERCLEANFILES = aclocal.m4 install-sh mkinstalldirs \
missing depcomp configure config.guess config.sub config.h.in \
ltconfig ltmain.sh INSTALL COPYING Makefile.in stamp-h.in
dist-hook:
-cp -f depcomp $(distdir)
install-data-local:
-src=$(DESTDIR)$(chorddatadir); dst=$(DESTDIR)$(pkgdatadir); \
rm -f $$dst; \
if test "`dirname $$src`" = "`dirname $$dst`"; then \
ln -s "`basename $$src`" $$dst; \
else \
ln -s $(chorddatadir) $$dst; \
fi
-src=$(DESTDIR)$(chordincludedir); dst=$(DESTDIR)$(pkgincludedir); \
rm -f $$dst; \
if test "`dirname $$src`" = "`dirname $$dst`"; then \
ln -s "`basename $$src`" $$dst; \
else \
ln -s $(chordincludedir) $$dst; \
fi
install-exec-local:
-src=$(DESTDIR)$(chordlibdir); dst=$(DESTDIR)$(pkglibdir); \
rm -f $$dst; \
if test "`dirname $$src`" = "`dirname $$dst`"; then \
ln -s "`basename $$src`" $$dst; \
else \
ln -s $(chordlibdir) $$dst; \
fi
uninstall-local:
-rm -f $(DESTDIR)$(pkgdatadir) $(DESTDIR)$(chorddatadir)
-rm -f $(DESTDIR)$(pkglibdir) $(DESTDIR)$(chordlibdir)
-rm -f $(DESTDIR)$(pkgincludedir) $(DESTDIR)$(chordincludedir)
-rmdir $(DESTDIR)$(confdir)