view src/protocols/qq/Makefile.am @ 13905:4e44ecb866bd

[gaim-migrate @ 16394] msn_session_sync_users() iterates over the buddy list, following the ->next pointers of the groups, contacts, and buddies. msn_show_sync_issue(), if called, removed the buddy for which it was called, in preparation for the buddy either being added to the server list or confirmed-to-be-removed. This could lead to the buddy pointer being released and ->next therefore being junk. The buddy is now not removed until the user responds to the action dialog presented via msn_show_sync_issue(). I'm unclear why gtkgaim got away with this exercise in memory stomping but Adium/libgaim crashed every time, but it's safer in any case. I also changed some foo->bar to gaim_foo_get_bar(). committer: Tailor Script <tailor@pidgin.im>
author Evan Schoenberg <evan.s@dreskin.net>
date Sun, 02 Jul 2006 09:37:25 +0000
parents a1b99fa5faa1
children 16102b9c5c4a
line wrap: on
line source

EXTRA_DIST = \
		Makefile.mingw

pkgdir = $(libdir)/gaim

QQSOURCES = \
	utils.c \
	utils.h \
	packet_parse.c \
	packet_parse.h \
	buddy_info.c \
	buddy_info.h \
	buddy_list.c \
	buddy_list.h \
	buddy_opt.c \
	buddy_opt.h \
	buddy_status.c \
	buddy_status.h \
	qq.c \
	char_conv.c \
	char_conv.h \
	crypt.c \
	crypt.h \
	group_admindlg.c \
	group_admindlg.h \
	group.c \
	group_conv.c \
	group_conv.h \
	group_find.c \
	group_find.h \
	group_free.c \
	group_free.h \
	group.h \
	group_hash.c \
	group_hash.h \
	group_im.c \
	group_im.h \
	group_info.c \
	group_info.h \
	group_join.c \
	group_join.h \
	group_misc.c \
	group_misc.h \
	group_network.c \
	group_network.h \
	group_opt.c \
	group_opt.h \
	group_search.c \
	group_search.h \
	qq.h \
	header_info.c \
	header_info.h \
	im.c \
	im.h \
	infodlg.c \
	infodlg.h \
	ip_location.c \
	ip_location.h \
	keep_alive.c \
	keep_alive.h \
	login_logout.c \
	login_logout.h \
	qq_proxy.c \
	qq_proxy.h \
	recv_core.c \
	recv_core.h \
	send_core.c \
	send_core.h \
	sendqueue.c \
	sendqueue.h \
	show.c \
	show.h \
	sys_msg.c \
	sys_msg.h \
	udp_proxy_s5.c \
	udp_proxy_s5.h \
	send_file.c \
	send_file.h \
	file_trans.c \
	file_trans.h

AM_CFLAGS = $(st)

libqq_la_LDFLAGS = -module -avoid-version

if STATIC_QQ

st = -DGAIM_STATIC_PRPL
noinst_LIBRARIES = libqq.a
libqq_a_SOURCES  = $(QQSOURCES)
libqq_a_CFLAGS   = $(AM_CFLAGS)

else

st =
pkg_LTLIBRARIES  = libqq.la
libqq_la_SOURCES = $(QQSOURCES)

endif

AM_CPPFLAGS = \
	-I$(top_srcdir)/src \
	-DDATADIR=\"${datadir}\" \
	-DLOCALEDIR=\"${datadir}/locale\" \
        -DVERSION=\"$(VERSION)\" \
        $(DEBUG_CFLAGS) \
        $(GTK_CFLAGS) \
        $(GLIB_CFLAGS) \
	$(GAIM_CFLAGS)