File: Makefile.am

package info (click to toggle)
libesedb 20181229-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 15,672 kB
  • sloc: ansic: 246,874; sh: 6,096; makefile: 1,680; python: 309; sed: 16
file content (81 lines) | stat: -rw-r--r-- 2,126 bytes parent folder | download | duplicates (2)
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
76
77
78
79
80
81
# 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)$(pyexecdir3)"
pyexecdir = $(pyexecdir3)

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

am_pyesedb_la_rpath = -rpath $(pyexecdir3)

BUILT_SOURCES = \
	pyesedb.c pyesedb.h \
	pyesedb_column.c pyesedb_column.h \
	pyesedb_column_types.c pyesedb_column_types.h \
	pyesedb_columns.c pyesedb_columns.h \
	pyesedb_datetime.c pyesedb_datetime.h \
	pyesedb_error.c pyesedb_error.h \
	pyesedb_file.c pyesedb_file.h \
	pyesedb_file_object_io_handle.c pyesedb_file_object_io_handle.h \
	pyesedb_file_types.c pyesedb_file_types.h \
	pyesedb_index.c pyesedb_index.h \
	pyesedb_indexes.c pyesedb_indexes.h \
	pyesedb_integer.c pyesedb_integer.h \
	pyesedb_libbfio.h \
	pyesedb_libcerror.h \
	pyesedb_libclocale.h \
	pyesedb_libesedb.h \
	pyesedb_long_value.c pyesedb_long_value.h \
	pyesedb_multi_value.c pyesedb_multi_value.h \
	pyesedb_python.h \
	pyesedb_record.c pyesedb_record.h \
	pyesedb_records.c pyesedb_records.h \
	pyesedb_table.c pyesedb_table.h \
	pyesedb_tables.c pyesedb_tables.h \
	pyesedb_unused.h \
	pyesedb_value_flags.c pyesedb_value_flags.h

pyexec_LTLIBRARIES = pyesedb.la

nodist_pyesedb_la_SOURCES = $(BUILT_SOURCES)

pyesedb_la_LIBADD = \
	@LIBCERROR_LIBADD@ \
	../libesedb/libesedb.la \
	@LIBCDATA_LIBADD@ \
	@LIBCLOCALE_LIBADD@ \
	@LIBCSPLIT_LIBADD@ \
	@LIBUNA_LIBADD@ \
	@LIBCFILE_LIBADD@ \
	@LIBCPATH_LIBADD@ \
	@LIBBFIO_LIBADD@

pyesedb_la_CPPFLAGS = $(PYTHON3_CPPFLAGS)
pyesedb_la_LDFLAGS  = -module -avoid-version $(PYTHON3_LDFLAGS)

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

endif

MAINTAINERCLEANFILES = \
	Makefile.in

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

distclean: clean
	/bin/rm -f Makefile