glusterfs

Форк
0
/
Makefile.am 
57 строк · 1.9 Кб
1
SOURCES = site.h
2

3
EXTRA_DIST = autogen.sh \
4
	COPYING-GPLV2 COPYING-LGPLV3 COMMITMENT \
5
	INSTALL README.md AUTHORS THANKS NEWS \
6
	glusterfs.spec glusterfs-api.pc.in libgfchangelog.pc.in \
7
	run-tests.sh \
8
	build-aux/pkg-version \
9
	contrib/umountd \
10
	$(shell find $(top_srcdir)/tests -type f -print)
11

12

13
SUBDIRS = $(ARGP_STANDALONE_DIR) libglusterfs rpc api \
14
	glusterfsd xlators $(FUSERMOUNT_SUBDIR) doc extras cli heal \
15
	@SYNCDAEMON_SUBDIR@ @UMOUNTD_SUBDIR@ tools events
16

17
pkgconfigdir = @pkgconfigdir@
18
pkgconfig_DATA = glusterfs-api.pc libgfchangelog.pc
19

20
CLEANFILES = glusterfs-api.pc libgfchangelog.pc contrib/umountd/Makefile
21

22
clean-local:
23
	find . -name '*.o' -o -name '*.lo' -o -name '.Po' | xargs rm -f
24

25
gitclean: distclean
26
	find . -name Makefile.in -exec rm -f {} \;
27
	find . -name mount.glusterfs -exec rm -f {} \;
28
	find . -name .deps -o -name .libs | xargs rm -rf
29
	rm -fr autom4te.cache
30
	rm -f missing aclocal.m4 config.h.in config.guess config.sub ltmain.sh install-sh configure depcomp
31

32
# dist-hook gets executed with 'make dist', this is the only target getting
33
# executed, a dist-hook in other Makefile.am files seem to get ignored.
34
dist-hook: gen-VERSION gen-ChangeLog
35
	-rm -fr $(distdir)/contrib/umountd/.deps
36
	-rm -f $(distdir)/events/src/eventtypes.py
37
	-rm -f $(distdir)/tests/env.rc
38
	-cp -f $(top_srcdir)/build-aux/config.sub.dist $(distdir)/config.sub
39
	-cp -f $(top_srcdir)/build-aux/config.guess.dist $(distdir)/config.guess
40

41
.PHONY: gen-VERSION gen-ChangeLog clang-check
42

43
clang-check:
44
	@$(top_srcdir)/extras/clang-checker.sh
45

46
gen-ChangeLog:
47
	if test -d $(srcdir)/.git; then            	\
48
	  (cd $(srcdir) && git diff && echo ===== git log ==== && git log) > $(distdir)/ChangeLog; \
49
	fi
50

51
.PHONY : gen-VERSION
52
gen-VERSION:
53
	if test -d $(top_srcdir)/.git; then             \
54
	  cd $(top_srcdir);                             \
55
	  ./build-aux/pkg-version --full                \
56
	    > $(abs_top_builddir)/$(distdir)/VERSION;   \
57
	fi
58

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.