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
|
|
|
|
2005-09-08 17:15:07 +00:00
|
|
|
plugindir = $(PLUGINDIR)
|
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
|
|
|
|
|
2006-07-12 06:41:10 +00:00
|
|
|
INCLUDES = -I$(srcdir)/npinclude $(CPPFLAGS) $(OPENSSL_CFLAGS) $(LIBASSUAN_CFLAGS)
|
2001-12-15 00:39:45 +00:00
|
|
|
|
2005-09-01 14:01:58 +00:00
|
|
|
if HAVE_OPENSSL
|
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
|
2006-07-12 06:41:10 +00:00
|
|
|
opensc_signer_la_LIBADD = @LIBOPENSC@ $(OPENSSL_LIBS) $(LIBASSUAN_LIBS)
|
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
|
2005-09-01 14:01:58 +00:00
|
|
|
if HAVE_OPENSSL
|
2003-10-21 12:50:04 +00:00
|
|
|
if HAVE_ASSUAN
|
2004-12-23 09:28:51 +00:00
|
|
|
-$(LN_S) -f $(libdir)/opensc-signer.so $(DESTDIR)$(plugindir)/
|
2003-10-21 12:50:04 +00:00
|
|
|
endif
|
|
|
|
endif
|