File: Makefile.am

package info (click to toggle)
libewf 20140804-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 19,284 kB
  • sloc: ansic: 313,293; sh: 6,855; cpp: 3,819; makefile: 1,926; yacc: 1,094; python: 467; lex: 391; sed: 16
file content (75 lines) | stat: -rw-r--r-- 1,805 bytes parent folder | download
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# Note that we cannot use: AUTOMAKE_OPTIONS = subdir-objects
# subdir-objects will compile the source files to a single version of Python.
# Since subdir-objects is being deprecated we copy the source files instead.
am__installdirs = "$(DESTDIR)$(pyexecdir2)"
pyexecdir = $(pyexecdir2)

if HAVE_PYTHON2
AM_CFLAGS = \
	-I$(top_srcdir)/include \
	-I$(top_srcdir)/common \
	@LIBCSTRING_CPPFLAGS@ \
	@LIBCERROR_CPPFLAGS@ \
	@LIBCDATA_CPPFLAGS@ \
	@LIBCLOCALE_CPPFLAGS@ \
	@LIBCSPLIT_CPPFLAGS@ \
	@LIBUNA_CPPFLAGS@ \
	@LIBCFILE_CPPFLAGS@ \
	@LIBCPATH_CPPFLAGS@ \
	@LIBBFIO_CPPFLAGS@

am_pyewf_la_rpath = -rpath $(pyexecdir2)

BUILT_SOURCES = \
	pyewf.c pyewf.h \
	pyewf_codepage.c pyewf_codepage.h \
	pyewf_datetime.c pyewf_datetime.h \
	pyewf_error.c pyewf_error.h \
	pyewf_file_entries.c pyewf_file_entries.h \
	pyewf_file_entry.c pyewf_file_entry.h \
	pyewf_file_object_io_handle.c pyewf_file_object_io_handle.h \
	pyewf_file_objects_io_pool.c pyewf_file_objects_io_pool.h \
	pyewf_handle.c pyewf_handle.h \
	pyewf_integer.c pyewf_integer.h \
	pyewf_libbfio.h \
	pyewf_libcerror.h \
	pyewf_libclocale.h \
	pyewf_libcstring.h \
	pyewf_libewf.h \
	pyewf_metadata.c pyewf_metadata.h \
	pyewf_python.h \
	pyewf_unused.h

pyexec_LTLIBRARIES = pyewf.la

nodist_pyewf_la_SOURCES = $(BUILT_SOURCES)

pyewf_la_LIBADD = \
	@LIBCSTRING_LIBADD@ \
	@LIBCERROR_LIBADD@ \
	../libewf/libewf.la
	@LIBCDATA_LIBADD@ \
	@LIBCLOCALE_LIBADD@ \
	@LIBCSPLIT_LIBADD@ \
	@LIBUNA_LIBADD@ \
	@LIBCFILE_LIBADD@ \
	@LIBCPATH_LIBADD@ \
	@LIBBFIO_LIBADD@

pyewf_la_CPPFLAGS = $(PYTHON2_CPPFLAGS)
pyewf_la_LDFLAGS  = -module -avoid-version $(PYTHON2_LDFLAGS)

$(BUILT_SOURCES):
	/bin/cp -f $(top_srcdir)/pyewf/$@ $@

endif

MAINTAINERCLEANFILES = \
	Makefile.in

clean-local:
	/bin/rm -f pyewf*.[ch]

distclean: clean
	/bin/rm -f Makefile