Output armor works, RSA keygen works.
[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
43 bin_PROGRAMS = g10
44
45 g10_SOURCES = g10.c             \
46               build-packet.c    \
47               compressed.c      \
48               encode.c          \
49               encr-data.c       \
50               filter.h          \
51               free-packet.c     \
52               getkey.c          \
53               keydb.h           \
54               keygen.c          \
55               main.h            \
56               mainproc.c        \
57               mdfilter.c        \
58               options.h         \
59               overwrite.c       \
60               packet.h          \
61               parse-packet.c    \
62               passphrase.c      \
63               plaintext.c       \
64               pubkey-enc.c      \
65               seckey-cert.c     \
66               seskey.c          \
67               sig-check.c
68
69 LDADD = -L ../cipher -L ../mpi -L ../util -lcipher -lmpi -lutil
70 mkinstalldirs = $(top_srcdir)/scripts/mkinstalldirs
71 CONFIG_HEADER = ../config.h
72 PROGRAMS = $(bin_PROGRAMS)
73
74
75 CC = @CC@
76 LEX = @LEX@
77 YACC = @YACC@
78
79 DEFS = @DEFS@ -I. -I$(srcdir) -I..
80 CPPFLAGS = @CPPFLAGS@
81 CFLAGS = @CFLAGS@
82 LDFLAGS = @LDFLAGS@
83 LIBS = @LIBS@
84
85 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
86 LINK = $(CC) $(LDFLAGS) -o $@
87 g10_OBJECTS = g10.o build-packet.o compressed.o encode.o encr-data.o \
88 free-packet.o getkey.o keygen.o mainproc.o mdfilter.o overwrite.o \
89 parse-packet.o passphrase.o plaintext.o pubkey-enc.o seckey-cert.o \
90 seskey.o sig-check.o
91 EXTRA_g10_SOURCES =
92 g10_LDADD = $(LDADD)
93 DIST_COMMON = Makefile.am Makefile.in
94
95
96 PACKAGE = @PACKAGE@
97 VERSION = @VERSION@
98
99 DISTFILES = $(DIST_COMMON) $(SOURCES) $(BUILT_SOURCES) $(HEADERS) \
100         $(TEXINFOS) $(INFOS) $(MANS) $(EXTRA_DIST) $(DATA)
101 DEP_DISTFILES = $(DIST_COMMON) $(SOURCES) $(BUILT_SOURCES) $(HEADERS) \
102         $(TEXINFOS) $(INFO_DEPS) $(MANS) $(EXTRA_DIST) $(DATA)
103
104 TAR = tar
105 DEP_FILES = $(srcdir)/.deps/build-packet.P $(srcdir)/.deps/compressed.P \
106 $(srcdir)/.deps/encode.P $(srcdir)/.deps/encr-data.P \
107 $(srcdir)/.deps/free-packet.P $(srcdir)/.deps/g10.P \
108 $(srcdir)/.deps/getkey.P $(srcdir)/.deps/keygen.P \
109 $(srcdir)/.deps/mainproc.P $(srcdir)/.deps/mdfilter.P \
110 $(srcdir)/.deps/overwrite.P $(srcdir)/.deps/parse-packet.P \
111 $(srcdir)/.deps/passphrase.P $(srcdir)/.deps/plaintext.P \
112 $(srcdir)/.deps/pubkey-enc.P $(srcdir)/.deps/seckey-cert.P \
113 $(srcdir)/.deps/seskey.P $(srcdir)/.deps/sig-check.P
114 SOURCES = $(g10_SOURCES)
115 OBJECTS = $(g10_OBJECTS)
116
117 default: all
118
119
120 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in
121         cd $(top_srcdir) && automake $(subdir)/Makefile
122
123 Makefile: $(top_builddir)/config.status Makefile.in
124         cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
125
126 mostlyclean-binPROGRAMS:
127
128 clean-binPROGRAMS:
129         rm -f $(bin_PROGRAMS)
130
131 distclean-binPROGRAMS:
132
133 maintainer-clean-binPROGRAMS:
134
135 install-binPROGRAMS: $(bin_PROGRAMS)
136         $(mkinstalldirs) $(bindir)
137         list="$(bin_PROGRAMS)"; for p in $$list; do \
138           if test -f $$p; then \
139             $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
140           else :; fi; \
141         done
142
143 uninstall-binPROGRAMS:
144         list="$(bin_PROGRAMS)"; for p in $$list; do \
145           rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
146         done
147
148 .c.o:
149         $(COMPILE) $<
150
151 mostlyclean-compile:
152         rm -f *.o core
153
154 clean-compile:
155
156 distclean-compile:
157         rm -f *.tab.c
158
159 maintainer-clean-compile:
160 $(g10_OBJECTS): ../config.h
161
162 g10: $(g10_OBJECTS) $(g10_DEPENDENCIES)
163         $(LINK) $(g10_OBJECTS) $(g10_LDADD) $(LIBS)
164
165 ID: $(HEADERS) $(SOURCES)
166         here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS)
167
168 tags: TAGS
169
170 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES)
171         here=`pwd` && cd $(srcdir) && etags $(ETAGS_ARGS) $(SOURCES) $(HEADERS) -o $$here/TAGS
172
173 mostlyclean-tags:
174
175 clean-tags:
176
177 distclean-tags:
178         rm -f TAGS ID
179
180 maintainer-clean-tags:
181
182 subdir = g10
183 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
184 distdir: $(DEP_DISTFILES)
185         @for file in `cd $(srcdir) && echo $(DISTFILES)`; do \
186           test -f $(distdir)/$$file \
187           || ln $(srcdir)/$$file $(distdir)/$$file 2> /dev/null \
188           || cp -p $(srcdir)/$$file $(distdir)/$$file; \
189         done
190
191 # This fragment is probably only useful for maintainers.  It relies on
192 # GNU make and gcc.  It is only included in the generated Makefile.in
193 # if `automake' is not passed the `--include-deps' flag.
194
195 MKDEP = gcc -MM $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
196
197 -include $(srcdir)/.deps/.P
198 $(srcdir)/.deps/.P: $(BUILT_SOURCES)
199         cd $(srcdir) && test -d .deps || mkdir .deps
200         echo > $@
201
202 -include $(DEP_FILES)
203 $(DEP_FILES): $(srcdir)/.deps/.P
204
205 $(srcdir)/.deps/%.P: $(srcdir)/%.c
206         @echo "mkdeps $< > $@"
207         @re=`echo 's,^$(srcdir)//*,,g;s, $(srcdir)//*, ,g' | sed 's,\.,\\\\.,g'`; \
208           $(MKDEP) $< | sed "$$re" > $@-tmp
209         @if test -n "$o"; then                  \
210           sed 's/\.o:/$$o:/' $@-tmp > $@;       \
211           rm $@-tmp;                            \
212         else                                    \
213           mv $@-tmp $@;                         \
214         fi
215
216 # End of maintainer-only section
217 info:
218
219 dvi:
220
221 check: all
222
223 installcheck:
224
225 install-exec: install-binPROGRAMS
226
227 install-data: 
228
229 install: install-exec install-data all
230         @:
231
232 uninstall: uninstall-binPROGRAMS
233
234 all: $(PROGRAMS) Makefile
235
236 install-strip:
237         $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
238 installdirs:
239         $(mkinstalldirs)  $(bindir)
240
241
242 mostlyclean-generic:
243         test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
244
245 clean-generic:
246         test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
247
248 distclean-generic:
249         rm -f Makefile $(DISTCLEANFILES)
250         rm -f config.cache config.log $(CONFIG_HEADER) stamp-h
251
252 maintainer-clean-generic:
253         test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
254         test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
255 mostlyclean:  mostlyclean-binPROGRAMS mostlyclean-compile \
256                 mostlyclean-tags mostlyclean-generic
257
258 clean:  clean-binPROGRAMS clean-compile clean-tags clean-generic \
259                 mostlyclean 
260
261 distclean:  distclean-binPROGRAMS distclean-compile distclean-tags \
262                 distclean-generic clean 
263         rm -f config.status
264
265 maintainer-clean:  maintainer-clean-binPROGRAMS maintainer-clean-compile \
266                 maintainer-clean-tags maintainer-clean-generic \
267                 distclean 
268         @echo "This command is intended for maintainers to use;"
269         @echo "it deletes files that may require special tools to rebuild."
270
271 .PHONY: default mostlyclean-binPROGRAMS distclean-binPROGRAMS \
272 clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
273 install-binPROGRAMS mostlyclean-compile distclean-compile clean-compile \
274 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
275 clean-tags maintainer-clean-tags distdir info dvi check installcheck \
276 install-exec install-data install uninstall all installdirs \
277 mostlyclean-generic distclean-generic clean-generic \
278 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
279
280
281 $(PROGRAMS): ../cipher/libcipher.a ../mpi/libmpi.a
282 .SUFFIXES:
283 .SUFFIXES: .c .o
284
285 # Tell versions [3.59,3.63) of GNU make to not export all variables.
286 # Otherwise a system limit (for SysV at least) may be exceeded.
287 .NOEXPORT: