started with keyserver
[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 BUILT_SOURCES = g10maint.c
7 needed_libs = ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a
8
9 bin_PROGRAMS = gpg gpgm gpgd
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               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 = g10maint.c   \
64               dearmor.c     \
65               $(common_source)
66
67 gpgd_SOURCES = gpgd.c \
68               $(common_source)
69
70
71 LDADD = @INTLLIBS@ $(needed_libs) @ZLIBS@
72
73 g10maint.c : g10.c
74             $(CPP) $(CFLAGS) $(DEFS) $(INCLUDES) -DIS_G10MAINT $< > $@ || rm $@
75
76 $(PROGRAMS): $(needed_libs)
77