File: Makefile.am

package info (click to toggle)
libfwnt 20181227-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,668 kB
  • sloc: ansic: 37,293; sh: 5,880; makefile: 569; python: 314; sed: 16
file content (57 lines) | stat: -rw-r--r-- 1,499 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
# 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 \
	@LIBCERROR_CPPFLAGS@ \
	@LIBCDATA_CPPFLAGS@ \
	@LIBFWNT_DLL_IMPORT@

am_pyfwnt_la_rpath = -rpath $(pyexecdir2)

BUILT_SOURCES = \
	pyfwnt.c pyfwnt.h \
	pyfwnt_access_control_entries.c pyfwnt_access_control_entries.h \
	pyfwnt_access_control_entry.c pyfwnt_access_control_entry.h \
	pyfwnt_access_control_list.c pyfwnt_access_control_list.h \
	pyfwnt_access_control_types.c pyfwnt_access_control_types.h \
	pyfwnt_error.c pyfwnt_error.h \
	pyfwnt_integer.c pyfwnt_integer.h \
	pyfwnt_libcerror.h \
	pyfwnt_libfwnt.h \
	pyfwnt_python.h \
	pyfwnt_security_descriptor.c pyfwnt_security_descriptor.h \
	pyfwnt_security_identifier.c pyfwnt_security_identifier.h \
	pyfwnt_unused.h

pyexec_LTLIBRARIES = pyfwnt.la

nodist_pyfwnt_la_SOURCES = $(BUILT_SOURCES)

pyfwnt_la_LIBADD = \
	@LIBCERROR_LIBADD@ \
	../libfwnt/libfwnt.la \
	@LIBCDATA_LIBADD@

pyfwnt_la_CPPFLAGS = $(PYTHON2_CPPFLAGS)
pyfwnt_la_LDFLAGS  = -module -avoid-version $(PYTHON2_LDFLAGS)

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

endif

MAINTAINERCLEANFILES = \
	Makefile.in

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

distclean: clean
	/bin/rm -f Makefile