1# Makefile.am - PIN entry GTK+ frontend.
2# Copyright (C) 2002, 2015 g10 Code GmbH
3#
4# This file is part of PINENTRY.
5#
6# PINENTRY is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation; either version 2 of the License, or
9# (at your option) any later version.
10#
11# PINENTRY is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14# GNU General Public License for more details.
15#
16# You should have received a copy of the GNU General Public License
17# along with this program; if not, see <https://www.gnu.org/licenses/>.
18# SPDX-License-Identifier: GPL-2.0+
19
20## Process this file with automake to produce Makefile.in
21
22bin_PROGRAMS = pinentry-gtk-2
23
24if FALLBACK_CURSES
25ncurses_include = $(NCURSES_INCLUDE)
26libcurses = ../pinentry/libpinentry-curses.a $(LIBCURSES) $(LIBICONV)
27else
28ncurses_include =
29libcurses =
30endif
31
32AM_CPPFLAGS = $(COMMON_CFLAGS) $(GTK2_CFLAGS) $(ncurses_include) \
33	-I$(top_srcdir)/secmem -I$(top_srcdir)/pinentry
34LDADD = ../pinentry/libpinentry.a ../secmem/libsecmem.a \
35	$(COMMON_LIBS) $(LIBCAP) $(GTK2_LIBS) $(libcurses)
36
37pinentry_gtk_2_SOURCES = pinentry-gtk-2.c
38