Mercurial > pidgin.yaz
annotate console/plugins/Makefile.am @ 15165:2c0e3ef91e37
[gaim-migrate @ 17950]
credit
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sun, 10 Dec 2006 23:32:28 +0000 |
parents | f0292b71104b |
children | daf402269760 |
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 \ |
14764
f0292b71104b
[gaim-migrate @ 17521]
Etan Reisner <pidgin@unreliablesource.net>
parents:
14715
diff
changeset
|
31 -I$(top_srcdir) \ |
14223
7c560c01b8f9
[gaim-migrate @ 16904]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14139
diff
changeset
|
32 -I$(top_srcdir)/console \ |
7c560c01b8f9
[gaim-migrate @ 16904]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14139
diff
changeset
|
33 -I$(top_srcdir)/console/libgnt \ |
14139
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
34 $(DEBUG_CFLAGS) \ |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
35 $(GLIB_CFLAGS) \ |
14437
13422c8f74a2
[gaim-migrate @ 17151]
Gary Kramlich <grim@reaperworld.com>
parents:
14396
diff
changeset
|
36 $(GNT_CFLAGS) \ |
14139
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
37 $(PLUGIN_CFLAGS) |
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 # |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
40 # This part allows people to build their own plugins in here. |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
41 # Yes, it's a mess. |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
42 # |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
43 SUFFIXES = .c .so |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
44 .c.so: |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
45 $(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
|
46 $(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
|
47 @rm -f tmp$@.lo tmp$@.o libtmp$@.la |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
48 @cp .libs/libtmp$@.so* $@ |
44ec6c7cbc76
[gaim-migrate @ 16781]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
49 @rm -f .libs/libtmp$@.* |