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