summaryrefslogtreecommitdiff
path: root/tools/Makefile.am
blob: deda642555c63752d81dc3a4f8dcc7f564cc31e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53

include $(top_srcdir)/build/Makefile.decl

SUBDIRS = . tests

COMMON = $(top_srcdir)/common

AM_CPPFLAGS = \
	-I$(top_srcdir) \
	-I$(top_srcdir)/common \
	-I$(top_srcdir)/p11-kit \
	-DSRCDIR=\"$(srcdir)\" \
	-DPRIVATEDIR=\"$(privatedir)\" \
	-DP11_KIT_FUTURE_UNSTABLE_API \
	$(NULL)

bin_PROGRAMS = \
	p11-kit

p11_kit_SOURCES = \
	list.c \
	tool.c tool.h \
	$(NULL)

p11_kit_CFLAGS = \
	$(NULL)

p11_kit_LDADD = \
	$(top_builddir)/p11-kit/libp11-kit.la \
	$(top_builddir)/common/libp11-common.la \
	$(LTLIBINTL) \
	$(NULL)

if WITH_ASN1

p11_kit_LDADD += \
	$(top_builddir)/common/libp11-data.la \
	$(LIBTASN1_LIBS)

p11_kit_CFLAGS += \
	$(LIBTASN1_CFLAGS)

p11_kit_SOURCES += \
	extract.c extract.h \
	extract-info.c \
	extract-jks.c \
	extract-openssl.c \
	extract-pem.c \
	extract-x509.c \
	save.c save.h \
	$(NULL)

endif # WITH_ASN1