2023-05-24 12:06:37 +02:00
|
|
|
# Makefile.am - scd
|
2005-04-27 14:09:21 +02:00
|
|
|
# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
|
2003-08-05 19:11:04 +02:00
|
|
|
#
|
|
|
|
# This file is part of GnuPG.
|
|
|
|
#
|
|
|
|
# GnuPG is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
2007-07-04 21:49:40 +02:00
|
|
|
# the Free Software Foundation; either version 3 of the License, or
|
2003-08-05 19:11:04 +02:00
|
|
|
# (at your option) any later version.
|
2011-02-04 12:57:53 +01:00
|
|
|
#
|
2003-08-05 19:11:04 +02:00
|
|
|
# GnuPG is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
2011-02-04 12:57:53 +01:00
|
|
|
#
|
2003-08-05 19:11:04 +02:00
|
|
|
# You should have received a copy of the GNU General Public License
|
2016-11-05 12:02:19 +01:00
|
|
|
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
2003-08-05 19:11:04 +02:00
|
|
|
|
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2020-10-02 17:04:12 +02:00
|
|
|
EXTRA_DIST = ChangeLog-2011 scdaemon-w32info.rc scdaemon.w32-manifest.in
|
2011-12-01 10:51:36 +01:00
|
|
|
|
2013-04-01 04:42:11 +02:00
|
|
|
libexec_PROGRAMS = scdaemon
|
2003-08-05 19:11:04 +02:00
|
|
|
|
2017-03-07 12:21:23 +01:00
|
|
|
AM_CPPFLAGS = $(LIBUSB_CPPFLAGS)
|
2004-02-12 10:29:14 +01:00
|
|
|
|
|
|
|
include $(top_srcdir)/am/cmacros.am
|
|
|
|
|
2013-04-25 13:00:16 +02:00
|
|
|
if HAVE_W32_SYSTEM
|
2023-05-24 12:06:37 +02:00
|
|
|
scdaemon_rc_objs = $(resource_objs) scdaemon-w32info.o
|
|
|
|
scdaemon-w32info.o : scdaemon.w32-manifest ../common/w32info-rc.h
|
2023-08-29 11:15:57 +02:00
|
|
|
else
|
|
|
|
scdaemon_rc_objs = $(resource_objs)
|
2013-04-25 13:00:16 +02:00
|
|
|
endif
|
|
|
|
|
2005-04-27 14:09:21 +02:00
|
|
|
AM_CFLAGS = $(LIBGCRYPT_CFLAGS) \
|
Port to npth.
* configure.ac: Don't check for PTH but for NPTH.
(AH_BOTTOM): Remove PTH_SYSCALL_SOFT.
(have_pth): Rename to ...
(have_npth): ... this.
(USE_GNU_NPTH): Rename to ...
(USE_GNU_PTH): ... this.
* m4/npth.m4: New file.
* agent/Makefile.am, agent/cache.c, agent/call-pinentry.c,
agent/call-scd.c, agent/findkey.c, agent/gpg-agent.c,
agent/trustlist.c, common/Makefile.am, common/estream.c,
common/exechelp-posix.c, common/exechelp-w32.c,
common/exechelp-w32ce.c, common/http.c, common/init.c,
common/sysutils.c, dirmngr/Makefile.am, dirmngr/crlfetch.c,
dirmngr/dirmngr.c, dirmngr/dirmngr_ldap.c, dirmngr/ldap-wrapper-ce.c,
dirmngr/ldap-wrapper.c, dirmngr/ldap.c, g13/Makefile.am,
g13/call-gpg.c, g13/g13.c, g13/runner.c, scd/Makefile.am,
scd/apdu.c, scd/app.c, scd/ccid-driver.c, scd/command.c,
scd/scdaemon.c, tools/Makefile.am: Port to npth.
2012-01-03 22:12:37 +01:00
|
|
|
$(KSBA_CFLAGS) $(LIBASSUAN_CFLAGS) $(NPTH_CFLAGS)
|
2003-08-05 19:11:04 +02:00
|
|
|
|
2004-02-12 10:29:14 +01:00
|
|
|
|
2014-07-18 16:20:59 +02:00
|
|
|
card_apps = app-openpgp.c app-nks.c app-dinsig.c app-p15.c app-geldkarte.c app-sc-hsm.c
|
2004-01-27 17:40:42 +01:00
|
|
|
|
2003-08-05 19:11:04 +02:00
|
|
|
scdaemon_SOURCES = \
|
|
|
|
scdaemon.c scdaemon.h \
|
2005-04-27 14:09:21 +02:00
|
|
|
command.c \
|
2011-12-15 14:47:04 +01:00
|
|
|
atr.c atr.h \
|
2003-08-05 19:11:04 +02:00
|
|
|
apdu.c apdu.h \
|
2003-09-02 21:06:34 +02:00
|
|
|
ccid-driver.c ccid-driver.h \
|
2003-08-05 19:11:04 +02:00
|
|
|
iso7816.c iso7816.h \
|
2004-03-16 19:59:21 +01:00
|
|
|
app.c app-common.h app-help.c $(card_apps)
|
2004-01-27 17:40:42 +01:00
|
|
|
|
2003-08-05 19:11:04 +02:00
|
|
|
|
2014-11-11 10:13:10 +01:00
|
|
|
scdaemon_LDADD = $(libcommonpth) \
|
Port to npth.
* configure.ac: Don't check for PTH but for NPTH.
(AH_BOTTOM): Remove PTH_SYSCALL_SOFT.
(have_pth): Rename to ...
(have_npth): ... this.
(USE_GNU_NPTH): Rename to ...
(USE_GNU_PTH): ... this.
* m4/npth.m4: New file.
* agent/Makefile.am, agent/cache.c, agent/call-pinentry.c,
agent/call-scd.c, agent/findkey.c, agent/gpg-agent.c,
agent/trustlist.c, common/Makefile.am, common/estream.c,
common/exechelp-posix.c, common/exechelp-w32.c,
common/exechelp-w32ce.c, common/http.c, common/init.c,
common/sysutils.c, dirmngr/Makefile.am, dirmngr/crlfetch.c,
dirmngr/dirmngr.c, dirmngr/dirmngr_ldap.c, dirmngr/ldap-wrapper-ce.c,
dirmngr/ldap-wrapper.c, dirmngr/ldap.c, g13/Makefile.am,
g13/call-gpg.c, g13/g13.c, g13/runner.c, scd/Makefile.am,
scd/apdu.c, scd/app.c, scd/ccid-driver.c, scd/command.c,
scd/scdaemon.c, tools/Makefile.am: Port to npth.
2012-01-03 22:12:37 +01:00
|
|
|
$(LIBGCRYPT_LIBS) $(KSBA_LIBS) $(LIBASSUAN_LIBS) $(NPTH_LIBS) \
|
2007-01-30 21:16:28 +01:00
|
|
|
$(LIBUSB_LIBS) $(GPG_ERROR_LIBS) \
|
2023-05-24 12:06:37 +02:00
|
|
|
$(LIBINTL) $(DL_LIBS) $(NETLIBS) $(LIBICONV) $(scdaemon_rc_objs)
|
2023-08-29 11:15:57 +02:00
|
|
|
scdaemon_DEPENDENCIES = $(scdaemon_rc_objs)
|