2008-04-01 19:04:33 +00:00
|
|
|
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
2002-04-02 09:38:06 +00:00
|
|
|
|
2008-03-06 16:06:59 +00:00
|
|
|
SUBDIRS = npinclude
|
2007-07-20 18:50:23 +00:00
|
|
|
if ENABLE_NSPLUGIN
|
2008-03-06 16:06:59 +00:00
|
|
|
noinst_HEADERS = opensc-crypto.h opensc-support.h signer.h
|
2003-08-18 13:45:37 +00:00
|
|
|
lib_LTLIBRARIES = opensc-signer.la
|
2008-03-06 16:06:59 +00:00
|
|
|
dist_noinst_DATA = testprog.c
|
2002-01-06 19:40:24 +00:00
|
|
|
endif
|
2001-12-15 00:39:45 +00:00
|
|
|
|
2008-03-06 16:06:59 +00:00
|
|
|
AM_CFLAGS = $(OPENSSL_CFLAGS) $(LIBASSUAN_CFLAGS)
|
2008-04-01 12:43:26 +00:00
|
|
|
INCLUDES = -I$(srcdir)/npinclude -I$(top_builddir)/src/include
|
2008-03-06 16:06:59 +00:00
|
|
|
|
2003-10-11 20:58:39 +00:00
|
|
|
opensc_signer_la_CFLAGS = $(AM_CFLAGS) -DXP_UNIX
|
2008-03-06 16:06:59 +00:00
|
|
|
opensc_signer_la_SOURCES = opensc-crypto.c opensc-support.c signer.c stubs.c dialog.c \
|
|
|
|
signer.exports
|
|
|
|
opensc_signer_la_LIBADD = $(OPENSSL_LIBS) $(LIBASSUAN_LIBS) \
|
|
|
|
$(top_builddir)/src/libopensc/libopensc.la
|
|
|
|
opensc_signer_la_LDFLAGS = $(AM_LDFLAGS) \
|
2008-04-04 20:38:20 +00:00
|
|
|
-export-symbols "$(srcdir)/signer.exports" \
|
2008-03-06 16:06:59 +00:00
|
|
|
-module -avoid-version -no-undefined
|
2002-01-29 14:38:40 +00:00
|
|
|
|
2007-07-20 18:50:23 +00:00
|
|
|
if ENABLE_NSPLUGIN
|
2008-03-06 16:06:59 +00:00
|
|
|
plugin_DATA=#Create directory
|
|
|
|
install-exec-hook: install-pluginDATA
|
|
|
|
-rm -f "$(DESTDIR)$(plugindir)/opensc-signer.so"
|
|
|
|
$(LN_S) "$(libdir)/opensc-signer.so" "$(DESTDIR)$(plugindir)"
|
2003-10-21 12:50:04 +00:00
|
|
|
endif
|