Mercurial > pidgin
annotate finch/plugins/Makefile.am @ 19758:a514b3fb1720
fixes #3041 assuming this is the same miles
committer: Luke Schierer <lschiere@pidgin.im>
| author | Martin Srebotnjak <miles@filmsi.net> |
|---|---|
| date | Tue, 11 Sep 2007 22:58:03 +0000 |
| parents | 36400e6f8954 |
| children | 85c365822504 315151da0dc6 |
| rev | line source |
|---|---|
|
15891
886025ef7daa
Build gntclipboard plugin by default. If we don't want this, at least
Stu Tomlinson <stu@nosnilmot.com>
parents:
15884
diff
changeset
|
1 gntclipboard_la_LDFLAGS = -module -avoid-version |
| 15817 | 2 gntgf_la_LDFLAGS = -module -avoid-version |
| 3 gnthistory_la_LDFLAGS = -module -avoid-version | |
| 4 gntlastlog_la_LDFLAGS = -module -avoid-version | |
| 5 | |
| 6 if PLUGINS | |
| 7 | |
| 8 plugin_LTLIBRARIES = \ | |
|
15891
886025ef7daa
Build gntclipboard plugin by default. If we don't want this, at least
Stu Tomlinson <stu@nosnilmot.com>
parents:
15884
diff
changeset
|
9 gntclipboard.la \ |
| 15817 | 10 gntgf.la \ |
| 11 gnthistory.la \ | |
| 12 gntlastlog.la | |
| 13 | |
|
15884
c6e563dfaa7a
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents:
15817
diff
changeset
|
14 plugindir = $(libdir)/finch |
| 15817 | 15 |
|
15891
886025ef7daa
Build gntclipboard plugin by default. If we don't want this, at least
Stu Tomlinson <stu@nosnilmot.com>
parents:
15884
diff
changeset
|
16 gntclipboard_la_SOURCES = gntclipboard.c |
| 15817 | 17 gntgf_la_SOURCES = gntgf.c |
| 18 gnthistory_la_SOURCES = gnthistory.c | |
| 19 gntlastlog_la_SOURCES = lastlog.c | |
| 20 | |
|
16046
42c6d1d81bec
gntclipboard plugin needs X11
Richard Nelson <wabz@pidgin.im>
parents:
15891
diff
changeset
|
21 gntclipboard_la_CFLAGS = $(X11_CFLAGS) |
| 15817 | 22 gntgf_la_CFLAGS = $(X11_CFLAGS) |
| 23 | |
|
16046
42c6d1d81bec
gntclipboard plugin needs X11
Richard Nelson <wabz@pidgin.im>
parents:
15891
diff
changeset
|
24 gntclipboard_la_LIBADD = $(GLIB_LIBS) $(X11_LIBS) |
| 15817 | 25 gntgf_la_LIBADD = $(GLIB_LIBS) $(X11_LIBS) $(top_builddir)/finch/libgnt/libgnt.la |
| 26 gnthistory_la_LIBADD = $(GLIB_LIBS) | |
| 27 gntlastlog_la_LIBADD = $(GLIB_LIBS) | |
| 28 | |
| 29 endif # PLUGINS | |
| 30 | |
|
18140
36400e6f8954
EXTRA_DIST the dbus script.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
16906
diff
changeset
|
31 EXTRA_DIST = pietray.py |
| 15817 | 32 |
| 33 AM_CPPFLAGS = \ | |
| 34 -DDATADIR=\"$(datadir)\" \ | |
| 35 -I$(top_builddir)/libpurple \ | |
| 36 -I$(top_srcdir)/libpurple \ | |
| 37 -I$(top_srcdir) \ | |
| 38 -I$(top_srcdir)/finch \ | |
| 39 -I$(top_srcdir)/finch/libgnt \ | |
| 40 $(DEBUG_CFLAGS) \ | |
| 41 $(GLIB_CFLAGS) \ | |
| 42 $(GNT_CFLAGS) \ | |
| 43 $(PLUGIN_CFLAGS) | |
| 44 | |
| 45 # | |
| 46 # This part allows people to build their own plugins in here. | |
| 47 # Yes, it's a mess. | |
| 48 # | |
| 49 SUFFIXES = .c .so | |
| 50 .c.so: | |
| 51 $(LIBTOOL) --mode=compile $(CC) -DHAVE_CONFIG_H -I$(top_srcdir) $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS) | |
| 52 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) -module -avoid-version $(PLUGIN_LIBS) | |
| 53 @rm -f tmp$@.lo tmp$@.o libtmp$@.la | |
| 54 @cp .libs/libtmp$@.so* $@ | |
| 55 @rm -f .libs/libtmp$@.* |
