-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
45 lines (33 loc) · 1.03 KB
/
Makefile.am
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
39
40
41
42
43
44
45
ACLOCAL_AMFLAGS = -I m4
SUBDIRS=
lib_LTLIBRARIES = libaducid.la libaducidpp.la
libaducid_la_SOURCES = \
src/aducid.c \
src/textconstants.c \
src/aim.c \
src/exuse.c \
src/aducidsoap.c \
src/attrlist.c \
src/httpclient.c \
src/myxml.c \
src/peig.c \
src/soap.c \
src/utils.c
libaducid_la_LDFLAGS = -version-info 3:0:0 -lcurl
libaducid_la_CFLAGS = -shared
libaducidpp_la_SOURCES = \
src/aducid++.cc
libaducidpp_la_LDFLAGS = -L$(builddir)/.libs -laducid -lcurl -version-info 3:0:0
libaducidpp_la_CPPFLAGS = -shared -I$(srcdir)/src
libaducidpp_la_CFLAGS = -shared -I$(srcdir)/src
# Unit testing
check_PROGRAMS = unittest
unittest_SOURCES = src/myxml.c \
src/utils.c \
tests/unittests.cc
unittest_CPPFLAGS = $(AM_CPPFLAGS) \
-I$(abs_top_srcdir)/tests \
-I$(abs_top_srcdir)/src
unittest_LDFLAGS = $(libaducidpp_la_LDFLAGS) -laducidpp
check-local:
./unittest