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