Mercurial > pidgin.yaz
annotate console/plugins/Makefile.am @ 14715:04f03667702f
[gaim-migrate @ 17469]
Add a lastlog plugin for gaim-text.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Thu, 12 Oct 2006 05:29:08 +0000 |
parents | 69590c55c748 |
children | f0292b71104b |
rev | line source |
---|---|
14674 | 1 gntgf_la_LDFLAGS = -module -avoid-version |
2 gnthistory_la_LDFLAGS = -module -avoid-version | |
14715
04f03667702f
[gaim-migrate @ 17469]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14674
diff
changeset
|
3 gntlastlog_la_LDFLAGS = -module -avoid-version |
14139
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
4 |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
5 if PLUGINS |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
6 |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
7 plugin_LTLIBRARIES = \ |
14223
7c560c01b8f9
[gaim-migrate @ 16904]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14139
diff
changeset
|
8 gntgf.la \ |
14715
04f03667702f
[gaim-migrate @ 17469]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14674
diff
changeset
|
9 gnthistory.la \ |
04f03667702f
[gaim-migrate @ 17469]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14674
diff
changeset
|
10 gntlastlog.la |
14139
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
11 |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
12 plugindir = $(libdir)/gaim |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
13 |
14673 | 14 gntgf_la_SOURCES = gntgf.c |
15 gnthistory_la_SOURCES = gnthistory.c | |
14715
04f03667702f
[gaim-migrate @ 17469]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14674
diff
changeset
|
16 gntlastlog_la_SOURCES = lastlog.c |
14139
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
17 |
14674 | 18 gntgf_la_LIBADD = $(GLIB_LIBS) $(X11_LIBS) $(top_builddir)/console/libgnt/libgnt.la |
19 gnthistory_la_LIBADD = $(GLIB_LIBS) | |
14715
04f03667702f
[gaim-migrate @ 17469]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14674
diff
changeset
|
20 gntlastlog_la_LIBADD = $(GLIB_LIBS) |
14674 | 21 |
14139
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
22 endif # PLUGINS |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
23 |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
24 EXTRA_DIST = |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
25 |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
26 AM_CPPFLAGS = \ |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
27 -DDATADIR=\"$(datadir)\" \ |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
28 -DVERSION=\"$(VERSION)\" \ |
14223
7c560c01b8f9
[gaim-migrate @ 16904]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14139
diff
changeset
|
29 -I$(top_builddir)/libgaim \ |
7c560c01b8f9
[gaim-migrate @ 16904]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14139
diff
changeset
|
30 -I$(top_srcdir)/libgaim \ |
7c560c01b8f9
[gaim-migrate @ 16904]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14139
diff
changeset
|
31 -I$(top_srcdir)/console \ |
7c560c01b8f9
[gaim-migrate @ 16904]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14139
diff
changeset
|
32 -I$(top_srcdir)/console/libgnt \ |
14139
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
33 $(DEBUG_CFLAGS) \ |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
34 $(GLIB_CFLAGS) \ |
14437
13422c8f74a2
[gaim-migrate @ 17151]
Gary Kramlich <grim@reaperworld.com>
parents:
14396
diff
changeset
|
35 $(GNT_CFLAGS) \ |
14139
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
36 $(PLUGIN_CFLAGS) |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
37 |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
38 # |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
39 # This part allows people to build their own plugins in here. |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
40 # Yes, it's a mess. |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
41 # |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
42 SUFFIXES = .c .so |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
43 .c.so: |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
44 $(LIBTOOL) --mode=compile $(CC) -DHAVE_CONFIG_H -I$(top_srcdir) $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS) |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
45 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) -module -avoid-version $(PLUGIN_LIBS) |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
46 @rm -f tmp$@.lo tmp$@.o libtmp$@.la |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
47 @cp .libs/libtmp$@.so* $@ |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
48 @rm -f .libs/libtmp$@.* |