File: Makefile.am

package info (click to toggle)
libfwsi 20170117-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 9,788 kB
  • ctags: 3,973
  • sloc: ansic: 121,054; sh: 5,580; makefile: 1,199; python: 230; sed: 16
file content (71 lines) | stat: -rw-r--r-- 1,838 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
# 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@ \
	@LIBUNA_CPPFLAGS@ \
	@LIBFGUID_CPPFLAGS@

am_pyfwsi_la_rpath = -rpath $(pyexecdir3)

BUILT_SOURCES = \
	pyfwsi.c pyfwsi.h \
	pyfwsi_codepage.c pyfwsi_codepage.h \
	pyfwsi_datetime.c pyfwsi_datetime.h \
	pyfwsi_error.c pyfwsi_error.h \
	pyfwsi_extension_block.c pyfwsi_extension_block.h \
	pyfwsi_extension_blocks.c pyfwsi_extension_blocks.h \
	pyfwsi_file_entry.c pyfwsi_file_entry.h \
	pyfwsi_file_entry_extension.c pyfwsi_file_entry_extension.h \
	pyfwsi_guid.c pyfwsi_guid.h \
	pyfwsi_integer.c pyfwsi_integer.h \
	pyfwsi_item.c pyfwsi_item.h \
	pyfwsi_item_list.c pyfwsi_item_list.h \
	pyfwsi_items.c pyfwsi_items.h \
	pyfwsi_libcerror.h \
	pyfwsi_libclocale.h \
	pyfwsi_libfguid.h \
	pyfwsi_libfwsi.h \
	pyfwsi_network_location.c pyfwsi_network_location.h \
	pyfwsi_python.h \
	pyfwsi_root_folder.c pyfwsi_root_folder.h \
	pyfwsi_unused.h \
	pyfwsi_volume.c pyfwsi_volume.h

pyexec_LTLIBRARIES = pyfwsi.la

nodist_pyfwsi_la_SOURCES = $(BUILT_SOURCES)

pyfwsi_la_LIBADD = \
	@LIBCERROR_LIBADD@ \
	../libfwsi/libfwsi.la \
	@LIBCDATA_LIBADD@ \
	@LIBCLOCALE_LIBADD@ \
	@LIBUNA_LIBADD@ \
	@LIBFGUID_LIBADD@

pyfwsi_la_CPPFLAGS = $(PYTHON3_CPPFLAGS)
pyfwsi_la_LDFLAGS  = -module -avoid-version $(PYTHON3_LDFLAGS)

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

endif

MAINTAINERCLEANFILES = \
	Makefile.in

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

distclean: clean
	/bin/rm -f Makefile