partial DSA support
[gnupg.git] / g10 / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 INCLUDES = -I$(top_srcdir)/include
4 EXTRA_DIST = OPTIONS  pubring.asc
5 OMIT_DEPENDENCIES = zlib.h zconf.h
6 BUILT_SOURCES = g10maint.c
7 needed_libs = ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a
8
9 bin_PROGRAMS = gpg gpgm
10
11 common_source =  \
12               build-packet.c    \
13               compress.c        \
14               filter.h          \
15               free-packet.c     \
16               getkey.c          \
17               keydb.h           \
18               pkclist.c         \
19               skclist.c         \
20               ringedit.c        \
21               kbnode.c          \
22               main.h            \
23               mainproc.c        \
24               armor.c           \
25               mdfilter.c        \
26               textfilter.c      \
27               cipher.c          \
28               elg.c             \
29               dsa.c             \
30               rsa.c             \
31               options.h         \
32               openfile.c        \
33               keyid.c           \
34               trustdb.c         \
35               trustdb.h         \
36               packet.h          \
37               parse-packet.c    \
38               passphrase.c      \
39               pubkey-enc.c      \
40               seckey-cert.c     \
41               seskey.c          \
42               import.c          \
43               export.c          \
44               comment.c         \
45               status.c          \
46               status.h          \
47               sign.c            \
48               plaintext.c       \
49               encr-data.c       \
50               encode.c          \
51               revoke.c          \
52               keylist.c         \
53               sig-check.c
54
55 gpg_SOURCES  = g10.c            \
56               $(common_source)  \
57               verify.c          \
58               decrypt.c         \
59               keygen.c
60
61
62 gpgm_SOURCES = g10maint.c   \
63               dearmor.c     \
64               $(common_source)
65
66 LDADD = @INTLLIBS@ $(needed_libs) @ZLIBS@
67
68 g10maint.c : g10.c
69             $(CPP) $(DEFS) $(INCLUDES) -DIS_G10MAINT  $<  > $@ || rm $@
70
71 $(PROGRAMS): $(needed_libs)
72