summaryrefslogtreecommitdiff
path: root/plugins/elf
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/elf')
-rw-r--r--plugins/elf/Makefile.am8
-rw-r--r--plugins/elf/python/Makefile.am6
2 files changed, 13 insertions, 1 deletions
diff --git a/plugins/elf/Makefile.am b/plugins/elf/Makefile.am
index 415bd2b..ccfa2d5 100644
--- a/plugins/elf/Makefile.am
+++ b/plugins/elf/Makefile.am
@@ -1,6 +1,9 @@
lib_LTLIBRARIES = libelf.la
+libdir = $(pluginsdir)
+
+
libelf_la_SOURCES = \
core.h core.c \
elf-int.h elf-int.c \
@@ -22,6 +25,11 @@ libelf_la_LDFLAGS = $(LIBPYTHON_LIBS) $(LIBPYGOBJECT_LIBS) \
-L$(top_srcdir)/src/.libs -lchrysacore
+devdir = $(includedir)/chrysalide-$(subdir)
+
+dev_HEADERS = $(libelf_la_SOURCES:%c=)
+
+
AM_CPPFLAGS = $(LIBGTK_CFLAGS) $(LIBPYTHON_CFLAGS) $(LIBPYGOBJECT_CFLAGS) $(LIBXML_CFLAGS) -I$(top_srcdir)/src
AM_CFLAGS = $(DEBUG_CFLAGS) $(WARNING_FLAGS) $(COMPLIANCE_FLAGS)
diff --git a/plugins/elf/python/Makefile.am b/plugins/elf/python/Makefile.am
index ce2fe74..4912254 100644
--- a/plugins/elf/python/Makefile.am
+++ b/plugins/elf/python/Makefile.am
@@ -11,10 +11,14 @@ libelfpython_la_SOURCES = \
section.h section.c \
translate.h translate.c
-
libelfpython_la_LDFLAGS =
+devdir = $(includedir)/chrysalide-$(subdir)
+
+dev_HEADERS = $(libelfpython_la_SOURCES:%c=)
+
+
AM_CPPFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS) $(LIBPYTHON_CFLAGS) $(LIBPYGOBJECT_CFLAGS) \
-I$(top_srcdir)/src