--- a/libpurple/protocols/gg/Makefile.am Mon Sep 16 16:48:10 2013 +0530 +++ b/libpurple/protocols/gg/Makefile.am Mon Sep 16 18:08:19 2013 +0530 @@ -1,5 +1,7 @@ #V=0 -#GADU_EXTRA_WARNINGS = -Wall -Wextra -Werror +#CFLAGS = -g -O0 +GADU_EXTRA = -Wall -Wextra -fno-inline +#GADU_EXTRA += -Werror pkgdir = $(libdir)/purple-$(PURPLE_MAJOR_VERSION) @@ -49,46 +51,56 @@ GADU_CFLAGS += $(GNUTLS_CFLAGS) endif +GADU_LIBS += $(JSON_LIBS) + GGSOURCES = \ $(INTGGSOURCES) \ - utils.h \ - utils.c \ - confer.h \ - confer.c \ - blist.h \ + account.c \ + account.h \ + avatar.c \ + avatar.h \ blist.c \ - gg.h \ + blist.h \ + chat.c \ + chat.h \ + deprecated.c \ + deprecated.h \ + edisc.c \ + edisc.h \ gg.c \ - resolver-purple.h \ - resolver-purple.c \ - image.h \ + gg.h \ + html.c \ + html.h \ image.c \ - account.h \ - account.c \ - deprecated.h \ - deprecated.c \ - purplew.h \ + image.h \ + libgadu-events.c \ + libgadu-events.h \ + libgaduw.c \ + libgaduw.h \ + message-prpl.c \ + message-prpl.h \ + multilogon.c \ + multilogon.h \ + pubdir-prpl.c \ + pubdir-prpl.h \ purplew.c \ - libgaduw.h \ - libgaduw.c \ - avatar.h \ - avatar.c \ - libgadu-events.h \ - libgadu-events.c \ + purplew.h \ + resolver-purple.c \ + resolver-purple.h \ roster.c \ roster.h \ + servconn.c \ + servconn.h \ + status.c \ + status.h \ + tcpsocket.c \ + tcpsocket.h \ + utils.c \ + utils.h \ validator.c \ validator.h \ xml.c \ xml.h \ - multilogon.c \ - multilogon.h \ - status.c \ - status.h \ - servconn.c \ - servconn.h \ - pubdir-prpl.c \ - pubdir-prpl.h \ oauth/oauth.c \ oauth/oauth.h \ oauth/oauth-parameter.c \ @@ -118,10 +130,11 @@ endif AM_CPPFLAGS = \ - $(GADU_EXTRA_WARNINGS) \ -I$(top_srcdir)/libpurple \ -I$(top_builddir)/libpurple \ $(INTGG_CFLAGS) \ $(GLIB_CFLAGS) \ + $(JSON_CFLAGS) \ $(GPLUGIN_CFLAGS) \ - $(DEBUG_CFLAGS) + $(DEBUG_CFLAGS) \ + $(GADU_EXTRA)