Work around a -Wuse-after-free misdetection in GCC 12 in build_send_check_message_req...
[libisds.git] / src / Makefile.am
blob4c152f8fa60b7b961780bf62eed31072b89caa9f
1 libisds_ladir = $(includedir)
2 localedir = $(datadir)/locale
4 lib_LTLIBRARIES = libisds.la
5 libisds_la_SOURCES = \
6         cdecode.c \
7         cdecode.h \
8         cencode.c \
9         cencode.h \
10         crypto.h \
11         gettext.h \
12         isds.c \
13         isds.h \
14         isds_priv.h \
15         physxml.c \
16         physxml.h \
17         utils.c \
18         utils.h \
19         validator.c \
20         validator.h \
21         system.h
23 if USE_OPENSSL_BACKEND
24 libisds_la_SOURCES += \
25         crypto_openssl.c
26 else
27 libisds_la_SOURCES += \
28         crypto_gpg.c
29 endif
31 if BUILD_CURL
32 libisds_la_SOURCES += \
33         soap.c \
34         soap.h
35 endif
37 if WIN32
38 libisds_la_SOURCES += \
39         win32.c \
40         win32.h
41 else
42 libisds_la_SOURCES += \
43         unix.c \
44         unix.h
45 endif
47 libisds_la_HEADERS = isds.h
48 libisds_la_CPPFLAGS = @XML_CPPFLAGS@ @LIBCURL_CPPFLAGS@ \
49                                           -DLOCALEDIR=\"$(localedir)\"
50 libisds_la_CFLAGS = @LIBGCRYPT_CFLAGS@ @GPGME_CFLAGS@
51 libisds_la_LDFLAGS = -version-info 10:0:0 @XML_LIBS@ @LIBCURL@ @LIBGCRYPT_LIBS@ \
52         @GPGME_LIBS@ @EXPAT_LIBS@ @LTLIBINTL@