~ubuntu-branches/ubuntu/karmic/opensc/karmic-updates

« back to all changes in this revision

Viewing changes to src/pkcs11/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Eric Dorland
  • Date: 2009-03-29 03:56:10 UTC
  • mto: (8.2.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: james.westby@ubuntu.com-20090329035610-y7v5a3f0852p4da8
Tags: upstream-0.11.7
ImportĀ upstreamĀ versionĀ 0.11.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Makefile.in generated by automake 1.9.6 from Makefile.am.
 
1
# Makefile.in generated by automake 1.10.1 from Makefile.am.
2
2
# @configure_input@
3
3
 
4
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
 
# 2003, 2004, 2005  Free Software Foundation, Inc.
 
5
# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
6
6
# This Makefile.in is free software; the Free Software Foundation
7
7
# gives unlimited permission to copy and/or distribute it,
8
8
# with or without modifications, as long as this notice is preserved.
14
14
 
15
15
@SET_MAKE@
16
16
 
17
 
# Process this file with automake to create Makefile.in
18
 
 
19
 
 
20
 
srcdir = @srcdir@
21
 
top_srcdir = @top_srcdir@
 
17
# Required to build Windows resource file
 
18
 
 
19
 
 
20
 
 
21
 
22
22
VPATH = @srcdir@
23
23
pkgdatadir = $(datadir)/@PACKAGE@
24
24
pkglibdir = $(libdir)/@PACKAGE@
25
25
pkgincludedir = $(includedir)/@PACKAGE@
26
 
top_builddir = ../..
27
26
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
28
 
INSTALL = @INSTALL@
29
27
install_sh_DATA = $(install_sh) -c -m 644
30
28
install_sh_PROGRAM = $(install_sh) -c
31
29
install_sh_SCRIPT = $(install_sh) -c
39
37
POST_UNINSTALL = :
40
38
build_triplet = @build@
41
39
host_triplet = @host@
 
40
DIST_COMMON = $(am__dist_noinst_DATA_DIST) $(dist_noinst_SCRIPTS) \
 
41
        $(openscinclude_HEADERS) $(srcdir)/Makefile.am \
 
42
        $(srcdir)/Makefile.in $(top_srcdir)/win32/ltrc.inc
 
43
@WIN32_TRUE@am__append_1 = versioninfo.rc
 
44
@WIN32_TRUE@am__append_2 = versioninfo.rc
 
45
@WIN32_TRUE@am__append_3 = versioninfo.rc
42
46
subdir = src/pkcs11
43
 
DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
44
 
        $(srcdir)/Makefile.in
45
47
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
46
 
am__aclocal_m4_deps = $(top_srcdir)/aclocal/acx_pthread.m4 \
47
 
        $(top_srcdir)/aclocal/libassuan.m4 $(top_srcdir)/configure.in
 
48
am__aclocal_m4_deps = $(top_srcdir)/m4/acx_pthread.m4 \
 
49
        $(top_srcdir)/m4/libassuan.m4 $(top_srcdir)/m4/libtool.m4 \
 
50
        $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
 
51
        $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
 
52
        $(top_srcdir)/configure.ac
48
53
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
49
54
        $(ACLOCAL_M4)
50
55
mkinstalldirs = $(install_sh) -d
56
61
    *) f=$$p;; \
57
62
  esac;
58
63
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
59
 
am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"
 
64
am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkcs11dir)" \
 
65
        "$(DESTDIR)$(openscincludedir)"
60
66
libLTLIBRARIES_INSTALL = $(INSTALL)
61
67
LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES)
62
 
libpkcs11_la_DEPENDENCIES =
 
68
libpkcs11_la_LIBADD =
63
69
am_libpkcs11_la_OBJECTS = libpkcs11.lo
64
70
libpkcs11_la_OBJECTS = $(am_libpkcs11_la_OBJECTS)
65
71
am__DEPENDENCIES_1 =
66
 
onepin_opensc_pkcs11_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
67
 
        ../pkcs15init/libpkcs15init.la
 
72
am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
 
73
        $(top_builddir)/src/pkcs15init/libpkcs15init.la \
 
74
        $(top_builddir)/src/libopensc/libopensc.la \
 
75
        $(top_builddir)/src/scconf/libscconf.la
 
76
onepin_opensc_pkcs11_la_DEPENDENCIES = $(am__DEPENDENCIES_2)
 
77
am__onepin_opensc_pkcs11_la_SOURCES_DIST = pkcs11-global.c \
 
78
        pkcs11-session.c pkcs11-object.c misc.c slot.c mechanism.c \
 
79
        openssl.c secretkey.c framework-pkcs15.c \
 
80
        framework-pkcs15init.c debug.c opensc-pkcs11.exports \
 
81
        sc-pkcs11.h hack-enabled.c versioninfo.rc
68
82
am__objects_1 = pkcs11-global.lo pkcs11-session.lo pkcs11-object.lo \
69
83
        misc.lo slot.lo mechanism.lo openssl.lo secretkey.lo \
70
84
        framework-pkcs15.lo framework-pkcs15init.lo debug.lo
71
85
am__objects_2 =
 
86
@WIN32_TRUE@am__objects_3 = versioninfo.lo
72
87
am_onepin_opensc_pkcs11_la_OBJECTS = $(am__objects_1) $(am__objects_2) \
73
 
        hack-enabled.lo
 
88
        hack-enabled.lo $(am__objects_3)
74
89
onepin_opensc_pkcs11_la_OBJECTS =  \
75
90
        $(am_onepin_opensc_pkcs11_la_OBJECTS)
76
 
opensc_pkcs11_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
77
 
        ../pkcs15init/libpkcs15init.la
 
91
onepin_opensc_pkcs11_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
 
92
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
 
93
        $(onepin_opensc_pkcs11_la_LDFLAGS) $(LDFLAGS) -o $@
 
94
opensc_pkcs11_la_DEPENDENCIES = $(am__DEPENDENCIES_2)
 
95
am__opensc_pkcs11_la_SOURCES_DIST = pkcs11-global.c pkcs11-session.c \
 
96
        pkcs11-object.c misc.c slot.c mechanism.c openssl.c \
 
97
        secretkey.c framework-pkcs15.c framework-pkcs15init.c debug.c \
 
98
        opensc-pkcs11.exports sc-pkcs11.h hack-disabled.c \
 
99
        versioninfo.rc
78
100
am_opensc_pkcs11_la_OBJECTS = $(am__objects_1) $(am__objects_2) \
79
 
        hack-disabled.lo
 
101
        hack-disabled.lo $(am__objects_3)
80
102
opensc_pkcs11_la_OBJECTS = $(am_opensc_pkcs11_la_OBJECTS)
81
 
pkcs11_spy_la_DEPENDENCIES = $(am__DEPENDENCIES_1) libpkcs11.la \
82
 
        $(am__DEPENDENCIES_1)
83
 
am_pkcs11_spy_la_OBJECTS = pkcs11-spy.lo pkcs11-display.lo
 
103
opensc_pkcs11_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
 
104
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
 
105
        $(opensc_pkcs11_la_LDFLAGS) $(LDFLAGS) -o $@
 
106
pkcs11_spy_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
 
107
        $(am__DEPENDENCIES_1) libpkcs11.la
 
108
am__pkcs11_spy_la_SOURCES_DIST = pkcs11-spy.c pkcs11-display.c \
 
109
        pkcs11-display.h pkcs11-spy.exports versioninfo.rc
 
110
am_pkcs11_spy_la_OBJECTS = pkcs11-spy.lo pkcs11-display.lo \
 
111
        $(am__objects_3)
84
112
pkcs11_spy_la_OBJECTS = $(am_pkcs11_spy_la_OBJECTS)
85
 
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
 
113
pkcs11_spy_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
 
114
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
 
115
        $(pkcs11_spy_la_LDFLAGS) $(LDFLAGS) -o $@
 
116
SCRIPTS = $(dist_noinst_SCRIPTS)
 
117
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
86
118
depcomp = $(SHELL) $(top_srcdir)/depcomp
87
119
am__depfiles_maybe = depfiles
88
120
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
89
121
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
90
 
LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
91
 
        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
92
 
        $(AM_CFLAGS) $(CFLAGS)
 
122
LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
 
123
        --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
 
124
        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
93
125
CCLD = $(CC)
94
 
LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
95
 
        $(AM_LDFLAGS) $(LDFLAGS) -o $@
 
126
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
 
127
        --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
 
128
        $(LDFLAGS) -o $@
96
129
SOURCES = $(libpkcs11_la_SOURCES) $(onepin_opensc_pkcs11_la_SOURCES) \
97
130
        $(opensc_pkcs11_la_SOURCES) $(pkcs11_spy_la_SOURCES)
98
131
DIST_SOURCES = $(libpkcs11_la_SOURCES) \
99
 
        $(onepin_opensc_pkcs11_la_SOURCES) $(opensc_pkcs11_la_SOURCES) \
100
 
        $(pkcs11_spy_la_SOURCES)
101
 
includeHEADERS_INSTALL = $(INSTALL_HEADER)
102
 
HEADERS = $(include_HEADERS)
 
132
        $(am__onepin_opensc_pkcs11_la_SOURCES_DIST) \
 
133
        $(am__opensc_pkcs11_la_SOURCES_DIST) \
 
134
        $(am__pkcs11_spy_la_SOURCES_DIST)
 
135
am__dist_noinst_DATA_DIST = versioninfo.rc
 
136
pkcs11DATA_INSTALL = $(INSTALL_DATA)
 
137
DATA = $(dist_noinst_DATA) $(pkcs11_DATA)
 
138
openscincludeHEADERS_INSTALL = $(INSTALL_HEADER)
 
139
HEADERS = $(openscinclude_HEADERS)
103
140
ETAGS = etags
104
141
CTAGS = ctags
105
142
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
106
143
ACLOCAL = @ACLOCAL@
107
 
AMDEP_FALSE = @AMDEP_FALSE@
108
 
AMDEP_TRUE = @AMDEP_TRUE@
109
144
AMTAR = @AMTAR@
110
145
AR = @AR@
 
146
AS = @AS@
111
147
AUTOCONF = @AUTOCONF@
112
148
AUTOHEADER = @AUTOHEADER@
113
149
AUTOMAKE = @AUTOMAKE@
117
153
CFLAGS = @CFLAGS@
118
154
CPP = @CPP@
119
155
CPPFLAGS = @CPPFLAGS@
120
 
CXX = @CXX@
121
 
CXXCPP = @CXXCPP@
122
 
CXXDEPMODE = @CXXDEPMODE@
123
 
CXXFLAGS = @CXXFLAGS@
124
156
CYGPATH_W = @CYGPATH_W@
 
157
DEFAULT_PCSC_PROVIDER = @DEFAULT_PCSC_PROVIDER@
125
158
DEFS = @DEFS@
126
159
DEPDIR = @DEPDIR@
127
 
ECHO = @ECHO@
 
160
DLLTOOL = @DLLTOOL@
 
161
DSYMUTIL = @DSYMUTIL@
 
162
DUMPBIN = @DUMPBIN@
128
163
ECHO_C = @ECHO_C@
129
164
ECHO_N = @ECHO_N@
130
165
ECHO_T = @ECHO_T@
131
166
EGREP = @EGREP@
132
 
ENABLE_NSPLUGIN_FALSE = @ENABLE_NSPLUGIN_FALSE@
133
 
ENABLE_NSPLUGIN_TRUE = @ENABLE_NSPLUGIN_TRUE@
134
167
EXEEXT = @EXEEXT@
135
 
F77 = @F77@
136
 
FFLAGS = @FFLAGS@
 
168
FGREP = @FGREP@
137
169
GREP = @GREP@
138
 
HAVE_ASSUAN_FALSE = @HAVE_ASSUAN_FALSE@
139
 
HAVE_ASSUAN_TRUE = @HAVE_ASSUAN_TRUE@
140
 
HAVE_OPENCT_FALSE = @HAVE_OPENCT_FALSE@
141
 
HAVE_OPENCT_TRUE = @HAVE_OPENCT_TRUE@
142
 
HAVE_OPENSSL_FALSE = @HAVE_OPENSSL_FALSE@
143
 
HAVE_OPENSSL_TRUE = @HAVE_OPENSSL_TRUE@
144
 
HAVE_PCSC_FALSE = @HAVE_PCSC_FALSE@
145
 
HAVE_PCSC_TRUE = @HAVE_PCSC_TRUE@
 
170
ICONV_CFLAGS = @ICONV_CFLAGS@
 
171
ICONV_LIBS = @ICONV_LIBS@
 
172
INSTALL = @INSTALL@
146
173
INSTALL_DATA = @INSTALL_DATA@
147
174
INSTALL_PROGRAM = @INSTALL_PROGRAM@
148
175
INSTALL_SCRIPT = @INSTALL_SCRIPT@
149
176
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
 
177
LD = @LD@
150
178
LDFLAGS = @LDFLAGS@
151
 
LEX = @LEX@
152
 
LEXLIB = @LEXLIB@
153
 
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
154
179
LIBASSUAN_CFLAGS = @LIBASSUAN_CFLAGS@
155
180
LIBASSUAN_CONFIG = @LIBASSUAN_CONFIG@
156
181
LIBASSUAN_LIBS = @LIBASSUAN_LIBS@
157
 
LIBFL = @LIBFL@
158
182
LIBOBJS = @LIBOBJS@
159
 
LIBOPENSC = @LIBOPENSC@
160
 
LIBREADLINE = @LIBREADLINE@
161
183
LIBS = @LIBS@
162
 
LIBSCCONF = @LIBSCCONF@
163
184
LIBTOOL = @LIBTOOL@
 
185
LIPO = @LIPO@
164
186
LN_S = @LN_S@
165
187
LTLIBOBJS = @LTLIBOBJS@
166
188
LTLIB_CFLAGS = @LTLIB_CFLAGS@
167
189
LTLIB_LIBS = @LTLIB_LIBS@
168
 
MAINT = @MAINT@
169
 
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
170
 
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
171
190
MAKEINFO = @MAKEINFO@
 
191
MKDIR_P = @MKDIR_P@
 
192
NM = @NM@
 
193
NMEDIT = @NMEDIT@
 
194
OBJDUMP = @OBJDUMP@
172
195
OBJEXT = @OBJEXT@
173
196
OPENCT_CFLAGS = @OPENCT_CFLAGS@
174
197
OPENCT_LIBS = @OPENCT_LIBS@
175
 
OPENSC_CFLAGS = @OPENSC_CFLAGS@
176
 
OPENSC_LIBS = @OPENSC_LIBS@
177
198
OPENSC_LT_AGE = @OPENSC_LT_AGE@
178
199
OPENSC_LT_CURRENT = @OPENSC_LT_CURRENT@
 
200
OPENSC_LT_OLDEST = @OPENSC_LT_OLDEST@
179
201
OPENSC_LT_REVISION = @OPENSC_LT_REVISION@
 
202
OPENSC_VERSION_FIX = @OPENSC_VERSION_FIX@
 
203
OPENSC_VERSION_MAJOR = @OPENSC_VERSION_MAJOR@
 
204
OPENSC_VERSION_MINOR = @OPENSC_VERSION_MINOR@
180
205
OPENSSL_CFLAGS = @OPENSSL_CFLAGS@
181
206
OPENSSL_LIBS = @OPENSSL_LIBS@
 
207
OPTIONAL_ICONV_CFLAGS = @OPTIONAL_ICONV_CFLAGS@
 
208
OPTIONAL_ICONV_LIBS = @OPTIONAL_ICONV_LIBS@
 
209
OPTIONAL_OPENCT_CFLAGS = @OPTIONAL_OPENCT_CFLAGS@
 
210
OPTIONAL_OPENCT_LIBS = @OPTIONAL_OPENCT_LIBS@
 
211
OPTIONAL_OPENSSL_CFLAGS = @OPTIONAL_OPENSSL_CFLAGS@
 
212
OPTIONAL_OPENSSL_LIBS = @OPTIONAL_OPENSSL_LIBS@
 
213
OPTIONAL_PCSC_CFLAGS = @OPTIONAL_PCSC_CFLAGS@
 
214
OPTIONAL_READLINE_CFLAGS = @OPTIONAL_READLINE_CFLAGS@
 
215
OPTIONAL_READLINE_LIBS = @OPTIONAL_READLINE_LIBS@
 
216
OPTIONAL_ZLIB_CFLAGS = @OPTIONAL_ZLIB_CFLAGS@
 
217
OPTIONAL_ZLIB_LIBS = @OPTIONAL_ZLIB_LIBS@
 
218
OTOOL = @OTOOL@
 
219
OTOOL64 = @OTOOL64@
182
220
PACKAGE = @PACKAGE@
183
221
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
184
222
PACKAGE_NAME = @PACKAGE_NAME@
189
227
PCSC_CFLAGS = @PCSC_CFLAGS@
190
228
PCSC_LIBS = @PCSC_LIBS@
191
229
PKG_CONFIG = @PKG_CONFIG@
192
 
PLUGINDIR = @PLUGINDIR@
193
230
PTHREAD_CC = @PTHREAD_CC@
194
231
PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
195
232
PTHREAD_LIBS = @PTHREAD_LIBS@
196
233
RANLIB = @RANLIB@
 
234
RC = @RC@
 
235
READLINE_CFLAGS = @READLINE_CFLAGS@
 
236
READLINE_LIBS = @READLINE_LIBS@
 
237
SED = @SED@
197
238
SET_MAKE = @SET_MAKE@
198
239
SHELL = @SHELL@
199
240
STRIP = @STRIP@
200
 
TEST_MINUS_S_SH = @TEST_MINUS_S_SH@
 
241
SVN = @SVN@
 
242
TR = @TR@
201
243
VERSION = @VERSION@
 
244
WGET = @WGET@
 
245
WGET_OPTS = @WGET_OPTS@
 
246
WIN_LIBPREFIX = @WIN_LIBPREFIX@
 
247
XSLTPROC = @XSLTPROC@
 
248
ZLIB_CFLAGS = @ZLIB_CFLAGS@
 
249
ZLIB_LIBS = @ZLIB_LIBS@
 
250
abs_builddir = @abs_builddir@
 
251
abs_srcdir = @abs_srcdir@
 
252
abs_top_builddir = @abs_top_builddir@
 
253
abs_top_srcdir = @abs_top_srcdir@
202
254
ac_ct_CC = @ac_ct_CC@
203
 
ac_ct_CXX = @ac_ct_CXX@
204
 
ac_ct_F77 = @ac_ct_F77@
205
 
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
206
 
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
207
 
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
208
 
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
 
255
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
 
256
acx_pthread_config = @acx_pthread_config@
209
257
am__include = @am__include@
210
258
am__leading_dot = @am__leading_dot@
211
259
am__quote = @am__quote@
217
265
build_cpu = @build_cpu@
218
266
build_os = @build_os@
219
267
build_vendor = @build_vendor@
 
268
builddir = @builddir@
220
269
datadir = @datadir@
221
270
datarootdir = @datarootdir@
222
271
docdir = @docdir@
228
277
host_os = @host_os@
229
278
host_vendor = @host_vendor@
230
279
htmldir = @htmldir@
231
 
includedir = @includedir@/opensc
 
280
includedir = @includedir@
232
281
infodir = @infodir@
233
282
install_sh = @install_sh@
234
283
libdir = @libdir@
235
284
libexecdir = @libexecdir@
236
285
localedir = @localedir@
237
286
localstatedir = @localstatedir@
 
287
lt_ECHO = @lt_ECHO@
238
288
mandir = @mandir@
239
289
mkdir_p = @mkdir_p@
240
290
oldincludedir = @oldincludedir@
 
291
openscincludedir = @openscincludedir@
241
292
pdfdir = @pdfdir@
242
 
pkgdata = @pkgdata@
 
293
pkcs11dir = @pkcs11dir@
 
294
pkgconfigdir = @pkgconfigdir@
 
295
plugindir = @plugindir@
243
296
prefix = @prefix@
244
297
program_transform_name = @program_transform_name@
245
298
psdir = @psdir@
246
299
sbindir = @sbindir@
247
300
sharedstatedir = @sharedstatedir@
 
301
srcdir = @srcdir@
248
302
sysconfdir = @sysconfdir@
249
303
target_alias = @target_alias@
250
 
bundledir = $(BUNDLEDIR)/pkcs11
251
 
MAINTAINERCLEANFILES = Makefile.in
252
 
EXTRA_DIST = Makefile.mak opensc_pkcs11_install.js
253
 
INCLUDES = $(CPPFLAGS) -I${top_srcdir}/src/pkcs15init $(OPENSSL_CFLAGS) $(LTLIB_CFLAGS)
254
 
SRC = pkcs11-global.c pkcs11-session.c pkcs11-object.c misc.c slot.c \
255
 
        mechanism.c openssl.c secretkey.c framework-pkcs15.c \
256
 
        framework-pkcs15init.c debug.c
257
 
 
258
 
INC = sc-pkcs11.h
 
304
top_builddir = @top_builddir@
 
305
top_srcdir = @top_srcdir@
 
306
xslstylesheetsdir = @xslstylesheetsdir@
 
307
RCCOMPILE = $(RC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
 
308
        $(AM_CPPFLAGS) $(CPPFLAGS)
 
309
 
 
310
LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RCCOMPILE)
 
311
MAINTAINERCLEANFILES = \
 
312
        $(srcdir)/Makefile.in $(srcdir)/versioninfo.rc
 
313
 
 
314
CLEANFILES = versioninfo.rc
 
315
EXTRA_DIST = Makefile.mak
 
316
dist_noinst_SCRIPTS = opensc_pkcs11_install.js
 
317
openscinclude_HEADERS = pkcs11.h pkcs11-opensc.h
259
318
lib_LTLIBRARIES = opensc-pkcs11.la pkcs11-spy.la onepin-opensc-pkcs11.la
260
319
noinst_LTLIBRARIES = libpkcs11.la
261
 
opensc_pkcs11_la_SOURCES = $(SRC) $(INC) hack-disabled.c
262
 
opensc_pkcs11_la_LDFLAGS = -module -avoid-version
263
 
opensc_pkcs11_la_LIBADD = @LIBOPENSC@ $(OPENSSL_LIBS) \
264
 
        ../pkcs15init/libpkcs15init.la 
 
320
AM_CFLAGS = $(OPTIONAL_OPENSSL_CFLAGS) $(LTLIB_CFLAGS) $(PTHREAD_CFLAGS)
 
321
INCLUDES = -I$(top_srcdir)/src/pkcs15init -I$(top_builddir)/src/include
 
322
OPENSC_PKCS11_INC = sc-pkcs11.h
 
323
OPENSC_PKCS11_SRC = pkcs11-global.c pkcs11-session.c pkcs11-object.c misc.c slot.c \
 
324
        mechanism.c openssl.c secretkey.c framework-pkcs15.c \
 
325
        framework-pkcs15init.c debug.c opensc-pkcs11.exports
265
326
 
266
 
onepin_opensc_pkcs11_la_SOURCES = $(SRC) $(INC) hack-enabled.c
267
 
onepin_opensc_pkcs11_la_LDFLAGS = -module -avoid-version
268
 
onepin_opensc_pkcs11_la_LIBADD = @LIBOPENSC@ $(OPENSSL_LIBS) \
269
 
        ../pkcs15init/libpkcs15init.la 
 
327
OPENSC_PKCS11_LIBS = $(OPTIONAL_OPENSSL_LIBS) $(PTHREAD_LIBS) \
 
328
        $(top_builddir)/src/pkcs15init/libpkcs15init.la \
 
329
        $(top_builddir)/src/libopensc/libopensc.la \
 
330
        $(top_builddir)/src/scconf/libscconf.la
270
331
 
271
332
libpkcs11_la_SOURCES = libpkcs11.c
272
 
libpkcs11_la_LDFLAGS = -version-info @OPENSC_LT_CURRENT@:@OPENSC_LT_REVISION@:@OPENSC_LT_AGE@
273
 
libpkcs11_la_LIBADD = 
274
 
pkcs11_spy_la_SOURCES = pkcs11-spy.c pkcs11-display.c pkcs11-display.h
275
 
pkcs11_spy_la_LDFLAGS = -module -avoid-version
276
 
pkcs11_spy_la_LIBADD = $(OPENSSL_LIBS) libpkcs11.la $(LTLIB_LIBS)
277
 
include_HEADERS = pkcs11.h
 
333
opensc_pkcs11_la_SOURCES = $(OPENSC_PKCS11_SRC) $(OPENSC_PKCS11_INC) \
 
334
        hack-disabled.c $(am__append_1)
 
335
opensc_pkcs11_la_LIBADD = $(OPENSC_PKCS11_LIBS)
 
336
opensc_pkcs11_la_LDFLAGS = $(AM_LDFLAGS) \
 
337
        -export-symbols "$(srcdir)/opensc-pkcs11.exports" \
 
338
        -module -shared -avoid-version -no-undefined
 
339
 
 
340
onepin_opensc_pkcs11_la_SOURCES = $(OPENSC_PKCS11_SRC) \
 
341
        $(OPENSC_PKCS11_INC) hack-enabled.c $(am__append_2)
 
342
onepin_opensc_pkcs11_la_LIBADD = $(OPENSC_PKCS11_LIBS)
 
343
onepin_opensc_pkcs11_la_LDFLAGS = $(AM_LDFLAGS) \
 
344
        -export-symbols "$(srcdir)/opensc-pkcs11.exports" \
 
345
        -module -shared -avoid-version -no-undefined
 
346
 
 
347
pkcs11_spy_la_SOURCES = pkcs11-spy.c pkcs11-display.c pkcs11-display.h \
 
348
        pkcs11-spy.exports $(am__append_3)
 
349
pkcs11_spy_la_LIBADD = $(OPTIONAL_OPENSSL_LIBS) $(LTLIB_LIBS) libpkcs11.la
 
350
pkcs11_spy_la_LDFLAGS = $(AM_LDFLAGS) \
 
351
        -export-symbols "$(srcdir)/pkcs11-spy.exports" \
 
352
        -module -shared -avoid-version -no-undefined
 
353
 
 
354
@WIN32_FALSE@dist_noinst_DATA = versioninfo.rc
 
355
# see http://wiki.cacert.org/wiki/Pkcs11TaskForce
 
356
@WIN32_FALSE@pkcs11_DATA = #This will create the directory
 
357
@CYGWIN_FALSE@@WIN32_FALSE@PKCS11_SUFFIX = .so
 
358
@CYGWIN_TRUE@@WIN32_FALSE@PKCS11_SUFFIX = .dll
278
359
all: all-am
279
360
 
280
361
.SUFFIXES:
281
 
.SUFFIXES: .c .lo .o .obj
282
 
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
 
362
.SUFFIXES: .c .lo .o .obj .rc
 
363
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/win32/ltrc.inc $(am__configure_deps)
283
364
        @for dep in $?; do \
284
365
          case '$(am__configure_deps)' in \
285
366
            *$$dep*) \
304
385
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
305
386
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
306
387
 
307
 
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
 
388
$(top_srcdir)/configure:  $(am__configure_deps)
308
389
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
309
 
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
 
390
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
310
391
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
311
392
install-libLTLIBRARIES: $(lib_LTLIBRARIES)
312
393
        @$(NORMAL_INSTALL)
313
 
        test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
 
394
        test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
314
395
        @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
315
396
          if test -f $$p; then \
316
397
            f=$(am__strip_dir) \
317
 
            echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
318
 
            $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
 
398
            echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
 
399
            $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
319
400
          else :; fi; \
320
401
        done
321
402
 
322
403
uninstall-libLTLIBRARIES:
323
404
        @$(NORMAL_UNINSTALL)
324
 
        @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \
 
405
        @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
325
406
          p=$(am__strip_dir) \
326
 
          echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
327
 
          $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
 
407
          echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
 
408
          $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
328
409
        done
329
410
 
330
411
clean-libLTLIBRARIES:
345
426
          rm -f "$${dir}/so_locations"; \
346
427
        done
347
428
libpkcs11.la: $(libpkcs11_la_OBJECTS) $(libpkcs11_la_DEPENDENCIES) 
348
 
        $(LINK)  $(libpkcs11_la_LDFLAGS) $(libpkcs11_la_OBJECTS) $(libpkcs11_la_LIBADD) $(LIBS)
 
429
        $(LINK)  $(libpkcs11_la_OBJECTS) $(libpkcs11_la_LIBADD) $(LIBS)
349
430
onepin-opensc-pkcs11.la: $(onepin_opensc_pkcs11_la_OBJECTS) $(onepin_opensc_pkcs11_la_DEPENDENCIES) 
350
 
        $(LINK) -rpath $(libdir) $(onepin_opensc_pkcs11_la_LDFLAGS) $(onepin_opensc_pkcs11_la_OBJECTS) $(onepin_opensc_pkcs11_la_LIBADD) $(LIBS)
 
431
        $(onepin_opensc_pkcs11_la_LINK) -rpath $(libdir) $(onepin_opensc_pkcs11_la_OBJECTS) $(onepin_opensc_pkcs11_la_LIBADD) $(LIBS)
351
432
opensc-pkcs11.la: $(opensc_pkcs11_la_OBJECTS) $(opensc_pkcs11_la_DEPENDENCIES) 
352
 
        $(LINK) -rpath $(libdir) $(opensc_pkcs11_la_LDFLAGS) $(opensc_pkcs11_la_OBJECTS) $(opensc_pkcs11_la_LIBADD) $(LIBS)
 
433
        $(opensc_pkcs11_la_LINK) -rpath $(libdir) $(opensc_pkcs11_la_OBJECTS) $(opensc_pkcs11_la_LIBADD) $(LIBS)
353
434
pkcs11-spy.la: $(pkcs11_spy_la_OBJECTS) $(pkcs11_spy_la_DEPENDENCIES) 
354
 
        $(LINK) -rpath $(libdir) $(pkcs11_spy_la_LDFLAGS) $(pkcs11_spy_la_OBJECTS) $(pkcs11_spy_la_LIBADD) $(LIBS)
 
435
        $(pkcs11_spy_la_LINK) -rpath $(libdir) $(pkcs11_spy_la_OBJECTS) $(pkcs11_spy_la_LIBADD) $(LIBS)
355
436
 
356
437
mostlyclean-compile:
357
438
        -rm -f *.$(OBJEXT)
377
458
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/slot.Plo@am__quote@
378
459
 
379
460
.c.o:
380
 
@am__fastdepCC_TRUE@    if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
381
 
@am__fastdepCC_TRUE@    then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
 
461
@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
 
462
@am__fastdepCC_TRUE@    mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
382
463
@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
383
464
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
384
465
@am__fastdepCC_FALSE@   $(COMPILE) -c $<
385
466
 
386
467
.c.obj:
387
 
@am__fastdepCC_TRUE@    if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
388
 
@am__fastdepCC_TRUE@    then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
 
468
@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
 
469
@am__fastdepCC_TRUE@    mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
389
470
@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
390
471
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
391
472
@am__fastdepCC_FALSE@   $(COMPILE) -c `$(CYGPATH_W) '$<'`
392
473
 
393
474
.c.lo:
394
 
@am__fastdepCC_TRUE@    if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
395
 
@am__fastdepCC_TRUE@    then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
 
475
@am__fastdepCC_TRUE@    $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
 
476
@am__fastdepCC_TRUE@    mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
396
477
@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
397
478
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
398
479
@am__fastdepCC_FALSE@   $(LTCOMPILE) -c -o $@ $<
402
483
 
403
484
clean-libtool:
404
485
        -rm -rf .libs _libs
405
 
 
406
 
distclean-libtool:
407
 
        -rm -f libtool
408
 
uninstall-info-am:
409
 
install-includeHEADERS: $(include_HEADERS)
410
 
        @$(NORMAL_INSTALL)
411
 
        test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
412
 
        @list='$(include_HEADERS)'; for p in $$list; do \
413
 
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
414
 
          f=$(am__strip_dir) \
415
 
          echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
416
 
          $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
417
 
        done
418
 
 
419
 
uninstall-includeHEADERS:
420
 
        @$(NORMAL_UNINSTALL)
421
 
        @list='$(include_HEADERS)'; for p in $$list; do \
422
 
          f=$(am__strip_dir) \
423
 
          echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
424
 
          rm -f "$(DESTDIR)$(includedir)/$$f"; \
 
486
install-pkcs11DATA: $(pkcs11_DATA)
 
487
        @$(NORMAL_INSTALL)
 
488
        test -z "$(pkcs11dir)" || $(MKDIR_P) "$(DESTDIR)$(pkcs11dir)"
 
489
        @list='$(pkcs11_DATA)'; for p in $$list; do \
 
490
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
 
491
          f=$(am__strip_dir) \
 
492
          echo " $(pkcs11DATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkcs11dir)/$$f'"; \
 
493
          $(pkcs11DATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkcs11dir)/$$f"; \
 
494
        done
 
495
 
 
496
uninstall-pkcs11DATA:
 
497
        @$(NORMAL_UNINSTALL)
 
498
        @list='$(pkcs11_DATA)'; for p in $$list; do \
 
499
          f=$(am__strip_dir) \
 
500
          echo " rm -f '$(DESTDIR)$(pkcs11dir)/$$f'"; \
 
501
          rm -f "$(DESTDIR)$(pkcs11dir)/$$f"; \
 
502
        done
 
503
install-openscincludeHEADERS: $(openscinclude_HEADERS)
 
504
        @$(NORMAL_INSTALL)
 
505
        test -z "$(openscincludedir)" || $(MKDIR_P) "$(DESTDIR)$(openscincludedir)"
 
506
        @list='$(openscinclude_HEADERS)'; for p in $$list; do \
 
507
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
 
508
          f=$(am__strip_dir) \
 
509
          echo " $(openscincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(openscincludedir)/$$f'"; \
 
510
          $(openscincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(openscincludedir)/$$f"; \
 
511
        done
 
512
 
 
513
uninstall-openscincludeHEADERS:
 
514
        @$(NORMAL_UNINSTALL)
 
515
        @list='$(openscinclude_HEADERS)'; for p in $$list; do \
 
516
          f=$(am__strip_dir) \
 
517
          echo " rm -f '$(DESTDIR)$(openscincludedir)/$$f'"; \
 
518
          rm -f "$(DESTDIR)$(openscincludedir)/$$f"; \
425
519
        done
426
520
 
427
521
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
429
523
        unique=`for i in $$list; do \
430
524
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
431
525
          done | \
432
 
          $(AWK) '    { files[$$0] = 1; } \
433
 
               END { for (i in files) print i; }'`; \
 
526
          $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
 
527
              END { if (nonempty) { for (i in files) print i; }; }'`; \
434
528
        mkid -fID $$unique
435
529
tags: TAGS
436
530
 
442
536
        unique=`for i in $$list; do \
443
537
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
444
538
          done | \
445
 
          $(AWK) '    { files[$$0] = 1; } \
446
 
               END { for (i in files) print i; }'`; \
 
539
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
 
540
              END { if (nonempty) { for (i in files) print i; }; }'`; \
447
541
        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
448
542
          test -n "$$unique" || unique=$$empty_fix; \
449
543
          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
453
547
CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
454
548
                $(TAGS_FILES) $(LISP)
455
549
        tags=; \
456
 
        here=`pwd`; \
457
550
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
458
551
        unique=`for i in $$list; do \
459
552
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
460
553
          done | \
461
 
          $(AWK) '    { files[$$0] = 1; } \
462
 
               END { for (i in files) print i; }'`; \
 
554
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
 
555
              END { if (nonempty) { for (i in files) print i; }; }'`; \
463
556
        test -z "$(CTAGS_ARGS)$$tags$$unique" \
464
557
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
465
558
             $$tags $$unique
473
566
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
474
567
 
475
568
distdir: $(DISTFILES)
476
 
        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
477
 
        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
478
 
        list='$(DISTFILES)'; for file in $$list; do \
479
 
          case $$file in \
480
 
            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
481
 
            $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
482
 
          esac; \
 
569
        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
 
570
        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
 
571
        list='$(DISTFILES)'; \
 
572
          dist_files=`for file in $$list; do echo $$file; done | \
 
573
          sed -e "s|^$$srcdirstrip/||;t" \
 
574
              -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
 
575
        case $$dist_files in \
 
576
          */*) $(MKDIR_P) `echo "$$dist_files" | \
 
577
                           sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
 
578
                           sort -u` ;; \
 
579
        esac; \
 
580
        for file in $$dist_files; do \
483
581
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
484
 
          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
485
 
          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
486
 
            dir="/$$dir"; \
487
 
            $(mkdir_p) "$(distdir)$$dir"; \
488
 
          else \
489
 
            dir=''; \
490
 
          fi; \
491
582
          if test -d $$d/$$file; then \
 
583
            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
492
584
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
493
585
              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
494
586
            fi; \
501
593
        done
502
594
check-am: all-am
503
595
check: check-am
504
 
all-am: Makefile $(LTLIBRARIES) $(HEADERS)
 
596
all-am: Makefile $(LTLIBRARIES) $(SCRIPTS) $(DATA) $(HEADERS)
505
597
installdirs:
506
 
        for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"; do \
507
 
          test -z "$$dir" || $(mkdir_p) "$$dir"; \
 
598
        for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkcs11dir)" "$(DESTDIR)$(openscincludedir)"; do \
 
599
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
508
600
        done
509
601
install: install-am
510
602
install-exec: install-exec-am
523
615
mostlyclean-generic:
524
616
 
525
617
clean-generic:
 
618
        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
526
619
 
527
620
distclean-generic:
528
621
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
540
633
        -rm -rf ./$(DEPDIR)
541
634
        -rm -f Makefile
542
635
distclean-am: clean-am distclean-compile distclean-generic \
543
 
        distclean-libtool distclean-tags
 
636
        distclean-tags
544
637
 
545
638
dvi: dvi-am
546
639
 
552
645
 
553
646
info-am:
554
647
 
555
 
install-data-am: install-includeHEADERS
 
648
install-data-am: install-openscincludeHEADERS install-pkcs11DATA
 
649
 
 
650
install-dvi: install-dvi-am
556
651
 
557
652
install-exec-am: install-libLTLIBRARIES
 
653
        @$(NORMAL_INSTALL)
 
654
        $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
 
655
 
 
656
install-html: install-html-am
558
657
 
559
658
install-info: install-info-am
560
659
 
561
660
install-man:
562
661
 
 
662
install-pdf: install-pdf-am
 
663
 
 
664
install-ps: install-ps-am
 
665
 
563
666
installcheck-am:
564
667
 
565
668
maintainer-clean: maintainer-clean-am
580
683
 
581
684
ps-am:
582
685
 
583
 
uninstall-am: uninstall-includeHEADERS uninstall-info-am \
584
 
        uninstall-libLTLIBRARIES
 
686
uninstall-am: uninstall-libLTLIBRARIES uninstall-openscincludeHEADERS \
 
687
        uninstall-pkcs11DATA
 
688
 
 
689
.MAKE: install-am install-exec-am install-strip
585
690
 
586
691
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
587
692
        clean-libLTLIBRARIES clean-libtool clean-noinstLTLIBRARIES \
588
693
        ctags distclean distclean-compile distclean-generic \
589
694
        distclean-libtool distclean-tags distdir dvi dvi-am html \
590
695
        html-am info info-am install install-am install-data \
591
 
        install-data-am install-exec install-exec-am \
592
 
        install-includeHEADERS install-info install-info-am \
593
 
        install-libLTLIBRARIES install-man install-strip installcheck \
594
 
        installcheck-am installdirs maintainer-clean \
595
 
        maintainer-clean-generic mostlyclean mostlyclean-compile \
596
 
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
597
 
        tags uninstall uninstall-am uninstall-includeHEADERS \
598
 
        uninstall-info-am uninstall-libLTLIBRARIES
599
 
 
 
696
        install-data-am install-dvi install-dvi-am install-exec \
 
697
        install-exec-am install-exec-hook install-html install-html-am \
 
698
        install-info install-info-am install-libLTLIBRARIES \
 
699
        install-man install-openscincludeHEADERS install-pdf \
 
700
        install-pdf-am install-pkcs11DATA install-ps install-ps-am \
 
701
        install-strip installcheck installcheck-am installdirs \
 
702
        maintainer-clean maintainer-clean-generic mostlyclean \
 
703
        mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
 
704
        pdf pdf-am ps ps-am tags uninstall uninstall-am \
 
705
        uninstall-libLTLIBRARIES uninstall-openscincludeHEADERS \
 
706
        uninstall-pkcs11DATA
 
707
 
 
708
 
 
709
.rc.lo:
 
710
        $(LTRCCOMPILE) -i "$<" -o "$@"
 
711
 
 
712
.rc.o:
 
713
        $(RCCOMPILE) -i "$<" -o "$@"
600
714
 
601
715
jar-dir:
602
716
        if test ! -d jar-dir ; then mkdir jar-dir ; fi
606
720
        cp opensc_pkcs11_install.js jar-dir
607
721
        signtool -Z"opensc-pkcs11.jar" -i"opensc_pkcs11_install.js" \
608
722
                 -k"testcert" jar-dir
 
723
 
 
724
@WIN32_TRUE@install-exec-hook:  install-pkcs11DATA
 
725
@WIN32_TRUE@    for l in opensc-pkcs11.dll onepin-opensc-pkcs11.dll pkcs11-spy.dll; do \
 
726
@WIN32_TRUE@            mv "$(DESTDIR)$(libdir)/$$l" "$(DESTDIR)$(bindir)/$$l"; \
 
727
@WIN32_TRUE@    done
 
728
@WIN32_FALSE@install-exec-hook: install-pkcs11DATA
 
729
@WIN32_FALSE@   for l in opensc-pkcs11$(PKCS11_SUFFIX) onepin-opensc-pkcs11$(PKCS11_SUFFIX) pkcs11-spy$(PKCS11_SUFFIX); do \
 
730
@WIN32_FALSE@           rm -f "$(DESTDIR)$(pkcs11dir)/$$l"; \
 
731
@WIN32_FALSE@           $(LN_S) ../$$l "$(DESTDIR)$(pkcs11dir)/$$l"; \
 
732
@WIN32_FALSE@   done
 
733
 
 
734
versioninfo.rc:
 
735
        sed 's/@@FILE_DESCRIPTION@@/OpenSC PKCS#11 Provider/g' \
 
736
                "$(top_builddir)/win32/versioninfo.rc.in" > versioninfo.rc
609
737
# Tell versions [3.59,3.63) of GNU make to not export all variables.
610
738
# Otherwise a system limit (for SysV at least) may be exceeded.
611
739
.NOEXPORT: