Mercurial > pidgin
annotate src/protocols/sametime/Makefile.am @ 14122:dabbcb9b013d
[gaim-migrate @ 16759]
This initializes threads for glib and dbus, because under some
circumstances multithreaded libraries are causing dbus badness
(namely, gnome-vfs). This fix doesn't really belong in Gaim, but in
the interest of expedience (we don't want to wait for upstream
libraries to get their initializations all worked around to make
things safe) the fix goes here. Note that all Gaim frontends will
have to initialize glib threads if other threaded libraries which
interact with glib or dbus or what-have-you come into play.
committer: Tailor Script <tailor@pidgin.im>
| author | Ethan Blanton <elb@pidgin.im> |
|---|---|
| date | Mon, 14 Aug 2006 21:46:17 +0000 |
| parents | f9d0ab1474ac |
| children |
| rev | line source |
|---|---|
| 10977 | 1 |
|
11097
97b47ec310df
[gaim-migrate @ 13125]
Richard Laager <rlaager@wiktel.com>
parents:
11093
diff
changeset
|
2 EXTRA_DIST = Makefile.mingw |
| 10977 | 3 |
| 4 | |
| 5 pkgdir = $(libdir)/gaim | |
| 6 | |
| 7 | |
| 11093 | 8 noinst_HEADERS = sametime.h |
| 10977 | 9 |
|
11435
1a2eaba2bc13
[gaim-migrate @ 13672]
Gary Kramlich <grim@reaperworld.com>
parents:
11097
diff
changeset
|
10 SAMETIMESOURCES = sametime.c |
| 10977 | 11 |
| 12 | |
| 13 if STATIC_SAMETIME | |
| 14 | |
| 15 st = -DGAIM_STATIC_PRPL | |
| 16 noinst_LIBRARIES = libsametime.a | |
|
11435
1a2eaba2bc13
[gaim-migrate @ 13672]
Gary Kramlich <grim@reaperworld.com>
parents:
11097
diff
changeset
|
17 libsametime_a_SOURCES = $(SAMETIMESOURCES) |
| 10977 | 18 libsametime_a_CFLAGS = $(AM_CFLAGS) |
| 19 | |
| 20 else | |
| 21 | |
| 22 st = | |
| 23 pkg_LTLIBRARIES = libsametime.la | |
|
11435
1a2eaba2bc13
[gaim-migrate @ 13672]
Gary Kramlich <grim@reaperworld.com>
parents:
11097
diff
changeset
|
24 libsametime_la_SOURCES = $(SAMETIMESOURCES) |
| 10977 | 25 |
| 11093 | 26 |
| 10977 | 27 endif |
| 28 | |
| 29 | |
| 30 libsametime_la_LDFLAGS = -module -avoid-version -no-undefined | |
|
12496
f9d0ab1474ac
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
11862
diff
changeset
|
31 libsametime_la_LIBADD = $(GLIB_LIBS) $(MEANWHILE_LIBS) |
| 10977 | 32 |
| 33 | |
| 34 AM_CFLAGS = \ | |
|
12496
f9d0ab1474ac
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
11862
diff
changeset
|
35 $(GLIB_CFLAGS) $(MEANWHILE_CFLAGS) \ |
| 10977 | 36 $(DEBUG_CFLAGS) \ |
|
12496
f9d0ab1474ac
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
11862
diff
changeset
|
37 -I$(top_srcdir)/src |
| 10977 | 38 |
| 39 | |
| 40 AM_CPPFLAGS = \ | |
|
12496
f9d0ab1474ac
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
11862
diff
changeset
|
41 -DG_LOG_DOMAIN=\"sametime\" \ |
| 10977 | 42 $(st) |
| 43 |
