Fixed a few 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 HAVE_ZLIB_H = @HAVE_ZLIB_H@
76 INSTOBJEXT = @INSTOBJEXT@
77 INTLDEPS = @INTLDEPS@
78 INTLLIBS = @INTLLIBS@
79 INTLOBJS = @INTLOBJS@
80 INTLSUB = @INTLSUB@
81 MPI_EXTRA_ASM_OBJS = @MPI_EXTRA_ASM_OBJS@
82 MSGFMT = @MSGFMT@
83 PACKAGE = @PACKAGE@
84 POFILES = @POFILES@
85 POSUB = @POSUB@
86 RANLIB = @RANLIB@
87 VERSION = @VERSION@
88
89 INCLUDES = -I.. -I$(top_srcdir)/include
90 EXTRA_DIST = OPTIONS
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               sig-check.c
135
136 g10_SOURCES  = g10.c            \
137               $(common_source)  \
138               keygen.c
139
140 g10maint_SOURCES = g10maint.c   \
141               $(common_source)
142
143 LDADD = $(needed_libs)
144 mkinstalldirs = $(SHELL) $(top_srcdir)/scripts/mkinstalldirs
145 CONFIG_HEADER = ../config.h
146 CONFIG_CLEAN_FILES = 
147 PROGRAMS =  $(bin_PROGRAMS)
148
149
150 DEFS = @DEFS@ -I. -I$(srcdir) -I..
151 CPPFLAGS = @CPPFLAGS@
152 LDFLAGS = @LDFLAGS@
153 LIBS = @LIBS@
154 g10_OBJECTS =  g10.o build-packet.o compress.o free-packet.o getkey.o \
155 pkclist.o skclist.o ringedit.o kbnode.o mainproc.o armor.o mdfilter.o \
156 textfilter.o cipher.o elg.o rsa.o openfile.o keyid.o trustdb.o \
157 parse-packet.o passphrase.o pubkey-enc.o seckey-cert.o seskey.o \
158 import.o export.o comment.o status.o sign.o plaintext.o encr-data.o \
159 encode.o sig-check.o keygen.o
160 g10_LDADD = $(LDADD)
161 g10_DEPENDENCIES =  ../cipher/libcipher.a ../mpi/libmpi.a \
162 ../util/libutil.a
163 g10_LDFLAGS = 
164 g10maint_OBJECTS =  g10maint.o build-packet.o compress.o free-packet.o \
165 getkey.o pkclist.o skclist.o ringedit.o kbnode.o mainproc.o armor.o \
166 mdfilter.o textfilter.o cipher.o elg.o rsa.o openfile.o keyid.o \
167 trustdb.o parse-packet.o passphrase.o pubkey-enc.o seckey-cert.o \
168 seskey.o import.o export.o comment.o status.o sign.o plaintext.o \
169 encr-data.o encode.o sig-check.o
170 g10maint_LDADD = $(LDADD)
171 g10maint_DEPENDENCIES =  ../cipher/libcipher.a ../mpi/libmpi.a \
172 ../util/libutil.a
173 g10maint_LDFLAGS = 
174 CFLAGS = @CFLAGS@
175 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
176 LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
177 DIST_COMMON =  Makefile.am Makefile.in
178
179
180 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
181
182 TAR = tar
183 GZIP = --best
184 DEP_FILES =  .deps/armor.P .deps/build-packet.P .deps/cipher.P \
185 .deps/comment.P .deps/compress.P .deps/elg.P .deps/encode.P \
186 .deps/encr-data.P .deps/export.P .deps/free-packet.P .deps/g10.P \
187 .deps/g10maint.P .deps/getkey.P .deps/import.P .deps/kbnode.P \
188 .deps/keygen.P .deps/keyid.P .deps/mainproc.P .deps/mdfilter.P \
189 .deps/openfile.P .deps/parse-packet.P .deps/passphrase.P \
190 .deps/pkclist.P .deps/plaintext.P .deps/pubkey-enc.P .deps/ringedit.P \
191 .deps/rsa.P .deps/seckey-cert.P .deps/seskey.P .deps/sig-check.P \
192 .deps/sign.P .deps/skclist.P .deps/status.P .deps/textfilter.P \
193 .deps/trustdb.P
194 SOURCES = $(g10_SOURCES) $(g10maint_SOURCES)
195 OBJECTS = $(g10_OBJECTS) $(g10maint_OBJECTS)
196
197 default: all
198
199 .SUFFIXES:
200 .SUFFIXES: .S .c .o .s
201 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
202         cd $(top_srcdir) && $(AUTOMAKE) --gnu g10/Makefile
203
204 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
205         cd $(top_builddir) \
206           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
207
208
209 mostlyclean-binPROGRAMS:
210
211 clean-binPROGRAMS:
212         -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
213
214 distclean-binPROGRAMS:
215
216 maintainer-clean-binPROGRAMS:
217
218 install-binPROGRAMS: $(bin_PROGRAMS)
219         @$(NORMAL_INSTALL)
220         $(mkinstalldirs) $(bindir)
221         @list='$(bin_PROGRAMS)'; for p in $$list; do \
222           if test -f $$p; then \
223             echo "  $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`"; \
224              $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
225           else :; fi; \
226         done
227
228 uninstall-binPROGRAMS:
229         $(NORMAL_UNINSTALL)
230         list='$(bin_PROGRAMS)'; for p in $$list; do \
231           rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
232         done
233
234 .c.o:
235         $(COMPILE) -c $<
236
237 .s.o:
238         $(COMPILE) -c $<
239
240 .S.o:
241         $(COMPILE) -c $<
242
243 mostlyclean-compile:
244         -rm -f *.o core
245
246 clean-compile:
247
248 distclean-compile:
249         -rm -f *.tab.c
250
251 maintainer-clean-compile:
252
253 g10: $(g10_OBJECTS) $(g10_DEPENDENCIES)
254         @rm -f g10
255         $(LINK) $(g10_LDFLAGS) $(g10_OBJECTS) $(g10_LDADD) $(LIBS)
256
257 g10maint: $(g10maint_OBJECTS) $(g10maint_DEPENDENCIES)
258         @rm -f g10maint
259         $(LINK) $(g10maint_LDFLAGS) $(g10maint_OBJECTS) $(g10maint_LDADD) $(LIBS)
260
261 tags: TAGS
262
263 ID: $(HEADERS) $(SOURCES) $(LISP)
264         here=`pwd` && cd $(srcdir) \
265           && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
266
267 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
268         tags=; \
269         here=`pwd`; \
270         test -z "$(ETAGS_ARGS)$(SOURCES)$(HEADERS)$(LISP)$$tags" \
271           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $(SOURCES) $(HEADERS) $(LISP) -o $$here/TAGS)
272
273 mostlyclean-tags:
274
275 clean-tags:
276
277 distclean-tags:
278         -rm -f TAGS ID
279
280 maintainer-clean-tags:
281
282 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
283
284 subdir = g10
285
286 distdir: $(DISTFILES)
287         here=`cd $(top_builddir) && pwd`; \
288         top_distdir=`cd $(top_distdir) && pwd`; \
289         distdir=`cd $(distdir) && pwd`; \
290         cd $(top_srcdir) \
291           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu g10/Makefile
292         @for file in $(DISTFILES); do \
293           d=$(srcdir); \
294           test -f $(distdir)/$$file \
295           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
296           || cp -p $$d/$$file $(distdir)/$$file; \
297         done
298
299 MKDEP = $(CC) -M $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
300
301 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
302 -include .deps/.P
303 .deps/.P: $(BUILT_SOURCES)
304         echo > $@
305
306 -include $(DEP_FILES)
307
308 mostlyclean-depend:
309
310 clean-depend:
311
312 distclean-depend:
313
314 maintainer-clean-depend:
315         -rm -rf .deps
316
317 .deps/%.P: %.c
318         @echo "Computing dependencies for $<..."
319         @o='o'; \
320         test -n "$o" && o='$$o'; \
321         $(MKDEP) $< >$@.tmp \
322           && sed "s,^\(.*\)\.o:,\1.$$o \1.l$$o $@:," < $@.tmp > $@ \
323           && rm -f $@.tmp
324 info:
325 dvi:
326 check: all
327         $(MAKE)
328 installcheck:
329 install-exec: install-binPROGRAMS
330         @$(NORMAL_INSTALL)
331
332 install-data: 
333         @$(NORMAL_INSTALL)
334
335 install: install-exec install-data all
336         @:
337
338 uninstall: uninstall-binPROGRAMS
339
340 all: Makefile $(PROGRAMS)
341
342 install-strip:
343         $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
344 installdirs:
345         $(mkinstalldirs)  $(bindir)
346
347
348 mostlyclean-generic:
349         -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
350
351 clean-generic:
352         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
353
354 distclean-generic:
355         -rm -f Makefile $(DISTCLEANFILES)
356         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
357         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
358
359 maintainer-clean-generic:
360         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
361         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
362 mostlyclean:  mostlyclean-binPROGRAMS mostlyclean-compile \
363                 mostlyclean-tags mostlyclean-depend mostlyclean-generic
364
365 clean:  clean-binPROGRAMS clean-compile clean-tags clean-depend \
366                 clean-generic mostlyclean
367
368 distclean:  distclean-binPROGRAMS distclean-compile distclean-tags \
369                 distclean-depend distclean-generic clean
370         -rm -f config.status
371
372 maintainer-clean:  maintainer-clean-binPROGRAMS maintainer-clean-compile \
373                 maintainer-clean-tags maintainer-clean-depend \
374                 maintainer-clean-generic distclean
375         @echo "This command is intended for maintainers to use;"
376         @echo "it deletes files that may require special tools to rebuild."
377
378 .PHONY: default mostlyclean-binPROGRAMS distclean-binPROGRAMS \
379 clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
380 install-binPROGRAMS mostlyclean-compile distclean-compile clean-compile \
381 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
382 clean-tags maintainer-clean-tags distdir mostlyclean-depend \
383 distclean-depend clean-depend maintainer-clean-depend info dvi \
384 installcheck install-exec install-data install uninstall all \
385 installdirs mostlyclean-generic distclean-generic clean-generic \
386 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
387
388
389 $(PROGRAMS): $(needed_libs)
390
391 # Tell versions [3.59,3.63) of GNU make to not export all variables.
392 # Otherwise a system limit (for SysV at least) may be exceeded.
393 .NOEXPORT: