summaryrefslogtreecommitdiff
path: root/src/plugins/Makefile.am
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2007-10-31 18:04:44 +0100
committerSebastien Helleu <flashcode@flashtux.org>2007-10-31 18:04:44 +0100
commitbf40cfbdfd6b196aceb084941589efc364c65944 (patch)
tree5267a97e07091affce65ace90250ddbe3d2b9c00 /src/plugins/Makefile.am
parent02c0dec9cbf1d5e211b8c3c3041c0219c2b2b87d (diff)
downloadweechat-bf40cfbdfd6b196aceb084941589efc364c65944.zip
Improved plugin API, most functions rewritten from scratch
Diffstat (limited to 'src/plugins/Makefile.am')
-rw-r--r--src/plugins/Makefile.am31
1 files changed, 23 insertions, 8 deletions
diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am
index 4767328ac..338552c80 100644
--- a/src/plugins/Makefile.am
+++ b/src/plugins/Makefile.am
@@ -16,6 +16,22 @@
INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\"
+noinst_LIBRARIES = lib_weechat_plugins.a
+
+lib_weechat_plugins_a_SOURCES = weechat-plugin.h \
+ plugin.c \
+ plugin.h \
+ plugin-api.c \
+ plugin-api.h \
+ plugin-config.c \
+ plugin-config.h \
+ plugin-list.c \
+ plugin-list.h
+
+if PLUGIN_IRC
+irc_dir = irc
+endif
+
if PLUGIN_PERL
script_dir = scripts
endif
@@ -40,13 +56,12 @@ if PLUGIN_CHARSET
charset_dir = charset
endif
-SUBDIRS = $(script_dir) $(aspell_dir) $(charset_dir)
+if PLUGIN_FIFO
+fifo_dir = fifo
+endif
-noinst_LIBRARIES = lib_weechat_plugins.a
+if PLUGIN_TRIGGER
+trigger_dir = trigger
+endif
-lib_weechat_plugins_a_SOURCES = weechat-plugin.h \
- plugins.h \
- plugins.c \
- plugins-interface.c \
- plugins-config.h \
- plugins-config.c
+SUBDIRS = . $(irc_dir) $(script_dir) $(aspell_dir) $(charset_dir) $(fifo_dir) $(trigger_dir)