1
# Makefile.am - PIN entry W32
2
# Copyright (C) 2004 g10 Code GmbH
4
# This file is part of PINENTRY.
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.
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.
16
# You should have received a copy of the GNU General Public License
17
# along with this program; if not, write to the Free Software
18
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
20
## Process this file with automake to produce Makefile.in
24
bin_PROGRAMS = pinentry-w32
26
AM_CPPFLAGS = -I$(top_srcdir)/assuan -I$(top_srcdir)/secmem \
27
-I$(top_srcdir)/pinentry
30
pinentry_w32_SOURCES = main.c pinentry-w32.rc resource.h
32
# Note: For testing you should add -mconsole to LDFLAGS.
33
pinentry_w32_LDFLAGS = -mwindows
34
pinentry_w32_LDADD = pinentry-w32.o \
35
../pinentry/libpinentry.a ../assuan/libassuan.a ../secmem/libsecmem.a
38
pinentry-w32.o: pinentry-w32.rc resource.h
39
$(WINDRES) -v -o $@ $<