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