added revcation stuff and fixed a couple of bugs
[gnupg.git] / g10 / Makefile.in
1 # Makefile.in generated automatically by automake 1.2d from Makefile.am
2
3 # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
7
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
12
13
14 SHELL = /bin/sh
15
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 VPATH = @srcdir@
19 prefix = @prefix@
20 exec_prefix = @exec_prefix@
21
22 bindir = @bindir@
23 sbindir = @sbindir@
24 libexecdir = @libexecdir@
25 datadir = @datadir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
29 libdir = @libdir@
30 infodir = @infodir@
31 mandir = @mandir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
34
35 pkgdatadir = $(datadir)/@PACKAGE@
36 pkglibdir = $(libdir)/@PACKAGE@
37 pkgincludedir = $(includedir)/@PACKAGE@
38
39 top_builddir = ..
40
41 ACLOCAL = @ACLOCAL@
42 AUTOCONF = @AUTOCONF@
43 AUTOMAKE = @AUTOMAKE@
44 AUTOHEADER = @AUTOHEADER@
45
46 INSTALL = @INSTALL@
47 INSTALL_PROGRAM = @INSTALL_PROGRAM@
48 INSTALL_DATA = @INSTALL_DATA@
49 INSTALL_SCRIPT = @INSTALL_SCRIPT@
50 transform = @program_transform_name@
51
52 NORMAL_INSTALL = :
53 PRE_INSTALL = :
54 POST_INSTALL = :
55 NORMAL_UNINSTALL = :
56 PRE_UNINSTALL = :
57 POST_UNINSTALL = :
58 build_alias = @build_alias@
59 build_triplet = @build@
60 host_alias = @host_alias@
61 host_triplet = @host@
62 target_alias = @target_alias@
63 target_triplet = @target@
64 CATALOGS = @CATALOGS@
65 CATOBJEXT = @CATOBJEXT@
66 CC = @CC@
67 CIPHER_EXTRA_DIST = @CIPHER_EXTRA_DIST@
68 CIPHER_EXTRA_OBJS = @CIPHER_EXTRA_OBJS@
69 CPP = @CPP@
70 DATADIRNAME = @DATADIRNAME@
71 G10_LOCALEDIR = @G10_LOCALEDIR@
72 GENCAT = @GENCAT@
73 GMOFILES = @GMOFILES@
74 GMSGFMT = @GMSGFMT@
75 INSTOBJEXT = @INSTOBJEXT@
76 INTLDEPS = @INTLDEPS@
77 INTLLIBS = @INTLLIBS@
78 INTLOBJS = @INTLOBJS@
79 INTLSUB = @INTLSUB@
80 MPI_EXTRA_ASM_OBJS = @MPI_EXTRA_ASM_OBJS@
81 MSGFMT = @MSGFMT@
82 PACKAGE = @PACKAGE@
83 POFILES = @POFILES@
84 POSUB = @POSUB@
85 RANLIB = @RANLIB@
86 VERSION = @VERSION@
87 ZLIBS = @ZLIBS@
88
89 INCLUDES = -I$(top_srcdir)/include
90 EXTRA_DIST = OPTIONS  pubring.asc
91 needed_libs = ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a
92
93 bin_PROGRAMS = g10 g10maint
94
95 common_source =  \
96               build-packet.c    \
97               compress.c        \
98               filter.h          \
99               free-packet.c     \
100               getkey.c          \
101               keydb.h           \
102               pkclist.c         \
103               skclist.c         \
104               ringedit.c        \
105               kbnode.c          \
106               main.h            \
107               mainproc.c        \
108               armor.c           \
109               mdfilter.c        \
110               textfilter.c      \
111               cipher.c          \
112               elg.c             \
113               rsa.c             \
114               options.h         \
115               openfile.c        \
116               keyid.c           \
117               trustdb.c         \
118               trustdb.h         \
119               packet.h          \
120               parse-packet.c    \
121               passphrase.c      \
122               pubkey-enc.c      \
123               seckey-cert.c     \
124               seskey.c          \
125               import.c          \
126               export.c          \
127               comment.c         \
128               status.c          \
129               status.h          \
130               sign.c            \
131               plaintext.c       \
132               encr-data.c       \
133               encode.c          \
134               revoke.c          \
135               sig-check.c
136
137 g10_SOURCES  = g10.c            \
138               $(common_source)  \
139               keygen.c
140
141 g10maint_SOURCES = g10maint.c   \
142               dearmor.c         \
143               $(common_source)
144
145 LDADD = @INTLLIBS@ $(needed_libs) @ZLIBS@
146 mkinstalldirs = $(SHELL) $(top_srcdir)/scripts/mkinstalldirs
147 CONFIG_HEADER = ../config.h
148 CONFIG_CLEAN_FILES = 
149 PROGRAMS =  $(bin_PROGRAMS)
150
151
152 DEFS = @DEFS@ -I. -I$(srcdir) -I..
153 CPPFLAGS = @CPPFLAGS@
154 LDFLAGS = @LDFLAGS@
155 LIBS = @LIBS@
156 g10_OBJECTS =  g10.o build-packet.o compress.o free-packet.o getkey.o \
157 pkclist.o skclist.o ringedit.o kbnode.o mainproc.o armor.o mdfilter.o \
158 textfilter.o cipher.o elg.o rsa.o openfile.o keyid.o trustdb.o \
159 parse-packet.o passphrase.o pubkey-enc.o seckey-cert.o seskey.o \
160 import.o export.o comment.o status.o sign.o plaintext.o encr-data.o \
161 encode.o revoke.o sig-check.o keygen.o
162 g10_LDADD = $(LDADD)
163 g10_DEPENDENCIES =  ../cipher/libcipher.a ../mpi/libmpi.a \
164 ../util/libutil.a
165 g10_LDFLAGS = 
166 g10maint_OBJECTS =  g10maint.o dearmor.o build-packet.o compress.o \
167 free-packet.o getkey.o pkclist.o skclist.o ringedit.o kbnode.o \
168 mainproc.o armor.o mdfilter.o textfilter.o cipher.o elg.o rsa.o \
169 openfile.o keyid.o trustdb.o parse-packet.o passphrase.o pubkey-enc.o \
170 seckey-cert.o seskey.o import.o export.o comment.o status.o sign.o \
171 plaintext.o encr-data.o encode.o revoke.o sig-check.o
172 g10maint_LDADD = $(LDADD)
173 g10maint_DEPENDENCIES =  ../cipher/libcipher.a ../mpi/libmpi.a \
174 ../util/libutil.a
175 g10maint_LDFLAGS = 
176 CFLAGS = @CFLAGS@
177 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
178 LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
179 DIST_COMMON =  ChangeLog Makefile.am Makefile.in
180
181
182 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
183
184 TAR = tar
185 GZIP = --best
186 DEP_FILES =  .deps/armor.P .deps/build-packet.P .deps/cipher.P \
187 .deps/comment.P .deps/compress.P .deps/dearmor.P .deps/elg.P \
188 .deps/encode.P .deps/encr-data.P .deps/export.P .deps/free-packet.P \
189 .deps/g10.P .deps/g10maint.P .deps/getkey.P .deps/import.P \
190 .deps/kbnode.P .deps/keygen.P .deps/keyid.P .deps/mainproc.P \
191 .deps/mdfilter.P .deps/openfile.P .deps/parse-packet.P \
192 .deps/passphrase.P .deps/pkclist.P .deps/plaintext.P .deps/pubkey-enc.P \
193 .deps/revoke.P .deps/ringedit.P .deps/rsa.P .deps/seckey-cert.P \
194 .deps/seskey.P .deps/sig-check.P .deps/sign.P .deps/skclist.P \
195 .deps/status.P .deps/textfilter.P .deps/trustdb.P
196 SOURCES = $(g10_SOURCES) $(g10maint_SOURCES)
197 OBJECTS = $(g10_OBJECTS) $(g10maint_OBJECTS)
198
199 default: all
200
201 .SUFFIXES:
202 .SUFFIXES: .S .c .o .s
203 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
204         cd $(top_srcdir) && $(AUTOMAKE) --gnu g10/Makefile
205
206 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
207         cd $(top_builddir) \
208           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
209
210
211 mostlyclean-binPROGRAMS:
212
213 clean-binPROGRAMS:
214         -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
215
216 distclean-binPROGRAMS:
217
218 maintainer-clean-binPROGRAMS:
219
220 install-binPROGRAMS: $(bin_PROGRAMS)
221         @$(NORMAL_INSTALL)
222         $(mkinstalldirs) $(bindir)
223         @list='$(bin_PROGRAMS)'; for p in $$list; do \
224           if test -f $$p; then \
225             echo "  $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`"; \
226              $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
227           else :; fi; \
228         done
229
230 uninstall-binPROGRAMS:
231         $(NORMAL_UNINSTALL)
232         list='$(bin_PROGRAMS)'; for p in $$list; do \
233           rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
234         done
235
236 .c.o:
237         $(COMPILE) -c $<
238
239 .s.o:
240         $(COMPILE) -c $<
241
242 .S.o:
243         $(COMPILE) -c $<
244
245 mostlyclean-compile:
246         -rm -f *.o core
247
248 clean-compile:
249
250 distclean-compile:
251         -rm -f *.tab.c
252
253 maintainer-clean-compile:
254
255 g10: $(g10_OBJECTS) $(g10_DEPENDENCIES)
256         @rm -f g10
257         $(LINK) $(g10_LDFLAGS) $(g10_OBJECTS) $(g10_LDADD) $(LIBS)
258
259 g10maint: $(g10maint_OBJECTS) $(g10maint_DEPENDENCIES)
260         @rm -f g10maint
261         $(LINK) $(g10maint_LDFLAGS) $(g10maint_OBJECTS) $(g10maint_LDADD) $(LIBS)
262
263 tags: TAGS
264
265 ID: $(HEADERS) $(SOURCES) $(LISP)
266         here=`pwd` && cd $(srcdir) \
267           && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
268
269 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
270         tags=; \
271         here=`pwd`; \
272         test -z "$(ETAGS_ARGS)$(SOURCES)$(HEADERS)$(LISP)$$tags" \
273           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $(SOURCES) $(HEADERS) $(LISP) -o $$here/TAGS)
274
275 mostlyclean-tags:
276
277 clean-tags:
278
279 distclean-tags:
280         -rm -f TAGS ID
281
282 maintainer-clean-tags:
283
284 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
285
286 subdir = g10
287
288 distdir: $(DISTFILES)
289         here=`cd $(top_builddir) && pwd`; \
290         top_distdir=`cd $(top_distdir) && pwd`; \
291         distdir=`cd $(distdir) && pwd`; \
292         cd $(top_srcdir) \
293           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu g10/Makefile
294         @for file in $(DISTFILES); do \
295           d=$(srcdir); \
296           test -f $(distdir)/$$file \
297           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
298           || cp -p $$d/$$file $(distdir)/$$file; \
299         done
300
301 MKDEP = $(CC) -M $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
302
303 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
304 -include .deps/.P
305 .deps/.P: $(BUILT_SOURCES)
306         echo > $@
307
308 -include $(DEP_FILES)
309
310 mostlyclean-depend:
311
312 clean-depend:
313
314 distclean-depend:
315
316 maintainer-clean-depend:
317         -rm -rf .deps
318
319 .deps/%.P: %.c
320         @echo "Computing dependencies for $<..."
321         @o='o'; \
322         test -n "$o" && o='$$o'; \
323         $(MKDEP) $< >$@.tmp \
324           && sed "s,^\(.*\)\.o:,\1.$$o \1.l$$o $@:," < $@.tmp > $@ \
325           && rm -f $@.tmp
326 info:
327 dvi:
328 check: all
329         $(MAKE)
330 installcheck:
331 install-exec: install-binPROGRAMS
332         @$(NORMAL_INSTALL)
333
334 install-data: 
335         @$(NORMAL_INSTALL)
336
337 install: install-exec install-data all
338         @:
339
340 uninstall: uninstall-binPROGRAMS
341
342 all: Makefile $(PROGRAMS)
343
344 install-strip:
345         $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
346 installdirs:
347         $(mkinstalldirs)  $(bindir)
348
349
350 mostlyclean-generic:
351         -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
352
353 clean-generic:
354         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
355
356 distclean-generic:
357         -rm -f Makefile $(DISTCLEANFILES)
358         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
359         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
360
361 maintainer-clean-generic:
362         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
363         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
364 mostlyclean:  mostlyclean-binPROGRAMS mostlyclean-compile \
365                 mostlyclean-tags mostlyclean-depend mostlyclean-generic
366
367 clean:  clean-binPROGRAMS clean-compile clean-tags clean-depend \
368                 clean-generic mostlyclean
369
370 distclean:  distclean-binPROGRAMS distclean-compile distclean-tags \
371                 distclean-depend distclean-generic clean
372         -rm -f config.status
373
374 maintainer-clean:  maintainer-clean-binPROGRAMS maintainer-clean-compile \
375                 maintainer-clean-tags maintainer-clean-depend \
376                 maintainer-clean-generic distclean
377         @echo "This command is intended for maintainers to use;"
378         @echo "it deletes files that may require special tools to rebuild."
379
380 .PHONY: default mostlyclean-binPROGRAMS distclean-binPROGRAMS \
381 clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
382 install-binPROGRAMS mostlyclean-compile distclean-compile clean-compile \
383 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
384 clean-tags maintainer-clean-tags distdir mostlyclean-depend \
385 distclean-depend clean-depend maintainer-clean-depend info dvi \
386 installcheck install-exec install-data install uninstall all \
387 installdirs mostlyclean-generic distclean-generic clean-generic \
388 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
389
390
391 $(PROGRAMS): $(needed_libs)
392
393 # Tell versions [3.59,3.63) of GNU make to not export all variables.
394 # Otherwise a system limit (for SysV at least) may be exceeded.
395 .NOEXPORT: