Call xmlInitParser() in client_thread() and xmlCleanupParser() before
[pwmd.git] / src / Makefile.am
blobc752081dcecf6cfd737ce6c53dcf107f7c6bdb2a
1 bin_PROGRAMS = pwmd
2 pwmd_SOURCES = pwmd.c pwmd.h xml.c xml.h pwmd_error.c pwmd_error.h commands.c \
3                commands.h common.h cache.c cache.h gettext.h misc.c misc.h
4 pwmd_LDFLAGS = @XML_LIBS@ @GLIB_LIBS@ @LIBGCRYPT_LIBS@ @GPG_ERROR_LIBS@
5 pwmd_CFLAGS = -DLOCALEDIR=\"${prefix}/share/locale\" @XML_CPPFLAGS@ @GLIB_CFLAGS@ \
6               @LIBGCRYPT_CFLAGS@ @LIBASSUAN_PTH_CFLAGS@ @GPG_ERROR_CFLAGS@
8 # It's a static library ATM, and linking will fail because _SOURCES is at the
9 # end if the linker command line.
10 LIBS += @LIBASSUAN_PTH_LIBS@
12 if WITH_DEBUG
13 CPPFLAGS += -DDEBUG
14 endif
16 if MEM_DEBUG
17 CPPFLAGS += -DMEM_DEBUG
18 else
19 pwmd_SOURCES += mem.c mem.h
20 endif
22 if WITH_PINENTRY
23 pwmd_SOURCES += pinentry.c pinentry.h
24 endif