*** empty log message ***
[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 noinst_PROGRAMS = gpgd
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               misc.c            \
32               options.h         \
33               openfile.c        \
34               keyid.c           \
35               trustdb.c         \
36               trustdb.h         \
37               packet.h          \
38               parse-packet.c    \
39               passphrase.c      \
40               pubkey-enc.c      \
41               seckey-cert.c     \
42               seskey.c          \
43               import.c          \
44               export.c          \
45               comment.c         \
46               status.c          \
47               status.h          \
48               sign.c            \
49               keyedit.c         \
50               plaintext.c       \
51               encr-data.c       \
52               encode.c          \
53               revoke.c          \
54               keylist.c         \
55               sig-check.c       \
56               signal.c
57
58 gpg_SOURCES  = g10.c            \
59               $(common_source)  \
60               verify.c          \
61               decrypt.c         \
62               keygen.c
63
64
65 gpgm_SOURCES = dearmor.c     \
66               $(common_source)
67
68 gpgd_SOURCES = gpgd.c \
69               ks-proto.h \
70               ks-proto.c \
71               $(common_source)
72
73
74 LDADD = @INTLLIBS@ $(needed_libs) @ZLIBS@
75
76 gpgm_LDADD = g10maint.o $(LDADD)
77
78 g10maint.o: g10.c
79         $(COMPILE) -DIS_G10MAINT  -o g10maint.o -c g10.c
80
81
82 $(PROGRAMS): $(needed_libs)
83