changed trustdb design
[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 LDFLAGS = @LDFLAGS@ @DYNLINK_LDFLAGS@
7 needed_libs = ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a
8
9 #noinst_PROGRAMS = gpgd
10 bin_PROGRAMS = gpg gpgm
11
12 common_source =  \
13               build-packet.c    \
14               compress.c        \
15               filter.h          \
16               free-packet.c     \
17               getkey.c          \
18               keydb.h           \
19               pkclist.c         \
20               skclist.c         \
21               ringedit.c        \
22               kbnode.c          \
23               main.h            \
24               mainproc.c        \
25               armor.c           \
26               mdfilter.c        \
27               textfilter.c      \
28               cipher.c          \
29               misc.c            \
30               options.h         \
31               openfile.c        \
32               keyid.c           \
33               trustdb.c         \
34               trustdb.h         \
35               tdbio.c           \
36               tdbio.h           \
37               pref.h            \
38               pref.c            \
39               packet.h          \
40               parse-packet.c    \
41               passphrase.c      \
42               pubkey-enc.c      \
43               seckey-cert.c     \
44               seskey.c          \
45               import.c          \
46               export.c          \
47               comment.c         \
48               status.c          \
49               status.h          \
50               sign.c            \
51               keyedit.c         \
52               plaintext.c       \
53               encr-data.c       \
54               encode.c          \
55               revoke.c          \
56               keylist.c         \
57               sig-check.c       \
58               signal.c
59
60 gpg_SOURCES  = g10.c            \
61               $(common_source)  \
62               verify.c          \
63               decrypt.c         \
64               keygen.c
65
66
67 gpgm_SOURCES = dearmor.c     \
68               $(common_source)
69
70 #gpgd_SOURCES = gpgd.c \
71 #              ks-proto.h \
72 #              ks-proto.c \
73 #              $(common_source)
74
75
76 LDADD = @INTLLIBS@ $(needed_libs) @ZLIBS@
77
78 gpgm_LDADD = g10maint.o $(LDADD)
79
80 g10maint.o: g10.c
81         $(COMPILE) -DIS_G10MAINT  -o g10maint.o -c g10.c
82
83
84 $(PROGRAMS): $(needed_libs)
85