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