DEFAULT_INCLUDES = -idirafter. -I$(top_builddir) lib_LTLIBRARIES = libpe.la libdir = $(pluginslibdir) if BUILD_PYTHON3_BINDINGS PYTHON3_LIBADD = python/libpepython.la if BUILD_DISCARD_LOCAL PYTHON3_LDFLAGS = -Wl,-rpath,$(pluginslibdir) \ -L$(top_srcdir)/plugins/pychrysalide/.libs -l:pychrysalide.so else PYTHON3_LDFLAGS = -Wl,-rpath,$(abs_top_srcdir)/plugins/pychrysalide/.libs \ -L$(top_srcdir)/plugins/pychrysalide/.libs -l:pychrysalide.so endif PYTHON3_SUBDIRS = python endif libpe_la_SOURCES = \ core.h core.c \ pe-int.h pe-int.c \ format.h format.c \ pe_def.h \ rich.h rich.c \ routine.h routine.c \ section.h section.c \ symbols.h symbols.c libpe_la_LIBADD = \ $(PYTHON3_LIBADD) libpe_la_LDFLAGS = \ -L$(top_srcdir)/src/.libs -lchrysacore \ $(PYTHON3_LDFLAGS) devdir = $(includedir)/chrysalide/$(subdir) dev_HEADERS = $(libpe_la_SOURCES:%c=) AM_CPPFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS) -I$(top_srcdir)/src AM_CFLAGS = $(DEBUG_CFLAGS) $(WARNING_FLAGS) $(COMPLIANCE_FLAGS) SUBDIRS = $(PYTHON3_SUBDIRS)