Removed trailing whitespaces in configure.in/Makefile.am
[strongswan.git] / src / scepclient / Makefile.am
1 ipsec_PROGRAMS = scepclient
2 scepclient_SOURCES = scepclient.c pkcs10.c pkcs10.h scep.c scep.h loglite.c
3
4 PLUTODIR=$(top_srcdir)/src/pluto
5 OPENACDIR=$(top_srcdir)/src/openac
6 WHACKDIR=$(top_srcdir)/src/whack
7 LIBFREESWANDIR=$(top_srcdir)/src/libfreeswan
8 LIBSTRONGSWANDIR=$(top_srcdir)/src/libstrongswan
9 LIBCRYPTODIR=$(top_srcdir)/src/libcrypto
10
11 INCLUDES = \
12 -I$(LIBFREESWANDIR) \
13 -I$(LIBSTRONGSWANDIR) \
14 -I$(PLUTODIR) \
15 -I$(LIBCRYPTODIR) \
16 -I$(WHACKDIR)
17
18 AM_CFLAGS = \
19 -DIPSEC_CONFDIR=\"${confdir}\" \
20 -DIPSEC_PLUGINDIR=\"${plugindir}\" \
21 -DPLUGINS=\""${pluto_plugins}\"" \
22 -DSTRONGSWAN_CONF=\"${strongswan_conf}\" \
23 -DDEBUG -DNO_PLUTO
24
25 LIBSTRONGSWANBUILDDIR=$(top_builddir)/src/libstrongswan
26 LIBFREESWANBUILDDIR=$(top_builddir)/src/libfreeswan
27
28 scepclient_LDADD = \
29 ca.o crl.o certs.o constants.o defs.o fetch.o id.o keys.o lex.o \
30 ocsp.o pgpcert.o pkcs7.o smartcard.o x509.o \
31 $(LIBSTRONGSWANBUILDDIR)/libstrongswan.la \
32 $(LIBFREESWANBUILDDIR)/libfreeswan.a
33
34 # This compile option activates smartcard support
35 if USE_SMARTCARD
36   AM_CFLAGS += -DSMARTCARD
37   scepclient_LDADD += $(DLLIB)
38 endif
39
40 dist_man_MANS = scepclient.8
41
42 ca.o :          $(PLUTODIR)/ca.c $(PLUTODIR)/ca.h
43                 $(COMPILE) $(INCLUDES) -c -o $@ $<
44
45 certs.o :       $(PLUTODIR)/certs.c $(PLUTODIR)/certs.h
46                 $(COMPILE) $(INCLUDES) -c -o $@ $<
47
48 constants.o :   $(PLUTODIR)/constants.c $(PLUTODIR)/constants.h
49                 $(COMPILE) $(INCLUDES) -c -o $@ $<
50
51 crl.o :         $(PLUTODIR)/crl.c $(PLUTODIR)/crl.h
52                 $(COMPILE) $(INCLUDES) -c -o $@ $<
53
54 defs.o :        $(PLUTODIR)/defs.c $(PLUTODIR)/defs.h
55                 $(COMPILE) $(INCLUDES) -c -o $@ $<
56
57 fetch.o :       $(PLUTODIR)/fetch.c $(PLUTODIR)/fetch.h
58                 $(COMPILE) $(INCLUDES) -c -o $@ $<
59
60 id.o :          $(PLUTODIR)/id.c $(PLUTODIR)/id.h
61                 $(COMPILE) $(INCLUDES) -c -o $@ $<
62
63 keys.o :        $(PLUTODIR)/keys.c $(PLUTODIR)/keys.h
64                 $(COMPILE) $(INCLUDES) -c -o $@ $<
65
66 lex.o :         $(PLUTODIR)/lex.c $(PLUTODIR)/lex.h
67                 $(COMPILE) $(INCLUDES) -c -o $@ $<
68
69 ocsp.o :        $(PLUTODIR)/ocsp.c $(PLUTODIR)/ocsp.h
70                 $(COMPILE) $(INCLUDES) -c -o $@ $<
71
72 pgpcert.o :             $(PLUTODIR)/pgpcert.c $(PLUTODIR)/pgpcert.h
73                 $(COMPILE) $(INCLUDES) -c -o $@ $<
74
75 pkcs7.o :       $(PLUTODIR)/pkcs7.c $(PLUTODIR)/pkcs7.h
76                 $(COMPILE) $(INCLUDES) -c -o $@ $<
77
78 smartcard.o :   $(PLUTODIR)/smartcard.c $(PLUTODIR)/smartcard.h
79                 $(COMPILE) $(INCLUDES) -c -o $@ $<
80
81 x509.o :        $(PLUTODIR)/x509.c $(PLUTODIR)/x509.h
82                 $(COMPILE) $(INCLUDES) -c -o $@ $<