added zlib and reorgnaized some stuff
[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.g10
5 needed_libs = ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a
6
7 bin_PROGRAMS = g10 g10maint
8
9 common_source =  \
10               build-packet.c    \
11               compress.c        \
12               filter.h          \
13               free-packet.c     \
14               getkey.c          \
15               keydb.h           \
16               pkclist.c         \
17               skclist.c         \
18               ringedit.c        \
19               kbnode.c          \
20               main.h            \
21               mainproc.c        \
22               armor.c           \
23               mdfilter.c        \
24               textfilter.c      \
25               cipher.c          \
26               elg.c             \
27               rsa.c             \
28               options.h         \
29               openfile.c        \
30               keyid.c           \
31               trustdb.c         \
32               trustdb.h         \
33               packet.h          \
34               parse-packet.c    \
35               passphrase.c      \
36               pubkey-enc.c      \
37               seckey-cert.c     \
38               seskey.c          \
39               import.c          \
40               export.c          \
41               comment.c         \
42               status.c          \
43               status.h          \
44               sign.c            \
45               plaintext.c       \
46               encr-data.c       \
47               encode.c          \
48               sig-check.c
49
50 g10_SOURCES  = g10.c            \
51               $(common_source)  \
52               keygen.c
53
54
55 g10maint_SOURCES = g10maint.c   \
56               $(common_source)
57
58 LDADD = @INTLLIBS@ $(needed_libs) @ZLIBS@
59
60 $(PROGRAMS): $(needed_libs)
61