See ChangeLog: Thu May 25 18:39:11 CEST 2000 Werner Koch
[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
4 EXTRA_DIST = OPTIONS  pubring.asc  options.skel
5 OMIT_DEPENDENCIES = zlib.h zconf.h
6 LDFLAGS = -static @LDFLAGS@ @DYNLINK_LDFLAGS@
7 # we need to add libutil.la a second time because we have to resolve
8 # gpg_log_ in some libjnlib modules. - very ugly - should be removed soon.
9 needed_libs = ../util/libutil.la ../gcrypt/libgcrypt.la ../jnlib/libjnlib.la ../util/libutil.la
10
11 #noinst_PROGRAMS = gpgd
12 bin_PROGRAMS = gpg  kbxutil
13
14 common_source =  \
15               build-packet.c    \
16               compress.c        \
17               basicdefs.h       \
18               filter.h          \
19               free-packet.c     \
20               getkey.c          \
21               keydb.h           \
22               delkey.c          \
23               pkclist.c         \
24               skclist.c         \
25               ringedit.c        \
26               kbnode.c          \
27               kbx.h             \
28               kbxblob.c         \
29               kbxio.c           \
30               kbxfile.c         \
31               main.h            \
32               mainproc.c        \
33               armor.c           \
34               mdfilter.c        \
35               textfilter.c      \
36               cipher.c          \
37               misc.c            \
38               options.h         \
39               openfile.c        \
40               keyid.c           \
41               trustdb.c         \
42               trustdb.h         \
43               tdbdump.c         \
44               tdbio.c           \
45               tdbio.h           \
46               hkp.h             \
47               hkp.c             \
48               packet.h          \
49               parse-packet.c    \
50               passphrase.c      \
51               pubkey-enc.c      \
52               seckey-cert.c     \
53               seskey.c          \
54               import.c          \
55               export.c          \
56               comment.c         \
57               status.c          \
58               status.h          \
59               sign.c            \
60               plaintext.c       \
61               encr-data.c       \
62               encode.c          \
63               revoke.c          \
64               keylist.c         \
65               sig-check.c       \
66               signal.c          \
67               helptext.c
68
69 gpg_SOURCES  = gpg.c            \
70               $(common_source)  \
71               verify.c          \
72               decrypt.c         \
73               keyedit.c         \
74               dearmor.c         \
75               keygen.c
76
77 # fixme: remove unused sources from kbxutil
78 kbxutil_SOURCES = kbxutil.c   \
79               $(common_source)
80
81
82 #gpgd_SOURCES = gpgd.c \
83 #              ks-proto.h \
84 #              ks-proto.c \
85 #              ks-db.c \
86 #              ks-db.h \
87 #              $(common_source)
88
89
90 LDADD =  $(needed_libs) @ZLIBS@ @INTLLIBS@
91
92
93 $(PROGRAMS): $(needed_libs)
94
95
96 install-data-local:
97         $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
98         $(INSTALL_DATA) $(srcdir)/options.skel \
99                                 $(DESTDIR)$(pkgdatadir)/options.skel
100