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