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