Mercurial > pidgin
annotate libgaim/plugins/Makefile.am @ 14376:b2d0b4ca2cf3
[gaim-migrate @ 17082]
It really isn't smart for us to blow away the previous install directory (we do ask nicely, but it still isn't good) if the uninstaller for the previous version fails, so now we offer the choice between "continue regardless" or "cancel installing".
It would really be ideal if we could get these translations done through gettext or something.
committer: Tailor Script <tailor@pidgin.im>
| author | Daniel Atallah <daniel.atallah@gmail.com> |
|---|---|
| date | Wed, 30 Aug 2006 02:40:56 +0000 |
| parents | d5c22258df09 |
| children | 69590c55c748 |
| 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 | |
| 27 idle_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) | |
|
14235
a54ff7cafc2a
[gaim-migrate @ 16917]
Richard Laager <rlaager@wiktel.com>
parents:
14192
diff
changeset
|
28 log_reader_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) |
| 14192 | 29 psychic_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) |
| 30 statenotify_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) | |
| 31 | |
| 32 # this can't be in a conditional otherwise automake 1.4 yells | |
| 33 dbus_example_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) $(DBUS_LIBS) | |
| 34 | |
| 35 if PLUGINS | |
| 36 | |
| 37 plugin_LTLIBRARIES = \ | |
| 38 idle.la \ | |
|
14235
a54ff7cafc2a
[gaim-migrate @ 16917]
Richard Laager <rlaager@wiktel.com>
parents:
14192
diff
changeset
|
39 log_reader.la \ |
| 14192 | 40 psychic.la \ |
| 41 statenotify.la \ | |
| 42 $(DBUS_LTLIB) | |
| 43 | |
| 44 | |
| 45 idle_la_SOURCES = idle.c | |
|
14235
a54ff7cafc2a
[gaim-migrate @ 16917]
Richard Laager <rlaager@wiktel.com>
parents:
14192
diff
changeset
|
46 log_reader_la_SOURCES = log_reader.c |
| 14192 | 47 psychic_la_SOURCES = psychic.c |
| 48 statenotify_la_SOURCES = statenotify.c | |
| 49 | |
| 50 if ENABLE_DBUS | |
| 51 | |
| 52 CLEANFILES = dbus-example-bindings.c | |
| 53 dbus_example_la_SOURCES = dbus-example.c | |
| 54 | |
| 55 .PHONY: always | |
| 56 | |
| 57 $(top_builddir)/libgaim/dbus-types.h: always | |
| 58 cd $(@D) && $(MAKE) $(AM_MAKEFLAGS) $(@F) | |
| 59 | |
| 60 dbus-example-bindings.c: $(top_srcdir)/libgaim/dbus-analyze-functions.py $(dbus_example_la_SOURCES) | |
| 61 cat $(srcdir)/$(dbus_example_la_SOURCES) | \ | |
| 62 $(PYTHON) $(top_srcdir)/libgaim/dbus-analyze-functions.py --export-only > $@ | |
| 63 | |
| 64 $(dbus_example_la_OBJECTS) dbus-example.so: dbus-example-bindings.c $(top_builddir)/libgaim/dbus-types.h | |
| 65 | |
| 66 | |
| 67 endif # ENABLE_DBUS | |
| 68 | |
| 69 endif # PLUGINS | |
| 70 | |
| 71 EXTRA_DIST = \ | |
| 72 Makefile.mingw \ | |
| 73 dbus-buddyicons-example.py \ | |
| 74 filectl.c \ | |
| 75 fortuneprofile.pl \ | |
| 76 gaim.pl \ | |
| 77 ipc-test-client.c \ | |
| 78 ipc-test-server.c \ | |
| 79 pluginpref_example.c \ | |
| 80 signals-test.c \ | |
| 81 simple.c | |
| 82 | |
| 83 AM_CPPFLAGS = \ | |
| 84 -DDATADIR=\"$(datadir)\" \ | |
| 85 -DVERSION=\"$(VERSION)\" \ | |
| 86 -I$(top_builddir)/libgaim \ | |
| 87 -I$(top_srcdir)/libgaim \ | |
| 88 $(DEBUG_CFLAGS) \ | |
| 89 $(GLIB_CFLAGS) \ | |
| 90 $(PLUGIN_CFLAGS) \ | |
| 91 $(DBUS_CFLAGS) | |
| 92 | |
| 93 # | |
| 94 # This part allows people to build their own plugins in here. | |
| 95 # Yes, it's a mess. | |
| 96 # | |
| 97 SUFFIXES = .c .so | |
| 98 .c.so: | |
| 99 $(LIBTOOL) --mode=compile $(CC) -DHAVE_CONFIG_H -I$(top_srcdir) $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS) | |
| 100 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) -module -avoid-version $(PLUGIN_LIBS) | |
| 101 @rm -f tmp$@.lo tmp$@.o libtmp$@.la | |
| 102 @cp .libs/libtmp$@.so* $@ | |
| 103 @rm -f .libs/libtmp$@.* |
