Mercurial > pidgin
annotate libgaim/plugins/Makefile.am @ 15278:00fbd797dc29
[gaim-migrate @ 18068]
This guy sent us an email on December 25th, 2006 and said he
contributed some stuff for getting libgaim to be portable between
Unix and Windows. Adam corroborated that, but we're not sure
if the stuff he contributed is still around, or if it's been
rewritten, etc. So I'm going to add his name in, just in case.
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Wed, 03 Jan 2007 19:43:33 +0000 |
| parents | 630b794db0c8 |
| children |
| rev | line source |
|---|---|
| 14192 | 1 DIST_SUBDIRS = mono perl ssl tcl |
| 2 | |
| 3 if USE_PERL | |
|
14372
d5c22258df09
[gaim-migrate @ 17078]
Etan Reisner <pidgin@unreliablesource.net>
parents:
14235
diff
changeset
|
4 PERL_DIR = perl |
| 14192 | 5 endif |
| 6 | |
| 7 if USE_TCL | |
| 8 TCL_DIR = tcl | |
| 9 endif | |
| 10 | |
| 11 if ENABLE_DBUS | |
| 12 DBUS_LTLIB = dbus-example.la | |
| 13 endif | |
| 14 | |
| 15 if USE_MONO | |
| 16 MONO_DIR = mono | |
| 17 endif | |
| 18 | |
| 19 SUBDIRS = \ | |
| 20 $(MONO_DIR) \ | |
| 21 $(PERL_DIR) \ | |
| 22 ssl \ | |
| 23 $(TCL_DIR) | |
| 24 | |
| 25 plugindir = $(libdir)/gaim | |
| 26 | |
|
15168
630b794db0c8
[gaim-migrate @ 17954]
Gary Kramlich <grim@reaperworld.com>
parents:
14674
diff
changeset
|
27 autoaccept_la_LDFLAGS = -module -avoid-version |
|
630b794db0c8
[gaim-migrate @ 17954]
Gary Kramlich <grim@reaperworld.com>
parents:
14674
diff
changeset
|
28 autoreply_la_LDFLAGS = -module -avoid-version |
|
630b794db0c8
[gaim-migrate @ 17954]
Gary Kramlich <grim@reaperworld.com>
parents:
14674
diff
changeset
|
29 buddynote_la_LDFLAGS = -module -avoid-version |
| 14674 | 30 idle_la_LDFLAGS = -module -avoid-version |
| 31 log_reader_la_LDFLAGS = -module -avoid-version | |
|
15168
630b794db0c8
[gaim-migrate @ 17954]
Gary Kramlich <grim@reaperworld.com>
parents:
14674
diff
changeset
|
32 newline_la_LDFLAGS = -module -avoid-version |
|
630b794db0c8
[gaim-migrate @ 17954]
Gary Kramlich <grim@reaperworld.com>
parents:
14674
diff
changeset
|
33 offlinemsg_la_LDFLAGS = -module -avoid-version |
| 14674 | 34 psychic_la_LDFLAGS = -module -avoid-version |
| 35 statenotify_la_LDFLAGS = -module -avoid-version | |
| 14192 | 36 |
| 37 # this can't be in a conditional otherwise automake 1.4 yells | |
| 14674 | 38 dbus_example_la_LDFLAGS = -module -avoid-version |
| 14192 | 39 |
| 40 if PLUGINS | |
| 41 | |
| 42 plugin_LTLIBRARIES = \ | |
|
15168
630b794db0c8
[gaim-migrate @ 17954]
Gary Kramlich <grim@reaperworld.com>
parents:
14674
diff
changeset
|
43 autoaccept.la \ |
|
630b794db0c8
[gaim-migrate @ 17954]
Gary Kramlich <grim@reaperworld.com>
parents:
14674
diff
changeset
|
44 autoreply.la \ |
|
630b794db0c8
[gaim-migrate @ 17954]
Gary Kramlich <grim@reaperworld.com>
parents:
14674
diff
changeset
|
45 buddynote.la \ |
| 14192 | 46 idle.la \ |
|
14235
a54ff7cafc2a
[gaim-migrate @ 16917]
Richard Laager <rlaager@wiktel.com>
parents:
14192
diff
changeset
|
47 log_reader.la \ |
|
15168
630b794db0c8
[gaim-migrate @ 17954]
Gary Kramlich <grim@reaperworld.com>
parents:
14674
diff
changeset
|
48 newline.la \ |
|
630b794db0c8
[gaim-migrate @ 17954]
Gary Kramlich <grim@reaperworld.com>
parents:
14674
diff
changeset
|
49 offlinemsg.la \ |
| 14192 | 50 psychic.la \ |
| 51 statenotify.la \ | |
| 52 $(DBUS_LTLIB) | |
| 53 | |
|
15168
630b794db0c8
[gaim-migrate @ 17954]
Gary Kramlich <grim@reaperworld.com>
parents:
14674
diff
changeset
|
54 autoaccept_la_SOURCES = autoaccept.c |
|
630b794db0c8
[gaim-migrate @ 17954]
Gary Kramlich <grim@reaperworld.com>
parents:
14674
diff
changeset
|
55 autoreply_la_SOURCES = autoreply.c |
|
630b794db0c8
[gaim-migrate @ 17954]
Gary Kramlich <grim@reaperworld.com>
parents:
14674
diff
changeset
|
56 buddynote_la_SOURCES = buddynote.c |
| 14192 | 57 idle_la_SOURCES = idle.c |
|
14235
a54ff7cafc2a
[gaim-migrate @ 16917]
Richard Laager <rlaager@wiktel.com>
parents:
14192
diff
changeset
|
58 log_reader_la_SOURCES = log_reader.c |
|
15168
630b794db0c8
[gaim-migrate @ 17954]
Gary Kramlich <grim@reaperworld.com>
parents:
14674
diff
changeset
|
59 newline_la_SOURCES = newline.c |
|
630b794db0c8
[gaim-migrate @ 17954]
Gary Kramlich <grim@reaperworld.com>
parents:
14674
diff
changeset
|
60 offlinemsg_la_SOURCES = offlinemsg.c |
| 14192 | 61 psychic_la_SOURCES = psychic.c |
| 62 statenotify_la_SOURCES = statenotify.c | |
| 63 | |
|
15168
630b794db0c8
[gaim-migrate @ 17954]
Gary Kramlich <grim@reaperworld.com>
parents:
14674
diff
changeset
|
64 autoaccept_la_LIBADD = $(GLIB_LIBS) |
|
630b794db0c8
[gaim-migrate @ 17954]
Gary Kramlich <grim@reaperworld.com>
parents:
14674
diff
changeset
|
65 autoreply_la_LIBADD = $(GLIB_LIBS) |
|
630b794db0c8
[gaim-migrate @ 17954]
Gary Kramlich <grim@reaperworld.com>
parents:
14674
diff
changeset
|
66 buddynote_la_LIBADD = $(GLIB_LIBS) |
| 14674 | 67 idle_la_LIBADD = $(GLIB_LIBS) |
| 68 log_reader_la_LIBADD = $(GLIB_LIBS) | |
|
15168
630b794db0c8
[gaim-migrate @ 17954]
Gary Kramlich <grim@reaperworld.com>
parents:
14674
diff
changeset
|
69 newline_la_LIBADD = $(GLIB_LIBS) |
|
630b794db0c8
[gaim-migrate @ 17954]
Gary Kramlich <grim@reaperworld.com>
parents:
14674
diff
changeset
|
70 offlinemsg_la_LIBADD = $(GLIB_LIBS) |
| 14674 | 71 psychic_la_LIBADD = $(GLIB_LIBS) |
| 72 statenotify_la_LIBADD = $(GLIB_LIBS) | |
| 73 | |
| 14192 | 74 if ENABLE_DBUS |
| 75 | |
| 76 CLEANFILES = dbus-example-bindings.c | |
| 77 dbus_example_la_SOURCES = dbus-example.c | |
| 78 | |
| 14674 | 79 dbus_example_la_LIBADD = $(GLIB_LIBS) $(DBUS_LIBS) |
| 80 | |
| 14192 | 81 .PHONY: always |
| 82 | |
| 83 $(top_builddir)/libgaim/dbus-types.h: always | |
| 84 cd $(@D) && $(MAKE) $(AM_MAKEFLAGS) $(@F) | |
| 85 | |
| 86 dbus-example-bindings.c: $(top_srcdir)/libgaim/dbus-analyze-functions.py $(dbus_example_la_SOURCES) | |
| 87 cat $(srcdir)/$(dbus_example_la_SOURCES) | \ | |
| 88 $(PYTHON) $(top_srcdir)/libgaim/dbus-analyze-functions.py --export-only > $@ | |
| 89 | |
| 90 $(dbus_example_la_OBJECTS) dbus-example.so: dbus-example-bindings.c $(top_builddir)/libgaim/dbus-types.h | |
| 91 | |
| 92 | |
| 93 endif # ENABLE_DBUS | |
| 94 | |
| 95 endif # PLUGINS | |
| 96 | |
| 97 EXTRA_DIST = \ | |
| 98 Makefile.mingw \ | |
| 99 dbus-buddyicons-example.py \ | |
| 100 filectl.c \ | |
| 101 fortuneprofile.pl \ | |
| 102 gaim.pl \ | |
| 103 ipc-test-client.c \ | |
| 104 ipc-test-server.c \ | |
| 105 pluginpref_example.c \ | |
| 106 signals-test.c \ | |
| 107 simple.c | |
| 108 | |
| 109 AM_CPPFLAGS = \ | |
| 110 -DDATADIR=\"$(datadir)\" \ | |
| 111 -DVERSION=\"$(VERSION)\" \ | |
| 112 -I$(top_builddir)/libgaim \ | |
| 113 -I$(top_srcdir)/libgaim \ | |
| 114 $(DEBUG_CFLAGS) \ | |
| 115 $(GLIB_CFLAGS) \ | |
| 116 $(PLUGIN_CFLAGS) \ | |
| 117 $(DBUS_CFLAGS) | |
| 118 | |
| 119 # | |
| 120 # This part allows people to build their own plugins in here. | |
| 121 # Yes, it's a mess. | |
| 122 # | |
| 123 SUFFIXES = .c .so | |
| 124 .c.so: | |
| 125 $(LIBTOOL) --mode=compile $(CC) -DHAVE_CONFIG_H -I$(top_srcdir) $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS) | |
| 126 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) -module -avoid-version $(PLUGIN_LIBS) | |
| 127 @rm -f tmp$@.lo tmp$@.o libtmp$@.la | |
| 128 @cp .libs/libtmp$@.so* $@ | |
| 129 @rm -f .libs/libtmp$@.* |
