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