Mercurial > pidgin
comparison console/plugins/Makefile.am @ 14139:44ec6c7cbc76
[gaim-migrate @ 16781]
Allow setting the preferences for gnt-plugins.
Add a guifications-like plugin for gntgaim. You can set its preferences.
The preferences for core plugins are still not accessible.
The makefile-foo will require changes once the split is complete. I am now
just committing whatever works for me.
committer: Tailor Script <tailor@pidgin.im>
| author | Sadrul Habib Chowdhury <imadil@gmail.com> |
|---|---|
| date | Wed, 16 Aug 2006 05:12:48 +0000 |
| parents | |
| children | 7c560c01b8f9 |
comparison
equal
deleted
inserted
replaced
| 14138:7f276f375789 | 14139:44ec6c7cbc76 |
|---|---|
| 1 gntgf_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) | |
| 2 | |
| 3 if PLUGINS | |
| 4 | |
| 5 plugin_LTLIBRARIES = \ | |
| 6 gntgf.la | |
| 7 | |
| 8 plugindir = $(libdir)/gaim | |
| 9 | |
| 10 gntgf_la_SOURCES = gntgf.c | |
| 11 | |
| 12 endif # PLUGINS | |
| 13 | |
| 14 EXTRA_DIST = | |
| 15 | |
| 16 GNT_CFLAGS = `pkg-config --cflags gnt` -I.. | |
| 17 | |
| 18 AM_CPPFLAGS = \ | |
| 19 -DDATADIR=\"$(datadir)\" \ | |
| 20 -DVERSION=\"$(VERSION)\" \ | |
| 21 -I$(top_builddir)/src \ | |
| 22 -I$(top_srcdir)/src \ | |
| 23 $(DEBUG_CFLAGS) \ | |
| 24 $(GNT_CFLAGS) \ | |
| 25 $(GLIB_CFLAGS) \ | |
| 26 $(PLUGIN_CFLAGS) | |
| 27 | |
| 28 # | |
| 29 # This part allows people to build their own plugins in here. | |
| 30 # Yes, it's a mess. | |
| 31 # | |
| 32 SUFFIXES = .c .so | |
| 33 .c.so: | |
| 34 $(LIBTOOL) --mode=compile $(CC) -DHAVE_CONFIG_H -I$(top_srcdir) $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS) | |
| 35 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) -module -avoid-version $(PLUGIN_LIBS) | |
| 36 @rm -f tmp$@.lo tmp$@.o libtmp$@.la | |
| 37 @cp .libs/libtmp$@.so* $@ | |
| 38 @rm -f .libs/libtmp$@.* |
