1ACLOCAL_AMFLAGS = -I m4
2
3SUBDIRS = \
4	include \
5	common \
6	libcerror \
7	libcthreads \
8	libcdata \
9	libclocale \
10	libcnotify \
11	libcsplit \
12	libuna \
13	libcfile \
14	libcpath \
15	libbfio \
16	libfcache \
17	libfdata \
18	libfdatetime \
19	libfguid \
20	libfsxfs \
21	libhmac \
22	fsxfstools \
23	pyfsxfs \
24	pyfsxfs-python2 \
25	pyfsxfs-python3 \
26	po \
27	manuals \
28	tests \
29	ossfuzz \
30	msvscpp
31
32DPKG_FILES = \
33	dpkg/changelog \
34	dpkg/changelog.in \
35	dpkg/compat \
36	dpkg/control \
37	dpkg/copyright \
38	dpkg/rules \
39	dpkg/libfsxfs.install \
40	dpkg/libfsxfs-dev.install \
41	dpkg/libfsxfs-python.install \
42	dpkg/libfsxfs-python3.install \
43	dpkg/libfsxfs-tools.install \
44	dpkg/source/format
45
46GETTEXT_FILES = \
47	config.rpath \
48	po/Makevars.in
49
50PKGCONFIG_FILES = \
51	libfsxfs.pc.in
52
53SETUP_PY_FILES = \
54	setup.py
55
56SPEC_FILES = \
57	libfsxfs.spec \
58	libfsxfs.spec.in
59
60EXTRA_DIST = \
61	$(DPKG_FILES) \
62	$(GETTEXT_FILES) \
63	$(PKGCONFIG_FILES) \
64	$(SETUP_PY_FILES) \
65	$(SPEC_FILES)
66
67MAINTAINERCLEANFILES = \
68	Makefile.in
69
70pkgconfigdir = $(libdir)/pkgconfig
71
72pkgconfig_DATA = \
73	libfsxfs.pc
74
75libtool: @LIBTOOL_DEPS@
76	cd $(srcdir) && $(SHELL) ./config.status --recheck
77
78lib: library
79
80library:
81	(cd $(srcdir)/common && $(MAKE) $(AM_MAKEFLAGS))
82	(cd $(srcdir)/libcerror && $(MAKE) $(AM_MAKEFLAGS))
83	(cd $(srcdir)/libcthreads && $(MAKE) $(AM_MAKEFLAGS))
84	(cd $(srcdir)/libcdata && $(MAKE) $(AM_MAKEFLAGS))
85	(cd $(srcdir)/libclocale && $(MAKE) $(AM_MAKEFLAGS))
86	(cd $(srcdir)/libcnotify && $(MAKE) $(AM_MAKEFLAGS))
87	(cd $(srcdir)/libcsplit && $(MAKE) $(AM_MAKEFLAGS))
88	(cd $(srcdir)/libuna && $(MAKE) $(AM_MAKEFLAGS))
89	(cd $(srcdir)/libcfile && $(MAKE) $(AM_MAKEFLAGS))
90	(cd $(srcdir)/libcpath && $(MAKE) $(AM_MAKEFLAGS))
91	(cd $(srcdir)/libbfio && $(MAKE) $(AM_MAKEFLAGS))
92	(cd $(srcdir)/libfcache && $(MAKE) $(AM_MAKEFLAGS))
93	(cd $(srcdir)/libfdata && $(MAKE) $(AM_MAKEFLAGS))
94	(cd $(srcdir)/libfdatetime && $(MAKE) $(AM_MAKEFLAGS))
95	(cd $(srcdir)/libfguid && $(MAKE) $(AM_MAKEFLAGS))
96	(cd $(srcdir)/libfsxfs && $(MAKE) $(AM_MAKEFLAGS))
97	(cd $(srcdir)/po && $(MAKE) $(AM_MAKEFLAGS))
98
99distclean: clean
100	/bin/rm -f Makefile
101	/bin/rm -f config.status
102	/bin/rm -f config.cache
103	/bin/rm -f config.log
104	/bin/rm -f libfsxfs.pc
105	/bin/rm -f libfsxfs.spec
106	@for dir in ${subdirs}; do \
107		(cd $$dir && $(MAKE) distclean) \
108		|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
109	done && test -z "$$fail"
110
111splint:
112	(cd $(srcdir)/libcerror && $(MAKE) splint $(AM_MAKEFLAGS))
113	(cd $(srcdir)/libcthreads && $(MAKE) splint $(AM_MAKEFLAGS))
114	(cd $(srcdir)/libcdata && $(MAKE) splint $(AM_MAKEFLAGS))
115	(cd $(srcdir)/libclocale && $(MAKE) splint $(AM_MAKEFLAGS))
116	(cd $(srcdir)/libcnotify && $(MAKE) splint $(AM_MAKEFLAGS))
117	(cd $(srcdir)/libcsplit && $(MAKE) splint $(AM_MAKEFLAGS))
118	(cd $(srcdir)/libuna && $(MAKE) splint $(AM_MAKEFLAGS))
119	(cd $(srcdir)/libcfile && $(MAKE) splint $(AM_MAKEFLAGS))
120	(cd $(srcdir)/libcpath && $(MAKE) splint $(AM_MAKEFLAGS))
121	(cd $(srcdir)/libbfio && $(MAKE) splint $(AM_MAKEFLAGS))
122	(cd $(srcdir)/libfcache && $(MAKE) splint $(AM_MAKEFLAGS))
123	(cd $(srcdir)/libfdata && $(MAKE) splint $(AM_MAKEFLAGS))
124	(cd $(srcdir)/libfdatetime && $(MAKE) splint $(AM_MAKEFLAGS))
125	(cd $(srcdir)/libfguid && $(MAKE) splint $(AM_MAKEFLAGS))
126	(cd $(srcdir)/libfsxfs && $(MAKE) splint $(AM_MAKEFLAGS))
127	(cd $(srcdir)/libhmac && $(MAKE) splint $(AM_MAKEFLAGS))
128	(cd $(srcdir)/fsxfstools && $(MAKE) splint $(AM_MAKEFLAGS))
129	(cd $(srcdir)/pyfsxfs && $(MAKE) splint $(AM_MAKEFLAGS))
130	(cd $(srcdir)/po && $(MAKE) splint $(AM_MAKEFLAGS))
131	(cd $(srcdir)/tests && $(MAKE) splint $(AM_MAKEFLAGS))
132	(cd $(srcdir)/ossfuzz && $(MAKE) splint $(AM_MAKEFLAGS))
133
134