2003-07-28 12:11:03 +00:00
|
|
|
# Process this file with automake to create Makefile.in
|
2002-01-06 19:40:24 +00:00
|
|
|
|
2003-08-18 13:45:37 +00:00
|
|
|
plugindir = @PLUGINDIR@
|
|
|
|
libdir = @libdir@/opensc
|
2002-04-05 10:25:14 +00:00
|
|
|
|
2002-04-02 09:38:06 +00:00
|
|
|
MAINTAINERCLEANFILES = Makefile.in
|
|
|
|
|
2002-01-07 12:41:41 +00:00
|
|
|
SUBDIRS = . npinclude
|
|
|
|
|
|
|
|
EXTRA_DIST = testprog.c
|
|
|
|
|
2003-10-11 20:58:39 +00:00
|
|
|
INCLUDES = @CPPFLAGS@ @CFLAGS_ASSUAN@ -I$(top_srcdir)/src/signer/npinclude
|
2001-12-15 00:39:45 +00:00
|
|
|
|
2002-01-06 19:40:24 +00:00
|
|
|
if HAVE_SSL
|
2002-04-04 10:40:24 +00:00
|
|
|
if HAVE_ASSUAN
|
2003-08-18 13:45:37 +00:00
|
|
|
lib_LTLIBRARIES = opensc-signer.la
|
2002-01-06 19:40:24 +00:00
|
|
|
endif
|
2002-04-04 10:40:24 +00:00
|
|
|
endif
|
2001-12-15 00:39:45 +00:00
|
|
|
|
2002-01-06 19:40:24 +00:00
|
|
|
opensc_signer_la_LDFLAGS = -module -avoid-version
|
|
|
|
opensc_signer_la_LIBADD = @LIBOPENSC@ @LIBCRYPTO@ @LIBASSUAN@
|
2003-10-11 20:58:39 +00:00
|
|
|
opensc_signer_la_CFLAGS = $(AM_CFLAGS) -DXP_UNIX
|
2003-07-28 12:11:03 +00:00
|
|
|
opensc_signer_la_SOURCES = \
|
|
|
|
opensc-crypto.c opensc-support.c signer.c stubs.c dialog.c
|
2003-07-29 10:04:40 +00:00
|
|
|
noinst_HEADERS = \
|
2003-07-28 12:11:03 +00:00
|
|
|
opensc-crypto.h opensc-support.h signer.h
|
2002-01-29 14:38:40 +00:00
|
|
|
|
2003-08-18 13:45:37 +00:00
|
|
|
install-exec-local: install-libLTLIBRARIES
|
2003-10-21 12:50:04 +00:00
|
|
|
if HAVE_SSL
|
|
|
|
if HAVE_ASSUAN
|
2004-06-28 22:54:36 +00:00
|
|
|
$(mkinstalldirs) $(DESTDIR)$(plugindir)
|
|
|
|
$(LN_S) -f $(libdir)/opensc-signer.so $(DESTDIR)$(plugindir)/
|
2003-10-21 12:50:04 +00:00
|
|
|
endif
|
|
|
|
endif
|