1if HAVE_LOCAL_LIBEXE
2AM_CPPFLAGS = \
3	-I$(top_srcdir)/include \
4	-I$(top_srcdir)/common \
5	@LIBCERROR_CPPFLAGS@ \
6	@LIBCTHREADS_CPPFLAGS@ \
7	@LIBCDATA_CPPFLAGS@ \
8	@LIBCLOCALE_CPPFLAGS@ \
9	@LIBCNOTIFY_CPPFLAGS@ \
10	@LIBCSPLIT_CPPFLAGS@ \
11	@LIBUNA_CPPFLAGS@ \
12	@LIBCFILE_CPPFLAGS@ \
13	@LIBCPATH_CPPFLAGS@ \
14	@LIBBFIO_CPPFLAGS@ \
15	@LIBFCACHE_CPPFLAGS@ \
16	@LIBFDATA_CPPFLAGS@ \
17	@LIBFDATETIME_CPPFLAGS@ \
18	@PTHREAD_CPPFLAGS@
19
20noinst_LTLIBRARIES = libexe.la
21
22libexe_la_SOURCES = \
23	exe_file_header.h \
24	exe_le_header.h \
25	exe_mz_header.h \
26	exe_ne_header.h \
27	exe_pe_header.h \
28	exe_section_table.h \
29	libexe_codepage.h \
30	libexe_coff_header.c libexe_coff_header.h \
31	libexe_coff_optional_header.c libexe_coff_optional_header.h \
32	libexe_data_directory_descriptor.h \
33	libexe_debug.c libexe_debug.h \
34	libexe_debug_data.c libexe_debug_data.h \
35	libexe_definitions.h \
36	libexe_error.c libexe_error.h \
37	libexe_export_table.c libexe_export_table.h \
38	libexe_extern.h \
39	libexe_file.c libexe_file.h \
40	libexe_import_table.c libexe_import_table.h \
41	libexe_io_handle.c libexe_io_handle.h \
42	libexe_le_header.c libexe_le_header.h \
43	libexe_libbfio.h \
44	libexe_libcdata.h \
45	libexe_libcerror.h \
46	libexe_libclocale.h \
47	libexe_libcnotify.h \
48	libexe_libfcache.h \
49	libexe_libfdata.h \
50	libexe_libfdatetime.h \
51	libexe_libuna.h \
52	libexe_mz_header.c libexe_mz_header.h \
53	libexe_ne_header.c libexe_ne_header.h \
54	libexe_notify.c libexe_notify.h \
55	libexe_section.c libexe_section.h \
56	libexe_section_descriptor.c libexe_section_descriptor.h \
57	libexe_section_io_handle.c libexe_section_io_handle.h \
58	libexe_support.c libexe_support.h \
59	libexe_types.h \
60	libexe_unused.h
61endif
62
63MAINTAINERCLEANFILES = \
64	Makefile.in
65
66distclean: clean
67	/bin/rm -f Makefile
68
69splint:
70	@echo "Running splint on libexe ..."
71	-splint -preproc -redef $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(libexe_la_SOURCES)
72
73