2011-11-02 23:45:32 +04:00
# Makefile for C source code
#
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
2018-01-30 22:26:26 +03:00
# SPDX-License-Identifier: LGPL-2.0+
#
2011-11-10 22:17:04 +04:00
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
2011-11-02 23:45:32 +04:00
#
2011-11-10 22:17:04 +04:00
# This library is distributed in the hope that it will be useful,
2011-11-02 23:45:32 +04:00
# but WITHOUT ANY WARRANTY; without even the implied warranty of
2011-11-10 22:17:04 +04:00
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
2011-11-02 23:45:32 +04:00
#
2011-11-10 22:17:04 +04:00
# You should have received a copy of the GNU Lesser General Public
2021-12-07 04:20:55 +03:00
# License along with this library. If not, see <https://www.gnu.org/licenses/>.
2011-11-02 23:45:32 +04:00
noinst_LTLIBRARIES += libotutil.la
libotutil_la_SOURCES = \
2012-04-11 00:40:22 +04:00
src/libotutil/ot-checksum-utils.c \
src/libotutil/ot-checksum-utils.h \
2017-03-13 22:40:24 +03:00
src/libotutil/ot-checksum-instream.c \
src/libotutil/ot-checksum-instream.h \
2014-09-16 19:15:36 +04:00
src/libotutil/ot-fs-utils.c \
src/libotutil/ot-fs-utils.h \
2012-09-15 19:20:18 +04:00
src/libotutil/ot-keyfile-utils.c \
src/libotutil/ot-keyfile-utils.h \
2011-11-15 00:39:38 +04:00
src/libotutil/ot-opt-utils.c \
src/libotutil/ot-opt-utils.h \
src/libotutil/ot-unix-utils.c \
src/libotutil/ot-unix-utils.h \
src/libotutil/ot-variant-utils.c \
src/libotutil/ot-variant-utils.h \
2017-10-25 20:31:48 +03:00
src/libotutil/ot-variant-builder.c \
src/libotutil/ot-variant-builder.h \
2011-11-15 00:39:38 +04:00
src/libotutil/ot-gio-utils.c \
src/libotutil/ot-gio-utils.h \
src/libotutil/otutil.h \
2015-03-06 14:21:07 +03:00
src/libotutil/ot-tool-util.c \
src/libotutil/ot-tool-util.h \
2011-11-02 23:45:32 +04:00
$(NULL)
2019-05-19 16:47:45 +03:00
if USE_GPGME
libotutil_la_SOURCES += \
src/libotutil/ot-gpg-utils.c \
src/libotutil/ot-gpg-utils.h \
2019-08-26 19:09:57 +03:00
src/libotutil/zbase32.c \
src/libotutil/zbase32.h \
2019-05-19 16:47:45 +03:00
$(NULL)
endif
2023-07-07 21:19:59 +03:00
libotutil_la_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/libglnx -I$(srcdir)/src/libotutil -DLOCALEDIR=\"$(datadir)/locale\" $(OT_INTERNAL_GIO_UNIX_CFLAGS) $(OT_INTERNAL_GPGME_CFLAGS) $(OT_DEP_CRYPTO_LIBS) $(LIBSYSTEMD_CFLAGS)
libotutil_la_LIBADD = $(OT_INTERNAL_GIO_UNIX_LIBS) $(OT_INTERNAL_GPGME_LIBS) $(LIBSYSTEMD_LIBS) $(OT_DEP_CRYPTO_LIBS)