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