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