Makefile.am 4 KB
Newer Older
1 2
ACLOCAL_AMFLAGS = -I m4

3
SUBDIRS = \
4
	include \
5
	common \
6
	libcstring \
7
	libcerror \
8
	libcthreads \
9
	libcdata \
10
	libcdatetime \
11 12 13
	libclocale \
	libcnotify \
	libcsplit \
14
	libuna \
15 16
	libcfile \
	libcpath \
17
	libbfio \
18
	libfcache \
19
	libfdata \
20
	libfvalue \
21
	libhmac \
22 23
	libcaes \
	libewf \
24 25 26
	libodraw \
	libsmdev \
	libsmraw \
27
	libcsystem \
28
	ewftools \
29
	ewf.net \
30
	pyewf \
31 32
	pyewf-python2 \
	pyewf-python3 \
33
	po \
34
	manuals \
35
	tests \
36
	msvscpp
37

38 39 40
DPKG_FILES = \
	dpkg/changelog \
	dpkg/changelog.in \
41 42 43 44 45 46
	dpkg/compat \
	dpkg/control \
	dpkg/copyright \
	dpkg/copyright.in \
	dpkg/rules \
	dpkg/libewf.docs \
47 48 49
	dpkg/libewf-dev.docs \
	dpkg/libewf-python.docs \
	dpkg/libewf-python3.docs \
50 51
	dpkg/libewf-tools.docs \
	dpkg/source/format
52

53 54 55 56 57 58 59
GETTEXT_FILES = \
	config.rpath \
	po/Makevars.in

PKGCONFIG_FILES = \
	libewf.pc.in

60 61 62
SETUP_PY_FILES = \
	setup.py

63
SPEC_FILES = \
64 65 66 67
	libewf.spec \
	libewf.spec.in

EXTRA_DIST = \
68
	$(DPKG_FILES) \
69 70
	$(GETTEXT_FILES) \
	$(PKGCONFIG_FILES) \
71
	$(SETUP_PY_FILES) \
72 73 74 75
	$(SPEC_FILES)

MAINTAINERCLEANFILES = \
	Makefile.in
76 77 78 79 80 81 82 83 84 85 86 87

pkgconfigdir = $(libdir)/pkgconfig

pkgconfig_DATA = \
	libewf.pc

libtool: @LIBTOOL_DEPS@
	cd $(srcdir) && $(SHELL) ./config.status --recheck

lib: library

library:
88
	(cd $(srcdir)/common && $(MAKE) $(AM_MAKEFLAGS))
89
	(cd $(srcdir)/libcstring && $(MAKE) $(AM_MAKEFLAGS))
90
	(cd $(srcdir)/libcerror && $(MAKE) $(AM_MAKEFLAGS))
91
	(cd $(srcdir)/libcthreads && $(MAKE) $(AM_MAKEFLAGS))
92 93 94 95
	(cd $(srcdir)/libcdata && $(MAKE) $(AM_MAKEFLAGS))
	(cd $(srcdir)/libclocale && $(MAKE) $(AM_MAKEFLAGS))
	(cd $(srcdir)/libcnotify && $(MAKE) $(AM_MAKEFLAGS))
	(cd $(srcdir)/libcsplit && $(MAKE) $(AM_MAKEFLAGS))
96
	(cd $(srcdir)/libuna && $(MAKE) $(AM_MAKEFLAGS))
97 98
	(cd $(srcdir)/libcfile && $(MAKE) $(AM_MAKEFLAGS))
	(cd $(srcdir)/libcpath && $(MAKE) $(AM_MAKEFLAGS))
99
	(cd $(srcdir)/libbfio && $(MAKE) $(AM_MAKEFLAGS))
100
	(cd $(srcdir)/libfcache && $(MAKE) $(AM_MAKEFLAGS))
101
	(cd $(srcdir)/libfdata && $(MAKE) $(AM_MAKEFLAGS))
102
	(cd $(srcdir)/libfvalue && $(MAKE) $(AM_MAKEFLAGS))
103 104
	(cd $(srcdir)/libhmac && $(MAKE) $(AM_MAKEFLAGS))
	(cd $(srcdir)/libcaes && $(MAKE) $(AM_MAKEFLAGS))
105
	(cd $(srcdir)/libewf && $(MAKE) $(AM_MAKEFLAGS))
106
	(cd $(srcdir)/po && $(MAKE) $(AM_MAKEFLAGS))
107 108 109

distclean: clean
	/bin/rm -f Makefile
110 111 112
	/bin/rm -f config.status
	/bin/rm -f config.cache
	/bin/rm -f config.log
113 114
	/bin/rm -f libewf.pc
	/bin/rm -f libewf.spec
115 116
	/bin/rm -f dpkg/changelog
	/bin/rm -f dpkg/shlibs.local.ex
117 118 119 120 121
	@for dir in ${subdirs}; do \
		(cd $$dir && $(MAKE) distclean) \
		|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
	done && test -z "$$fail"

122
splint:
123
	(cd $(srcdir)/libcstring && $(MAKE) splint $(AM_MAKEFLAGS))
124
	(cd $(srcdir)/libcerror && $(MAKE) splint $(AM_MAKEFLAGS))
125
	(cd $(srcdir)/libcthreads && $(MAKE) splint $(AM_MAKEFLAGS))
126
	(cd $(srcdir)/libcdata && $(MAKE) splint $(AM_MAKEFLAGS))
127
	(cd $(srcdir)/libcdatetime && $(MAKE) splint $(AM_MAKEFLAGS))
128 129 130
	(cd $(srcdir)/libclocale && $(MAKE) splint $(AM_MAKEFLAGS))
	(cd $(srcdir)/libcnotify && $(MAKE) splint $(AM_MAKEFLAGS))
	(cd $(srcdir)/libcsplit && $(MAKE) splint $(AM_MAKEFLAGS))
131
	(cd $(srcdir)/libuna && $(MAKE) splint $(AM_MAKEFLAGS))
132 133
	(cd $(srcdir)/libcfile && $(MAKE) splint $(AM_MAKEFLAGS))
	(cd $(srcdir)/libcpath && $(MAKE) splint $(AM_MAKEFLAGS))
134
	(cd $(srcdir)/libbfio && $(MAKE) splint $(AM_MAKEFLAGS))
135
	(cd $(srcdir)/libfcache && $(MAKE) splint $(AM_MAKEFLAGS))
136
	(cd $(srcdir)/libfdata && $(MAKE) splint $(AM_MAKEFLAGS))
137
	(cd $(srcdir)/libfvalue && $(MAKE) splint $(AM_MAKEFLAGS))
138
	(cd $(srcdir)/libhmac && $(MAKE) splint $(AM_MAKEFLAGS))
139 140
	(cd $(srcdir)/libcaes && $(MAKE) splint $(AM_MAKEFLAGS))
	(cd $(srcdir)/libewf && $(MAKE) splint $(AM_MAKEFLAGS))
141 142 143
	(cd $(srcdir)/libodraw && $(MAKE) splint $(AM_MAKEFLAGS))
	(cd $(srcdir)/libsmdev && $(MAKE) splint $(AM_MAKEFLAGS))
	(cd $(srcdir)/libsmraw && $(MAKE) splint $(AM_MAKEFLAGS))
144
	(cd $(srcdir)/libcsystem && $(MAKE) splint $(AM_MAKEFLAGS))
145
	(cd $(srcdir)/ewftools && $(MAKE) splint $(AM_MAKEFLAGS))
146
	(cd $(srcdir)/pyewf && $(MAKE) splint $(AM_MAKEFLAGS))
147 148
	(cd $(srcdir)/po && $(MAKE) $(AM_MAKEFLAGS))
	(cd $(srcdir)/tests && $(MAKE) splint $(AM_MAKEFLAGS))
149