diff options
| author | Christopher Davis <loafier@gmail.com> | 2006-08-14 04:45:46 +0000 |
|---|---|---|
| committer | Christopher Davis <loafier@gmail.com> | 2006-08-14 04:45:46 +0000 |
| commit | ce3d6fcba4587feb5555a9b85c6fdeaa0b74553f (patch) | |
| tree | 73de668e3b48b475ae1fac6a8317f577ec2c0663 /src/Makefile.am | |
| parent | 3a028090359e5d5d24ccbfc11d9b6ff5681aab4f (diff) | |
| download | irssi-python-ce3d6fcba4587feb5555a9b85c6fdeaa0b74553f.tar.gz irssi-python-ce3d6fcba4587feb5555a9b85c6fdeaa0b74553f.tar.xz irssi-python-ce3d6fcba4587feb5555a9b85c6fdeaa0b74553f.zip | |
adding autotool stuff
git-svn-id: http://svn.irssi.org/repos/irssi-python@4313 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/Makefile.am')
| -rw-r--r-- | src/Makefile.am | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 0000000..5a28039 --- /dev/null +++ b/src/Makefile.am @@ -0,0 +1,47 @@ +moduledir = $(libdir)/irssi/modules +wrappersdir = $(datadir)/irssi/scripts +module_LTLIBRARIES = libirssi_python.la + +libirssi_python_la_DEPENDENCIES = objects/libobjects.la +libirssi_python_la_LIBADD = $(PYTHON_LDFLAGS) objects/libobjects.la +libirssi_python_la_LDFLAGS = -avoid-version + +INCLUDES = $(IRSSI_PYTHON_INCLUDES) \ + -I$(top_srcdir)/src/objects \ + -DSCRIPTDIR=\""$(datadir)/irssi/scripts"\" + +libirssi_python_la_SOURCES = \ + pycore.c \ + pyutils.c \ + pymodule.c \ + pyloader.c \ + pysignals.c\ + pysource.c \ + pythemes.c \ + pystatusbar.c \ + pyconstants.c + +noinst_HEADERS = \ + pyconstants.h \ + pycore.h \ + pyirssi.h \ + pyirssi_irc.h \ + pyloader.h \ + pymodule.h \ + pysigmap.h \ + pysignals.h \ + pysource.h \ + pystatusbar.h \ + pythemes.h \ + pyutils.h + +wrappers_DATA = irssi.py irssi_startup.py +EXTRA_DIST = $(wrappers_DATA) + +SUBDIRS = objects + +signalmap: + awk -f sig2code.awk $(IRSSI_DIST)/docs/signals.txt > pysigmap.h + +constants: + awk -f constants.awk constants.txt > pyconstants.c |
