ba9ca29dfb1cee149dbec1bf2d394bae276e72f1
[gnupg.git] / g10 / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/intl -I../intl
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 gpgd
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               dsa.c             \
29               rsa.c             \
30               misc.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               signal.c
55
56 gpg_SOURCES  = g10.c            \
57               $(common_source)  \
58               verify.c          \
59               decrypt.c         \
60               keygen.c
61
62
63 gpgm_SOURCES = dearmor.c     \
64               $(common_source)
65
66 gpgd_SOURCES = gpgd.c \
67               $(common_source)
68
69
70 LDADD = @INTLLIBS@ $(needed_libs) @ZLIBS@
71
72 gpgm_LDADD = g10maint.o $(LDADD)
73
74 g10maint.o: g10.c
75         $(COMPILE) -DIS_G10MAINT  -o g10maint.o -c g10.c
76
77
78 $(PROGRAMS): $(needed_libs)
79