File: Makefile.am

package info (click to toggle)
libregf 20190303-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 12,412 kB
  • sloc: ansic: 187,063; sh: 6,056; makefile: 1,297; python: 323; sed: 16
file content (74 lines) | stat: -rw-r--r-- 1,801 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
# 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@ \
	@LIBREGF_DLL_IMPORT@

am_pyregf_la_rpath = -rpath $(pyexecdir3)

BUILT_SOURCES = \
	pyregf.c pyregf.h \
	pyregf_codepage.c pyregf_codepage.h \
	pyregf_datetime.c pyregf_datetime.h \
	pyregf_error.c pyregf_error.h \
	pyregf_file.c pyregf_file.h \
	pyregf_file_object_io_handle.c pyregf_file_object_io_handle.h \
	pyregf_file_types.c pyregf_file_types.h \
	pyregf_integer.c pyregf_integer.h \
	pyregf_key.c pyregf_key.h \
	pyregf_keys.c pyregf_keys.h \
	pyregf_libbfio.h \
	pyregf_libcerror.h \
	pyregf_libclocale.h \
	pyregf_libregf.h \
	pyregf_python.h \
	pyregf_unused.h \
	pyregf_value.c pyregf_value.h \
	pyregf_value_types.c pyregf_value_types.h \
	pyregf_values.c pyregf_values.h

pyexec_LTLIBRARIES = pyregf.la

nodist_pyregf_la_SOURCES = $(BUILT_SOURCES)

pyregf_la_LIBADD = \
	@LIBCERROR_LIBADD@ \
	../libregf/libregf.la \
	@LIBBFIO_LIBADD@ \
	@LIBCPATH_LIBADD@ \
	@LIBCFILE_LIBADD@ \
	@LIBCSPLIT_LIBADD@ \
	@LIBCLOCALE_LIBADD@ \
	@LIBCDATA_LIBADD@

pyregf_la_CPPFLAGS = $(PYTHON3_CPPFLAGS)
pyregf_la_LDFLAGS  = -module -avoid-version $(PYTHON3_LDFLAGS)

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

endif

MAINTAINERCLEANFILES = \
	Makefile.in

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

distclean: clean
	/bin/rm -f Makefile