1lib_LTLIBRARIES = libdc.la
2
3SUBDIRS = gnulib core hash
4
5libdc_la_SOURCES = \
6ccasefolder.cpp \
7cclient.cpp \
8cclientssl.cpp \
9cconfig.cpp \
10cconnectionmanager.cpp \
11cdcproto.cpp \
12cdownloadmanager.cpp \
13cdownloadqueue.cpp \
14cencrypt.cpp \
15cfilehasher.cpp \
16cfilemanager.cpp \
17chttp.cpp \
18chublistmanager.cpp \
19clistenmanager.cpp \
20cmessagehandler.cpp \
21cpluginmanager.cpp \
22cquerymanager.cpp \
23csearchindex.cpp \
24csearchmanager.cpp \
25csearchsocket.cpp \
26csharelist.cpp \
27csharetreefolder.cpp \
28ctransfer.cpp \
29cuserlist.cpp \
30cutils.cpp \
31dclib.cpp \
32dcobject.cpp
33
34libdc_la_LDFLAGS = -version-info 5:0:0 $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) $(SSL_LDFLAGS) $(LIBICONV) -rdynamic
35libdc_la_LIBADD = core/libcore.la hash/libhash.la
36AM_CXXFLAGS = @CXXFLAGS@ $(DEBUGCOMPILE) $(PTHREAD_CFLAGS)
37AM_CPPFLAGS = -I$(top_srcdir) $(PACKAGE_FLAGS) -DDCLIB_PLUGINDIR='"$(pkglibdir)/plugin"' $(SSL_CPPFLAGS)
38
39library_includedir=$(includedir)/dclib-0.3/dclib
40library_include_HEADERS = \
41ccasefolder.h \
42cclient.h \
43cclientssl.h \
44cconfig.h \
45cconnectionmanager.h \
46cdcproto.h \
47cdownloadmanager.h \
48cdownloadqueue.h \
49cencrypt.h \
50cfilehasher.h \
51cfilemanager.h \
52chttp.h \
53chublistmanager.h \
54clistenmanager.h \
55cmessagehandler.h \
56cpluginmanager.h \
57cquerymanager.h \
58csearchindex.h \
59csearchmanager.h \
60csearchsocket.h \
61csharelist.h \
62csharetreefolder.h \
63ctransfer.h \
64cuserlist.h \
65cutils.h \
66dclib.h \
67dclib-ssl-use.h \
68dclib-stl-use.h \
69dcobject.h \
70dcos.h
71
72install-data-local:
73	$(mkinstalldirs) $(DESTDIR)$(pkglibdir)
74	$(mkinstalldirs) $(DESTDIR)$(pkglibdir)/plugin
75