1# Note that we cannot use: AUTOMAKE_OPTIONS = subdir-objects 2# subdir-objects will compile the source files to a single version of Python. 3# Since subdir-objects is being deprecated we copy the source files instead. 4am__installdirs = "$(DESTDIR)$(pyexecdir2)" 5pyexecdir = $(pyexecdir2) 6 7if HAVE_PYTHON2 8AM_CFLAGS = \ 9 -I$(top_srcdir)/include \ 10 -I$(top_srcdir)/common \ 11 @LIBCERROR_CPPFLAGS@ \ 12 @LIBCDATA_CPPFLAGS@ \ 13 @LIBCLOCALE_CPPFLAGS@ \ 14 @LIBCSPLIT_CPPFLAGS@ \ 15 @LIBUNA_CPPFLAGS@ \ 16 @LIBCFILE_CPPFLAGS@ \ 17 @LIBCPATH_CPPFLAGS@ \ 18 @LIBBFIO_CPPFLAGS@ \ 19 @LIBFGUID_CPPFLAGS@ \ 20 @LIBFSEXT_DLL_IMPORT@ 21 22am_pyfsext_la_rpath = -rpath $(pyexecdir2) 23 24BUILT_SOURCES = \ 25 pyfsext.c pyfsext.h \ 26 pyfsext_datetime.c pyfsext_datetime.h \ 27 pyfsext_error.c pyfsext_error.h \ 28 pyfsext_extended_attribute.c pyfsext_extended_attribute.h \ 29 pyfsext_extended_attributes.c pyfsext_extended_attributes.h \ 30 pyfsext_file_entries.c pyfsext_file_entries.h \ 31 pyfsext_file_entry.c pyfsext_file_entry.h \ 32 pyfsext_file_object_io_handle.c pyfsext_file_object_io_handle.h \ 33 pyfsext_integer.c pyfsext_integer.h \ 34 pyfsext_libbfio.h \ 35 pyfsext_libcerror.h \ 36 pyfsext_libfsext.h \ 37 pyfsext_python.h \ 38 pyfsext_unused.h \ 39 pyfsext_volume.c pyfsext_volume.h 40 41pyexec_LTLIBRARIES = pyfsext.la 42 43nodist_pyfsext_la_SOURCES = $(BUILT_SOURCES) 44 45pyfsext_la_LIBADD = \ 46 @LIBCERROR_LIBADD@ \ 47 ../libfsext/libfsext.la \ 48 @LIBCDATA_LIBADD@ \ 49 @LIBCLOCALE_LIBADD@ \ 50 @LIBCSPLIT_LIBADD@ \ 51 @LIBUNA_LIBADD@ \ 52 @LIBCFILE_LIBADD@ \ 53 @LIBCPATH_LIBADD@ \ 54 @LIBBFIO_LIBADD@ \ 55 @LIBFGUID_LIBADD@ 56 57pyfsext_la_CPPFLAGS = $(PYTHON2_CPPFLAGS) 58pyfsext_la_LDFLAGS = -module -avoid-version $(PYTHON2_LDFLAGS) 59 60$(BUILT_SOURCES): 61 /bin/cp -f $(top_srcdir)/pyfsext/$@ $@ 62 63endif 64 65MAINTAINERCLEANFILES = \ 66 Makefile.in 67 68clean-local: 69 /bin/rm -f pyfsext*.[ch] 70 71distclean: clean 72 /bin/rm -f Makefile 73 74