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