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