summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/Makefile.am
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2025-01-12 14:23:01 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2025-01-12 14:23:01 (GMT)
commitbaa854bfcc969022a00617b58a661e37f345cab5 (patch)
tree093d3ace4c2e1ad8fa37ce5e08723f768fffbada /plugins/pychrysalide/Makefile.am
parent0fdba5bd3e2c9ed913619990dbda7925867e46c5 (diff)
Rewrite the plugin system.
Diffstat (limited to 'plugins/pychrysalide/Makefile.am')
-rw-r--r--plugins/pychrysalide/Makefile.am22
1 files changed, 21 insertions, 1 deletions
diff --git a/plugins/pychrysalide/Makefile.am b/plugins/pychrysalide/Makefile.am
index 183a4ef..7b1a331 100644
--- a/plugins/pychrysalide/Makefile.am
+++ b/plugins/pychrysalide/Makefile.am
@@ -1,7 +1,7 @@
DEFAULT_INCLUDES = -I$(top_builddir) -idirafter.
-lib_LTLIBRARIES = pychrysalide.la
+lib_LTLIBRARIES = pychrysalide.la pychrysalideui.la
libdir = $(pluginslibdir)
@@ -32,7 +32,9 @@ endif
pychrysalide_la_SOURCES = \
access.h access.c \
+ bindings.h bindings.c \
constants.h constants.c \
+ core-int.h \
core.h core.c \
helpers.h helpers.c \
star.h star.c \
@@ -71,6 +73,24 @@ pychrysalide_la_LDFLAGS = \
$(RUN_PATH)
+EXTRA_pychrysalideui_la_DEPENDENCIES = pychrysalide.la
+
+pychrysalideui_la_SOURCES = \
+ core-ui-int.h \
+ core-ui.h core-ui.c
+
+pychrysalideui_la_LIBADD =
+
+# -ldl: dladdr(), dlerror()
+pychrysalideui_la_LDFLAGS = \
+ -module -avoid-version -ldl \
+ $(LIBPYTHON_INTERPRETER_LIBS) \
+ $(LIBPYGOBJECT_LIBS) \
+ -L.libs -l:pychrysalide.so \
+ -L$(top_srcdir)/src/.libs -lchrysacoreui\
+ $(RUN_PATH)
+
+
devdir = $(includedir)/chrysalide/$(subdir)
dev_HEADERS = $(pychrysalide_la_SOURCES:%c=)