vor muenchen
[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               keyedit.c         \
49               plaintext.c       \
50               encr-data.c       \
51               encode.c          \
52               revoke.c          \
53               keylist.c         \
54               sig-check.c       \
55               signal.c
56
57 gpg_SOURCES  = g10.c            \
58               $(common_source)  \
59               verify.c          \
60               decrypt.c         \
61               keygen.c
62
63
64 gpgm_SOURCES = dearmor.c     \
65               $(common_source)
66
67 gpgd_SOURCES = gpgd.c \
68               ks-proto.h \
69               ks-proto.c \
70               $(common_source)
71
72
73 LDADD = @INTLLIBS@ $(needed_libs) @ZLIBS@
74
75 gpgm_LDADD = g10maint.o $(LDADD)
76
77 g10maint.o: g10.c
78         $(COMPILE) -DIS_G10MAINT  -o g10maint.o -c g10.c
79
80
81 $(PROGRAMS): $(needed_libs)
82