summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/gadu/Makefile.am
blob: d896950ad84bd94c50257b57c41a4335fc66c167 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
METASOURCES = AUTO
if include_libggcopy
LIBGADU_COPY=libgadu
GG_INCLUDES=-Ilibgadu -I$(srcdir)/libgadu $(SSL_INCLUDES)
GG_LIBS=$(top_builddir)/kopete/protocols/gadu/libgadu/libgadu_copy.la \
	   $(LIBPTHREAD)
else
LIBGADU_COPY=
GG_INCLUDES=$(LIBGG_INCLUDES)
GG_LIBS=$(LIBGG_LIBS)
endif


SUBDIRS = ui icons $(LIBGADU_COPY)
AM_CPPFLAGS = -I$(srcdir)/ui \
	-I./ui \
	-I./lib \
	-I$(srcdir)/lib \
	$(KOPETE_INCLUDES) \
	$(all_includes) \
	$(GG_INCLUDES)

kde_module_LTLIBRARIES = kopete_gadu.la

kopete_gadu_la_SOURCES = gaduaway.cpp gadueditcontact.cpp gaducommands.cpp \
			 gadueditaccount.cpp gadusession.cpp gaducontact.cpp \
			 gaduaddcontactpage.cpp gaduprotocol.cpp gaduaccount.cpp \
			 gadupubdir.cpp gaduregisteraccount.cpp \
			 gaducontactlist.cpp gadurichtextformat.cpp \
			 gadudccserver.cpp gadudcctransaction.cpp gadudcc.cpp

kopete_gadu_la_LDFLAGS = -no-undefined -module $(KDE_PLUGIN) $(all_libraries)
kopete_gadu_la_LIBADD  = ./ui/libgaduui.la \
		       $(top_builddir)/kopete/libkopete/libkopete.la \
		       $(GG_LIBS)

service_DATA = kopete_gadu.desktop
servicedir = $(kde_servicesdir)