added some trust model stuff
[gnupg.git] / g10 / Makefile.in
1 # Makefile.in generated automatically by automake 1.0 from Makefile.am
2
3 # Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy, distribute and modify it.
6
7
8 SHELL = /bin/sh
9
10 srcdir = @srcdir@
11 top_srcdir = @top_srcdir@
12 VPATH = @srcdir@
13 prefix = @prefix@
14 exec_prefix = @exec_prefix@
15
16 bindir = @bindir@
17 sbindir = @sbindir@
18 libexecdir = @libexecdir@
19 datadir = @datadir@
20 sysconfdir = @sysconfdir@
21 sharedstatedir = @sharedstatedir@
22 localstatedir = @localstatedir@
23 libdir = @libdir@
24 infodir = @infodir@
25 mandir = @mandir@
26 includedir = @includedir@
27 oldincludedir = /usr/include
28
29 pkgdatadir = $(datadir)/@PACKAGE@
30 pkglibdir = $(libdir)/@PACKAGE@
31 pkgincludedir = $(includedir)/@PACKAGE@
32
33 top_builddir = ..
34
35 INSTALL = @INSTALL@
36 INSTALL_PROGRAM = @INSTALL_PROGRAM@
37 INSTALL_DATA = @INSTALL_DATA@
38 INSTALL_SCRIPT = @INSTALL_SCRIPT@
39 transform = @program_transform_name@
40
41 INCLUDES = -I$(top_srcdir)/include
42 EXTRA_DIST = OPTIONS
43
44 bin_PROGRAMS = g10
45
46 g10_SOURCES = g10.c             \
47               build-packet.c    \
48               compress.c        \
49               encode.c          \
50               encr-data.c       \
51               filter.h          \
52               free-packet.c     \
53               getkey.c          \
54               keydb.h           \
55               pkclist.c         \
56               skclist.c         \
57               ringedit.c        \
58               kbnode.c          \
59               keygen.c          \
60               main.h            \
61               mainproc.c        \
62               armor.c           \
63               mdfilter.c        \
64               textfilter.c      \
65               cipher.c          \
66               elg.c             \
67               rsa.c             \
68               options.h         \
69               openfile.c        \
70               keyid.c           \
71               trustdb.c         \
72               trustdb.h         \
73               packet.h          \
74               parse-packet.c    \
75               passphrase.c      \
76               plaintext.c       \
77               pubkey-enc.c      \
78               seckey-cert.c     \
79               seskey.c          \
80               sign.c            \
81               import.c          \
82               comment.c         \
83               sig-check.c
84
85 LDADD = -L ../cipher -L ../mpi -L ../util -lcipher -lmpi -lutil
86 mkinstalldirs = $(top_srcdir)/scripts/mkinstalldirs
87 CONFIG_HEADER = ../config.h
88 PROGRAMS = $(bin_PROGRAMS)
89
90
91 CC = @CC@
92 LEX = @LEX@
93 YACC = @YACC@
94
95 DEFS = @DEFS@ -I. -I$(srcdir) -I..
96 CPPFLAGS = @CPPFLAGS@
97 CFLAGS = @CFLAGS@
98 LDFLAGS = @LDFLAGS@
99 LIBS = @LIBS@
100
101 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
102 LINK = $(CC) $(LDFLAGS) -o $@
103 g10_OBJECTS = g10.o build-packet.o compress.o encode.o encr-data.o \
104 free-packet.o getkey.o pkclist.o skclist.o ringedit.o kbnode.o keygen.o \
105 mainproc.o armor.o mdfilter.o textfilter.o cipher.o elg.o rsa.o \
106 openfile.o keyid.o trustdb.o parse-packet.o passphrase.o plaintext.o \
107 pubkey-enc.o seckey-cert.o seskey.o sign.o import.o comment.o \
108 sig-check.o
109 EXTRA_g10_SOURCES =
110 g10_LDADD = $(LDADD)
111 DIST_COMMON = Makefile.am Makefile.in
112
113
114 PACKAGE = @PACKAGE@
115 VERSION = @VERSION@
116
117 DISTFILES = $(DIST_COMMON) $(SOURCES) $(BUILT_SOURCES) $(HEADERS) \
118         $(TEXINFOS) $(INFOS) $(MANS) $(EXTRA_DIST) $(DATA)
119 DEP_DISTFILES = $(DIST_COMMON) $(SOURCES) $(BUILT_SOURCES) $(HEADERS) \
120         $(TEXINFOS) $(INFO_DEPS) $(MANS) $(EXTRA_DIST) $(DATA)
121
122 TAR = tar
123 DEP_FILES = $(srcdir)/.deps/armor.P $(srcdir)/.deps/build-packet.P \
124 $(srcdir)/.deps/cipher.P $(srcdir)/.deps/comment.P \
125 $(srcdir)/.deps/compress.P $(srcdir)/.deps/elg.P \
126 $(srcdir)/.deps/encode.P $(srcdir)/.deps/encr-data.P \
127 $(srcdir)/.deps/free-packet.P $(srcdir)/.deps/g10.P \
128 $(srcdir)/.deps/getkey.P $(srcdir)/.deps/import.P \
129 $(srcdir)/.deps/kbnode.P $(srcdir)/.deps/keygen.P \
130 $(srcdir)/.deps/keyid.P $(srcdir)/.deps/mainproc.P \
131 $(srcdir)/.deps/mdfilter.P $(srcdir)/.deps/openfile.P \
132 $(srcdir)/.deps/parse-packet.P $(srcdir)/.deps/passphrase.P \
133 $(srcdir)/.deps/pkclist.P $(srcdir)/.deps/plaintext.P \
134 $(srcdir)/.deps/pubkey-enc.P $(srcdir)/.deps/ringedit.P \
135 $(srcdir)/.deps/rsa.P $(srcdir)/.deps/seckey-cert.P \
136 $(srcdir)/.deps/seskey.P $(srcdir)/.deps/sig-check.P \
137 $(srcdir)/.deps/sign.P $(srcdir)/.deps/skclist.P \
138 $(srcdir)/.deps/textfilter.P $(srcdir)/.deps/trustdb.P
139 SOURCES = $(g10_SOURCES)
140 OBJECTS = $(g10_OBJECTS)
141
142 default: all
143
144
145 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in
146         cd $(top_srcdir) && automake $(subdir)/Makefile
147
148 Makefile: $(top_builddir)/config.status Makefile.in
149         cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
150
151 mostlyclean-binPROGRAMS:
152
153 clean-binPROGRAMS:
154         rm -f $(bin_PROGRAMS)
155
156 distclean-binPROGRAMS:
157
158 maintainer-clean-binPROGRAMS:
159
160 install-binPROGRAMS: $(bin_PROGRAMS)
161         $(mkinstalldirs) $(bindir)
162         list="$(bin_PROGRAMS)"; for p in $$list; do \
163           if test -f $$p; then \
164             $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
165           else :; fi; \
166         done
167
168 uninstall-binPROGRAMS:
169         list="$(bin_PROGRAMS)"; for p in $$list; do \
170           rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
171         done
172
173 .c.o:
174         $(COMPILE) $<
175
176 mostlyclean-compile:
177         rm -f *.o core
178
179 clean-compile:
180
181 distclean-compile:
182         rm -f *.tab.c
183
184 maintainer-clean-compile:
185 $(g10_OBJECTS): ../config.h
186
187 g10: $(g10_OBJECTS) $(g10_DEPENDENCIES)
188         $(LINK) $(g10_OBJECTS) $(g10_LDADD) $(LIBS)
189
190 ID: $(HEADERS) $(SOURCES)
191         here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS)
192
193 tags: TAGS
194
195 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES)
196         here=`pwd` && cd $(srcdir) && etags $(ETAGS_ARGS) $(SOURCES) $(HEADERS) -o $$here/TAGS
197
198 mostlyclean-tags:
199
200 clean-tags:
201
202 distclean-tags:
203         rm -f TAGS ID
204
205 maintainer-clean-tags:
206
207 subdir = g10
208 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
209 distdir: $(DEP_DISTFILES)
210         @for file in `cd $(srcdir) && echo $(DISTFILES)`; do \
211           test -f $(distdir)/$$file \
212           || ln $(srcdir)/$$file $(distdir)/$$file 2> /dev/null \
213           || cp -p $(srcdir)/$$file $(distdir)/$$file; \
214         done
215
216 # This fragment is probably only useful for maintainers.  It relies on
217 # GNU make and gcc.  It is only included in the generated Makefile.in
218 # if `automake' is not passed the `--include-deps' flag.
219
220 MKDEP = gcc -MM $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
221
222 -include $(srcdir)/.deps/.P
223 $(srcdir)/.deps/.P: $(BUILT_SOURCES)
224         cd $(srcdir) && test -d .deps || mkdir .deps
225         echo > $@
226
227 -include $(DEP_FILES)
228 $(DEP_FILES): $(srcdir)/.deps/.P
229
230 $(srcdir)/.deps/%.P: $(srcdir)/%.c
231         @echo "mkdeps $< > $@"
232         @re=`echo 's,^$(srcdir)//*,,g;s, $(srcdir)//*, ,g' | sed 's,\.,\\\\.,g'`; \
233           $(MKDEP) $< | sed "$$re" > $@-tmp
234         @if test -n "$o"; then                  \
235           sed 's/\.o:/$$o:/' $@-tmp > $@;       \
236           rm $@-tmp;                            \
237         else                                    \
238           mv $@-tmp $@;                         \
239         fi
240
241 # End of maintainer-only section
242 info:
243
244 dvi:
245
246 check: all
247
248 installcheck:
249
250 install-exec: install-binPROGRAMS
251
252 install-data: 
253
254 install: install-exec install-data all
255         @:
256
257 uninstall: uninstall-binPROGRAMS
258
259 all: $(PROGRAMS) Makefile
260
261 install-strip:
262         $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
263 installdirs:
264         $(mkinstalldirs)  $(bindir)
265
266
267 mostlyclean-generic:
268         test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
269
270 clean-generic:
271         test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
272
273 distclean-generic:
274         rm -f Makefile $(DISTCLEANFILES)
275         rm -f config.cache config.log $(CONFIG_HEADER) stamp-h
276
277 maintainer-clean-generic:
278         test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
279         test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
280 mostlyclean:  mostlyclean-binPROGRAMS mostlyclean-compile \
281                 mostlyclean-tags mostlyclean-generic
282
283 clean:  clean-binPROGRAMS clean-compile clean-tags clean-generic \
284                 mostlyclean 
285
286 distclean:  distclean-binPROGRAMS distclean-compile distclean-tags \
287                 distclean-generic clean 
288         rm -f config.status
289
290 maintainer-clean:  maintainer-clean-binPROGRAMS maintainer-clean-compile \
291                 maintainer-clean-tags maintainer-clean-generic \
292                 distclean 
293         @echo "This command is intended for maintainers to use;"
294         @echo "it deletes files that may require special tools to rebuild."
295
296 .PHONY: default mostlyclean-binPROGRAMS distclean-binPROGRAMS \
297 clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
298 install-binPROGRAMS mostlyclean-compile distclean-compile clean-compile \
299 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
300 clean-tags maintainer-clean-tags distdir info dvi check installcheck \
301 install-exec install-data install uninstall all installdirs \
302 mostlyclean-generic distclean-generic clean-generic \
303 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
304
305
306 $(PROGRAMS): ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a
307 .SUFFIXES:
308 .SUFFIXES: .c .o
309
310 # Tell versions [3.59,3.63) of GNU make to not export all variables.
311 # Otherwise a system limit (for SysV at least) may be exceeded.
312 .NOEXPORT: