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